On Tue, May 8, 2012 at 2:10 PM, amvis <vgrkrish...@gmail.com> wrote: > *view* > <%= form_for(@mstype) do |f| %> > <p> <%= f.text_field(:Name,:class => "span1",:placeholder => "x") %> > <%end%> > > > *Got the error like this* > > NoMethodError in Pgmdfntions#pgmdfntion > > Showing *pgm.html.erb* where line *#57* raised: > > undefined method `Name' for #<Pgmdfntion:0xb457ad28> > > But i could do this as same before. but in this case got the error... > > What fields are in your Pgmdfntions model/table ? Rails is searching for "Name" field
JavierQ -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.