[Rails] Re: Referencing a table's fields.
Eric Anderson
eric at afaik.us
Tue Dec 21 21:25:16 GMT 2004
Nathan Neff wrote:
> Why don't the enddate & begindate fields show up in my class as instance variables?
Because enddate and begindate are not real variables. They are methods
on the object that are created on the fly by rails. There are no
attributes except the ones that you create (and those are not persisted
to the database).
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://one.textdrive.com/pipermail/rails/attachments/20041221/12933595/signature.bin
More information about the Rails
mailing list