Update usage of version 4.x in Rails 3.2.x - method friendly in controller