Ruby on Rails Wednesday, January 16, 2013

On Wed, Jan 16, 2013 at 4:09 PM, Walter Lee Davis <waltd@wdstudio.com> wrote:

> I would like to mark one image as being the "portrait" for this person,

I'd suggest adding that a person has_one portrait, class_name: :Image.
In the UI you can have them select one of their Images (or none).

-Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment