Don't use before_action to load data in Rails controllers
I wrote a quick blog post explaining how before_action filters may result in hard-to-maintain controllers and how to fix this.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
I wrote a quick blog post explaining how before_action filters may result in hard-to-maintain controllers and how to fix this.
Comments
Site is dead?
@PIKACHUEXE: It is not, works fine for me…
Post a comment