hey,
I am making an appointments page. It is not associated with any other
model. The model validations, migrations, controllers, views, and form
structure are in place but for some reason i keep getting:
NoMethodError in Appointments#new
Showing /Users/juangomez/Documents/Aptana Studio 3 Workspace/universal/
app/views/appointments/new.html.erb where line #3 raised:
undefined method `generated_methods?' for #<Class:0x000001020a3ce8>
Extracted source (around line #3):
1: <div id="container">
2: <h1>Create An Appointment</h1>
3: <%= form_for @appointment do |f| %>
4: <%= render :partial => "form", :object => f %>
5: <%= f.submit "Create" %>
6: <% end %>
Please help me!!!!!
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment