Posts tagged with: "controllers"

Conversations: The Controller Setter Pattern

By Michael Bleigh June 7, 2011 in rails, controllers, railsconf, conversations

Small

One of the first things that anyone has to do in an application is assign instance variables in controllers for use in views, etc. This pattern, while dead simple, has a number of possible implementations that each have their aesthetic benefits and drawbacks. At RailsConf I had the opportunity to hash this out with none other than DHH and David Chelimsky, so I thought it might be a good opportunity to represent the different sides in a post.

Needy Controllers - DRYing Stylesheets, Scripts, and Fetching

By Michael Bleigh January 11, 2008 in rails, announcements, dry, plugins, controllers