Ok so i just upgraded to rails 2.2.2 and now i'm getting error
"Attempt to call private method". I found out that this is because my
planet model has attribute named y, which seems is a private attribute
in ActiveRecord::Base. I guess rails didn't check if it overwrites
private methods before and now it does. Problem is that i have so many
calls to this attribute that changing name is not really an option. I
was thinking about introducing public methods for it, but thought it
might break some ActiveRecord internals. Maybe someone knows any other
option?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---