ryanza
Not a member
ryanza's latest activity
Wednesday, July 07 2010
4944
accepts_nested_attributes_for and attr_accessor
was updated
in Ruby on Rails
-
-
ryanza commented at 12:37 PMMaybe "accepts_nested_attributes_for :items, :ignore_dirty => true" or something similar?
-
ryanza commented at 12:03 PMI thought it had to do with dirty attributes, so i tried to fake it by writing my own dirty methods for the attr_accessor, and had no luck there either.. Hopefu...
-
ryanza commented at 11:21 AMSure:
def clear_dates_if_available if self.unavailable == false || !self.book_out_expired? self.out_from, self.out_to = nil, nil end end -
ryanza commented at 8:45 AMNeeraj Singh,
Its not firing off any of the hooks in the Item model, where it used to in 2.3.5 (on update_attributes and saves). I do understand that the way it...
Wednesday, June 23 2010
4944
accepts_nested_attributes_for and attr_accessor
was created
in Ruby on Rails
-
ryanza created the ticket at 11:18 AMI have a model that has one attr_accessor, When that gets updated through a nested_attributes form, it does not pick up the change to the attr_accessor, and doe...