On 11 Jun 2008, at 13:09, tk wrote:
>
> Hi
>
> We have a legacy database that we want to be able to access through
> rails without changing the database. But within rails we would like to
> be able to work with easier attributes, for example:
>
> Database Column Rails
> CUSTOMER_LASTNAME lastname
>
>
> Can we accomplish this by any means?
>
define your own accessors (that call read/write_attribute or use []/[]
Fred> Thanks.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---