dbloete

dbloete

Login dbloete

Website http://dennisbloete.de/

13 votes

9670 views

Substituting before_filter :load_object

Instead of loading an object with a before_filter you can use a more intelligent helper_method to get the main object for the controller context.

Comments

by dbloete
dbloete