Subba
Not a member
Subba's latest activity
Friday, July 09 2010
5053
child/grandchild associations reload from db after nested attributes assignment
was updated
in Ruby on Rails
-
Subba commented at 3:32 AMattached is code fix.
This is what is currently happening.
- a new @ship record is created.
- @ship.parts.create(:name => 'part_name') creates a new part in the da...
Wednesday, July 07 2010
5053
child/grandchild associations reload from db upon validation error for nested...
was updated
in Ruby on Rails
-
Subba commented at 2:00 PMit is nothing to do with validation failure.
it is due optimization present in nested_attributes.
if you look into nested attributes line 358 (nested_attributes...
Thursday, June 10 2010
3052
assign_nested_attributes_for_collection_association ought to assign object's ...
was updated
in Ruby on Rails
-
Subba commented at 11:54 AMit will fix your problem. nested attributes hash if contains id it believes existing record.
Wednesday, June 09 2010
3052
assign_nested_attributes_for_collection_association ought to assign object's ...
was updated
in Ruby on Rails
-
Subba commented at 9:51 PMHi George
is below code explains your problemclass Ship < ActiveRecord::Base has_one :pirate, :inverse_of => :ship accepts_nested_attributes_for :pirate, ...
Thursday, February 04 2010
3830
Removing , from WrappedDatabaseException constructor method
was updated
in Ruby on Rails
-
Subba commented at 12:54 AMwhat does assigned user cleared means. is it accepted or rejected. do i need to do anything
Wednesday, February 03 2010
Monday, February 01 2010
3830
Removing , from WrappedDatabaseException constructor method
was updated
in Ruby on Rails
-
-
-
Subba created the ticket at 4:58 AMWhen i am looking through the rails activerecord base code i observerved ,= statement as shown below. at line 85 of activerecord/lib/active_record/base.rb
class...