* the view you want to edit should be.... views/calendars/
edit.html.erb
On Sep 17, 8:05 am, Dave S <[EMAIL PROTECTED]> wrote:
> Do you have any routes setup? Why are you updating a "calendar" via
> the "meetings" controller? This update method should be done via a
> "calendars" controller, with the following;
>
> routes.rb
>
> map.resources :calendars
>
> views/calendars/update
>
> <% form_for(@calendar) do |f| %>
> <%= f.label :your_field_name %>
> <%= f.text_field :your_field_name %>
> <% end %>
>
> This will map everything for you properly.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---