Forum: Ruby on Rails RE: Changing tables within rails app

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-01-03 20:16
(Received via mailing list)
Steven R. wrote:
> Why not just make "wired" and "wireless" widgets properties of the
> widget if they contain the same info?

They don't contain all the same info. It's similar info, but will
require different and or additional field names and such.

For instance, the wireless_widget table might contain an SSID field,
whereas the wired_widget table does not. This kind of difference doesn't
matter to the reflective new/edit/list views.

I just discovered that changing the table with 'set_table_name' works
how I want. Is this the best way to do it?


Matt C. Wagner
Information Security Analyst

Network Intrusion Detection
Security Operations Center
Corporate Information Security
Wells Fargo Bank
This topic is locked and can not be replied to.