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.
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:
Generate sitemap.xml for Rails 4 application
This gist shows how to make sitemap.xml for your web site: