Where to put Ruby helper methods for Rails controllers?
I have some Ruby methods certain (or all) controllers need. I tried putting them in /app/helpers/application_helper.rb . I've used that for methods to be used in views. But controllers don't see those methods. Is there another place I should put them or do I need to access those helper methods differently? Using latest stable Rails. You should define the method inside ApplicationController . John Cleary For Rails 4 onwards, concerns are the way to go. There is a decent article here http://richonrails.com/articles/rails-4-code-concerns-in-active-record-models In essence, if you look in your