RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

edelpero — 3 posts

http://edelpero.svbtle.com

Lately I’ve been supporting several legacy projects.

As many of you may know, working on legacy projects sucks most of the time, usually because most of the code is ugly and difficult to understand or read.

I decided to make a list of common bad practices, or what I consider bad practices, and how to improve the code or avoid this bad practices.

Continue Reading
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'll be easier to test.
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