RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

ActionParameter - Single Responsability Principle for Rails Controller's Parameters.

ActionParameter helps you move all your parameter's logic from controllers into it's own class. This way you'll keep your controllers dry and they would be easier to test. Works with Rails 3 onwards and plays nice with StrongParameters. Link: https://github.com/edelpero/action_parameter

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!