Moved to Rails 4