This article shows how to design your Rails gem covering aspects of integration with main Rails application.
Deploying Rails app using Docker and Capistrano
Deploying a Rails app using Docker and Capistrano on a remote server
Setup Letsencrypt SSL certificates using certbot
Setup Letsencrypt SSL certificates using certbot.
Vault as a Service
I am a co-founder of Rockos. We have a great team of experienced application developers and Ops engineers.
We have had extensive experience in setting up and maintaining secure and reliable infrastructure on AWS and customer’s data centers.
A lot of our projects needed a solution for a secure storage and management of passwords, tokens and protecting of sensitive data.
Hashicorp Vault is a good choice for small and mid-size organizations.
Managed Hashicorp Vault
Rockos’s SaaS allows installing Vault cluster in minutes. We setup a Hashicorp Vault cluster in the cloud which is fully-managed and supported by our team. It satisfies compliance needs and fulfill the production requirements by Hashicorp (https://learn.hashicorp.com/vault/operations/production-hardening).
It is a production-ready Vault deployment in the cloud including necessary features like
* SSL provisioned
* Auto Unseal
* Backup & Restore
* High Availability
* Monitoring
* Auditing
Customer data is stored encrypted on AWS S3.
Rockos Vault is open for joining for a closed beta
https://rockos.io/managed-vault
GUI for sortable tree for models organized by ancestry gem in Rails
Gem sortable_tree_rails to manage data organized by ancestry – https://github.com/maxivak/sortable_tree_rails.
* Drag&Drop items in a tree structure on your view
* Update data on server after moving an item to a new position
Sending emails with ActionMailer and Sidekiq
Integrating Gem/Engine with main Rails app
Thist post shows common tasks to integrate a gem/engine with the main Rails application.
it shows solutions to such common problems as:
– improving (extending or overriding) Engine functionality in the main app;
– extend controller defined in Engine;
– use app helpers in Engine;
– etc.
Find it on github.
Rails ActionMailer send email to multiple recipients
In order to send email to multiple recipients you need to write some extra code.
Find the solution in this gist.
Setup a new Rails app in Nginx+Passenger
This gist shows how to setup and configure Rails application in Nginx with Passenger.
Solr search in Rails app
This tutorial explains how to use Solr search in a Rails application: