Displaying 1 result from an estimated 1 matches for "user_icons".
2006 Jun 28
0
ActiveRecord mapping users to icons
...39;'ve uploaded (tied to their
account).
- for each user, zero or one icon from their set of uploaded icons
designated as their "primary" icon.
End of day I want a ''primary_icon'' attribute in the User class that is
either nil, or references a single icon in the user_icons table.
In the User class I want something logically like:
has_one :primary_icon, :class_name => ''UserIcon''
where this gets its info from a single add''l column in the users table
that links to the appropriate icon record in the user_icons table, but
can''t...