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:


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.

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.

Deploy a Rails application with Capistrano 3

January 11, 2015 · Posted in Development · Comment 

This Github repository contains an example of deploying Rails application with Capistrano 3 including features:

- copy config files to shared folder

- linked files and dirs

- precompile assets locally

- precompile assets only if files were changed

- restart app in Passenger

- show a maintenance page on site while the site is updating


Find it on Github: https://github.com/maxivak/deploy-rails-capistrano3. Download the files from the repository and use the tasks according to your requirements.


Custom submit button in simple_form and bootstrap 3

December 18, 2014 · Posted in Development · Comment 

simple_form is very powerful gem allowing to customize almost everything while rendering form elements. In this post we will add a new custom component to simple_form for better rendering of submit buttons.

Read more

Importing/Indexing Mysql database in Solr using Data Import Handler

November 10, 2014 · Posted in Development · Comment 

Solr is an open source enterprise search platform from the Apache Lucene project.
Find tutorial how to import data from MySQL database to Solr:


Running Selenium tests with Ruby on Centos

October 19, 2014 · Posted in Development · Comment 

This posts shows how to run Selenium tests on Centos. Tests written on Ruby will use Selenium WebDriver API to run the browser directly. We don’t need to install Selenium Server because selenium tests will be executed locally against Firefox browser on the same server (Centos).

Read more

Run RSpec tests as a Rake task

October 14, 2014 · Posted in Development · Comment 

RSpec is a testing framework for Ruby. This posts show how to create a rake task that executes rspec tests. RSpec tests will be running using command ‘rake spec’.

Read more

Next Page »