Ary Borenszweig
Not a member
Ary Borenszweig's latest activity
Monday, April 25 2011
6741
Rails 3: find_or_create_by gives ArgumentError (Unknown keys) with hash param...
was updated
in Ruby on Rails
-
Ary Borenszweig commented at 3:53 PMWhy low priority? The beauty of Rails 3 is to work with associations like this, and I can see many use cases where you would want to find or create by an attrib...
-
Ary Borenszweig created the ticket at 6:08 AMThis is the code that fails, you can put it in a main.rb file and run it:
require 'rubygems' require 'active_record' ActiveRecord::Base.establish_connection(:...
Friday, April 01 2011
6660
Allow after_commit :do_something, :on => [:update, :create]
was updated
in Ruby on Rails
-
Ary Borenszweig commented at 8:29 PMYes, thanks! That worked. So what do we do about this? Close as invalid? Still propose to do it? (I will try to make a patch for this)
Thursday, March 31 2011
6660
Allow after_commit :do_something, :on => [:update, :create]
was created
in Ruby on Rails
-
Ary Borenszweig created the ticket at 6:48 PMIt's very common to want to do the same thing on an update/create callback after commit (example: create/update a related file, but if the file was there then i...