> Well yes - you still need to write the accessor methods to store you
> instance variables (attr_accessor is probably enough).
>
> Fred

That makes sense. Thanks.

I had my JavaScript thinking cap on when I was doing this... thinking
to create accessors out of thin air.

I also just found out that the virtual accessors are accessors, not
class variables.
return @updated_at # always null
return updated_at # works
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to