Hi,

Hi have a model named Account:

belongs_to :user
belongs_to :plan

And in the user form I have:

<field-list fields="name, email_address, administrator, state, account.plan" param/>

The user edit page shows a select box for the account.plan as supposed. When the form is submitted, the app shows the error:

Account expected, got ActiveSupport::HashWithIndifferentAccess

I'm not sure if I'm doing it correctly. I mean, is hobo supporting this behavior? The HTML generated by the form looks OK.

Thanks,
  TF

--
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.

Reply via email to