Displaying 2 results from an estimated 2 matches for "steinbrenner".
2006 Jan 12
4
How do you create a tree strucutre with ActiveRecord
...I could put users at any level of the domain, possibly even at
multple levels. If the user has administrative privleges, the user would be
able to edit the user accounts for other users in there domain, but not
users in other domains. So, Derek Jeter would be a user in the Yankees
domain, George Steinbrenner and admin user in the Yankees domain, David
Ortiz a user in the Red Sox domain, and Bud Selig an admin user in the MLB
domain. Since Ortiz and Jeter are just non-admin users, they can''t edit any
other user accounts. Since steinbrenner is ad admin user in the Yankees
domain, he can edit J...
2005 May 13
17
modeling...
I''ve tried tackling this many ways on my own and can''t find a good solution:
Breaking it down to something simplier...
Venue
has one address
Person
has one address
Address
belongs to state
Assuming I don''t want to do tables for venue_addresses and person_addresses.
What is the best way to model this using rails... big thing here is i
want to be able
to reuse a