# Problem with forms in Rails 2

**URL:** <https://www.ruby-forum.com/t/problem-with-forms-in-rails-2/147051>\
**Category:** Rails\
**Created:** [August 28, 2008, 12:31am UTC](https://www.ruby-forum.com/t/problem-with-forms-in-rails-2/147051 "2008-08-28T00:31:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7993a0/32.png) [@markh](https://www.ruby-forum.com/u/markh)\
**Post date:** [August 28, 2008, 12:31am UTC](https://www.ruby-forum.com/t/problem-with-forms-in-rails-2/147051/1 "2008-08-28T00:31:18Z")

</div>

I built an app 2 years ago with version 1. I’m now using version 2.0.2  
and I’ve noticed that forms have changed. I’ve a CRUD controller and my  
create and update methods use params[:id] but the id is not in the  
form’s post data anymore. It used to put the id in the action url but  
now it doesn’t. My form template likes like this:

\<% form\_for(:point, :url=\>{:action =\> ‘update’}) do |point| %\>  
…  
\<% end %\>

and my controller method:

def update  
@point = Point.find(params[:id])  
saved=@point.update\_attributes(params[:point])  
…  
end

Any ideas?
