On Oct 18, 5:15 pm, rvruby <[EMAIL PROTECTED]> wrote:
> I am trying to update a leave but the update does not work. Please let
> me know where I am making the mistake.(Looked in to the log, id in the
> update SQL statment shows NULL)
>
> View
>
> <h1>Editing Leaves</h1>
> <% form_for :leaves, @leaves, :url => { :controller =>
> "leaves", :action => "update" } do |f| %>
> <%= f.text_field :id%>
That's really not a good idea. remove that text field.
Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---