Dave S 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.

I don't use routes. I don't see the point in my application. Well 
actually, I'm not that familiar with it, as I still have to understand 
the reason for using it. I can understand it in a very straightforward 
solution, like a GUI to the db, but often it becomes more complex than 
that. But maybe I'm wrong.
-- 
Posted via http://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]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to