Ok I found the problem, I had an attr_accessor :role_ids in my User model which was throwing things off. Everything worked after I removed it.
On Sun, Jun 6, 2010 at 9:44 AM, Ali Akhtarzada <[email protected]>wrote: > Hi, just like the following: > > <% semantic_form_for @user do |f| %> > <% f.inputs do %> > <%= f.input :email %> > <%= f.input :first_name %> > <%= f.input :last_name %> > <%= f.input :roles %> > <% end %> > <%= f.buttons %> > <% end %> > > > On Sun, Jun 6, 2010 at 5:31 AM, Sijo k g <[email protected]> wrote: > >> Hi >> >> How do u create form here? >> >> Sijo >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<rubyonrails-talk%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

