http://dev.rubyonrails.org/changeset/7315 caused some interesting behavior with attributes marked with attr_protected. See http:// pastie.caboo.se/96099, specifically line 19. It looks like attributes are cached and not cleared when being set. I''m still looking into how to fix it, but I would appreciate any pointers (koz) as I try to dig through the define_read_method, which is where I suspect the bug is coming from. Thanks, Brandon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
On Sep 11, 2007, at 11:41 AM, Brandon Keepers wrote:> http://dev.rubyonrails.org/changeset/7315 caused some interesting > behavior with attributes marked with attr_protected. See http:// > pastie.caboo.se/96099, specifically line 19. It looks like > attributes are cached and not cleared when being set. > > I''m still looking into how to fix it, but I would appreciate any > pointers (koz) as I try to dig through the define_read_method, > which is where I suspect the bug is coming from. > > Thanks, > BrandonScratch that. Apparently the flextimes plugin overrides write_attribute, which is what was causing this behavior. Thanks to lifo and Form on #rails-contrib for debunking my claims. Sorry for the noise. Brandon
> Scratch that. Apparently the flextimes plugin overrides > write_attribute, which is what was causing this behavior.Thanks for the reminder there, there''s still an issue left with that changeset. I''ll try to get it done en route to berlin.> Thanks to lifo and Form on #rails-contrib for debunking my claims. > Sorry for the noise. > > Brandon > >-- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---