Integrating Gem/Engine with main Rails app

July 20, 2015 · Posted in Development · Comment 

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

July 19, 2015 · Posted in Development · Comment 

In order to send email to multiple recipients you need to write some extra code.

Find the solution in this gist.

Read more

Setup a new Rails app in Nginx+Passenger

July 16, 2015 · Posted in Development · Comment 

This gist shows how to setup and configure Rails application in Nginx with Passenger.

 

Solr search in Rails app

July 6, 2015 · Posted in Development · Comment 

This tutorial explains how to use Solr search in a Rails application:

https://gist.github.com/maxivak/e1211b67d33add72a4c4

Generate sitemap.xml for Rails 4 application

June 1, 2015 · Posted in Development · Comment 

This gist shows how to make sitemap.xml for your web site:

https://gist.github.com/maxivak/5f24052e49f0974dac9d

God + Resque for multiple applications on Rails

May 16, 2015 · Posted in Development · Comment 

This gist shows how to setup God with Resque for Rails application:

https://gist.github.com/maxivak/05847dc7f558d5ef282e

My gems for Ruby on Rails

April 25, 2015 · Posted in Development · Comment 

List of my gems.

All gems can be found on https://github.com/maxivak?tab=repositories

Read more

Callback request with Bootstrap 3 for Rails 4 application

April 3, 2015 · Posted in Development · Comment 

I created a gem for showing a callback request form in modal.

Find it on github: https://github.com/maxivak/callback_request_bootstrap.

Read more

TinyMCE 4 text editor + elFinder file manager in Rails 4 app

February 21, 2015 · Posted in Development · Comment 

This post shows how to use WYSIWYG text editor TinyMCE 4.1 in a Rails 4 application:

https://gist.github.com/maxivak/8e64ed8c0d86b0d994e1.

 

TinyMCE WYSIWYG text editor comes with a MoxieManager file managerĀ  which is not free.

File manager is needed to insert an image by selecting from images on server or uploading a new image to server.

elFinder is an open-source file manager. In order to use file manager with a Rails application, we need a backend (connector) – phallstrom/el_finder gem.

 

Read all details onĀ  github:

Install TinyMCE editor 4 with Elfinder file manager in Rails 4 app.

 

 

LiveReload for Rails app on Windows

January 24, 2015 · Posted in Development · Comment 

LiveReload allows you to reload your application in browser automatically after code files are changed.

Using LiveReload with your Rails application is very easy.

Follow these easy steps.

Next Page »