search for: wired_widgets

Displaying 1 result from an estimated 1 matches for "wired_widgets".

2006 Jan 03
3
Changing tables within rails app
...s the same code to manage two classes of widgets; "wired widgets" and "wireless widgets". For the most part, all the code to manage these two classes of widgets will be identical. The only differing part are some of the underlying field names in each respective db table (table: wired_widgets vs. wireless_widgets). In an effort to reduce code repetition and take advantage of db table reflection, I want to share the same code base and just change which table is being used. I envision a select menu in the app to toggle between the ''wired_widgets'' and ''wireless...