Forum: Ruby Jan 1st, 2008 |
| Replies: 4 Views: 6,123 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 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 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... |