Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.0K
Ranked #4K
~398 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for stupidenator

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 named "stocks") and does each table with a Rails model class have an "id" field that's its …

Member Avatar for stupidenator
0
135
Member Avatar for tefflox

pty's improvement is a good one! The only nit I have with it is that I wouldn't put the [ICODE]banner[/ICODE] method in the controller, since it has nothing to do with the "traffic cop" jobs that controllers normally do. I would put it in a helper file, either this controller's …

Member Avatar for pty
0
129
Member Avatar for echobase

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 distinguishing the two and perhaps some columns that only apply to one or the other type of "film". - [ICODE]has_and_belongs_to_many[/ICODE] is one …

Member Avatar for eruder
0
134

The End.