I am very new to Rails and I am more or less only 6 months to 1 year kid in Rails...
I just wondering with your code.. I really dont see what is "semantic_form_for " and f.buttons?? Is it view helper that you have written or any plugin which overrides the default form_for construct?? This would be very helpful to me in writing the more maintainable Rails code... On Jun 6, 2:58 am, Ali Akhtarzada <[email protected]> wrote: > 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 viahttp://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%2Bunsubscrib > >> [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.

