Is there anything like sanitize for controllers?
via: http://www.adaruby.com/2009/12/16/how-to-use-actionview-helpers-in-your-rails-controller/
I think the Helper class should be:
class Helper
include Singleton
include ActionView::Helpers::TextHelper
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With