Add support to Rails 4.1
Working with all Rails version