Column renaming / Legacy databases

Gustavo de Sá Carvalho Honorato
Mon, 06 Dec 2010 12:40:54 -0000

Hi everyone,

I''m using Rails with database column and table names different from the
defaults. I''ve used set_table_name and alias_attribute. The problem
with
this approach is because some plugins I''m using have Raw Active Record
SQL
Snippets and the queries cannot find the columns attributes. Other plugins
seems to use Rails introspection methods like columns_hash, etc, and
don''t
work too!

Is there a better way to work with column renaming ?

Thanks,
Gustavo

--
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