Tuesday, June 4, 2013

Exposing your controllers intent in Rails

Every time I see an instance variable assigned some value in a controller action it bothers me. It just violates some part of my soul to see it done so I've been toying with a way to make it more palatable and the intentions more clear. Would love to hear your feedback on this approach.
Check out this gist to get the idea.