Try: belongs_to :user, :null => false
Note that it is ":user", not ":user_id". Henry Ivan wrote:
Hi, I'm a control freak, so is that possible? For example: belongs_to :user_id How to make hobo generate: t.column :user_id, :null => false I'm guessing that's not possible, but maybe in the future? Thanks!
-- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
