I admit I'm finding has_one to be a pain overall, since I end up having to
check if it exists before pulling fields from it.  Perhaps the simple,
direct solution is just to move all these fields onto the user model, and
add a flag to indicate if the user is an instructor, which guarantees those
fields have been properly populated, and is quite easy to validate in the
model.

Thanks for telling me something that I had considered before, but fought
against for some silly reason, is likely the right answer. :)

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to