Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: eruder
Forum: Ruby Jan 1st, 2008
Replies: 4
Views: 6,123
Posted By eruder
Couple of observations:

- Depending on how different "movies" and "documentaries" are, you may want to consider single-table inheritance--i.e., putting both in one table with a "type" column...
Forum: Ruby Jan 1st, 2008
Replies: 5
Views: 3,492
Posted By eruder
pty's improvement is a good one!

The only nit I have with it is that I wouldn't put the banner method in the controller, since it has nothing to do with the "traffic cop" jobs that controllers...
Forum: Ruby Jan 1st, 2008
Replies: 3
Views: 3,139
Posted By eruder
Since you're working with a MySQL database that's already full of data, do they follow Rails conventions? I.e., are the table names plural (e.g., the table corresponding to the Stock model should be...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC