bgentry
Not a member
bgentry's latest activity
Friday, April 01 2011
6660
Allow after_commit :do_something, :on => [:update, :create]
was updated
in Ruby on Rails
-
bgentry commented at 9:04 PMI still thing it's a valid bug, the behavior is certainly not as I'd expect. Callbacks are never supposed to override each other like this. At a glance it didn'...
-
bgentry commented at 8:25 PMAlso, I believe you can work around this exact issue by defining a single callback and only running it if the object is persisted:
after_commit :do_something, ... -
- Tag set to callbacks
I just encountered this same bug today and was fortunate to find this bug report from a day ago. I have the same situation and I'd like to run the same actions ...
Thursday, September 16 2010
5642
Clean up & Optimize session_store config
was created
in Ruby on Rails
-
bgentry created the ticket at 9:33 PMSee this code block
The
Rails::Application::Configuration#session_storemethod has several issues. First of all, when trying to set this up with DataMapper, I ...