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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/xk4UBnWOx74J.
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.

Reply via email to