search for: cataching

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

Did you mean: ataching
2008 Jun 13
3
Alternative to storing ActiveRecord object in session
I''m writing a wizard-like module in my application where, in a series of steps, the user builds upon an ActiveRecord object, and in the end, saves the AR object into the database. The ActiveRecord object is fairly complex, with a has_many association that could potentially get large, so I don''t want to store it directly in the session. In fact, having done so already caused a
2006 Jun 15
0
Catching Errnos in Controller
I want to write a code in the controller that will catch the Errnos. For some reason I''m not able to do that. I''m thinking Rails is cataching them before it even gets to the controller and throws out the error page. For example, if mysql server isn''t running I want to catch that err and show something else besides the standard error page. Is there a way? Thanks. -- Posted via http://www.ruby-forum.com/.