search for: stop_act

Displaying 2 results from an estimated 2 matches for "stop_act".

Did you mean: stop_all
2007 Sep 08
2
"Common action" for a controller
Sorry if this has been asked before; it seems like a simple problem. I have a controller called ItemController which displays information about specific items to a user on various pages. The routing looks like "items/:item/:action". Is there any way to automatically look up the :item in the items table (it''s just an ID). I tried: before_filter { @current_item =
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
...eneric rescue. * Added SessionRestoreError that is raised when a session being restored holds objects where there is no class available. * Added block as option for inline filters. So what used to be written as: before_filter Proc { |controller| return false if controller.params["stop_action"] } ...can now be as: before_filter { |controller| return false if controller.params["stop_action"] } [Jeremy Kemper] * Made the following methods public (was protected): url_for, controller_class_name, controller_name, action_name This makes it easier to wri...