search for: foo_method

Displaying 3 results from an estimated 3 matches for "foo_method".

Did you mean: do_method
2007 Dec 08
3
Multiple Worker Methods on Different Schedules
Quick question: If I want to schedule different worker methods defined in the same worker to trigger at different times, is this possible? Would the following scheduler yaml work? :schedules: :foo_worker: :worker_method: method1 :trigger_args: 0 */10 * * * * * :job_key: some_key_1 :foo_worker: :worker_method: method2 :trigger_args: 0 */15 * * * * * :job_key:
2007 Oct 07
0
Is there a way to use the rescue_action defined in a controller in the controller''s specs?
Heyho, I start to discover RSpec but it seems that just on my second day I ran into some strange trouble with the rescue_action of my controllers. Just like in Rails 2.0 where there is a rescue_from Exception, :with => :foo_method thing to rescue exception thrown in actions in the production environment, I did a little helper that rescues my action exceptions with a defined class. For example if a login fails for some reason I just have to throw a certain error, this will get rescued by a special method which then redirects...
2005 Dec 15
3
save and save! fail but no errors are created
Hi I will provide code if needed but I am wondering if there might be a standard cause for this: a Model I am trying to save seems to fail miserably at either a #save or #save! call. In the latter case, a RecordInvalid is raised, but when I inspect it, the Errors object does not contain any error messages (full or otherwise). I have tried many a way but I can not seem to get any error info. Are