Ivan
Not a member
Ivan's latest activity
Wednesday, January 05 2011
-
Ivan commented at 8:23 PMI'm using Rails 3.0.3 and still having the same problem.
class Project < ActiveRecord::Base
has_many :tasks, :dependent => :destroy, :inverse_of => :project, :a...
Monday, November 08 2010
5923
uniqueness with accepts_nested_attributes_of
was updated
in Ruby on Rails
-
Ivan commented at 11:38 AMSorry, I'd like to say the select 'generated' by Rails to verify if the key record already exists.
In the example, 'room_id' would be 'nil', because it wasn't s...
Friday, November 05 2010
5923
uniqueness with accepts_nested_attributes_of
was created
in Ruby on Rails
-
Ivan created the ticket at 8:36 PMclass Room < ActiveRecord::Base
has_many :objects, :dependent => :destroy, :inverse_of => :room
...accepts_nested_attributes_for :objects, :allow_destroy => true