Fantastic. Thank you!

I have another quick question -- if I have a model that belongs_to a User, 
how do I get an instance to put the current user as the User?

So my Bulletin model belongs_to :user. I'd like that field to automatically 
fill with the user_id of the current user, the one creating the Bulletin.

Is this something that Hobo does with it's magic, or is it something I need 
to add to the controller?

Thanks again!

-Lucas

On Thursday, July 18, 2013 3:31:38 PM UTC-7, Lucas Haley wrote:
>
> Hello everyone -- 
>
> I'm working on getting my first Hobo project up and running. I've added an 
> enum_string to an existing model, and although there is a space for it in 
> the index view, there isn't in the edit view. There is no way to set it, 
> either with an existing instance or a new instance. Is there something 
> additional I need to do than add it to the model and run the migration?
>
> Thanks!
>
> -Lucas
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to