On Mar 26, 2006, at 11:23 AM, Carl Brown wrote:

> The run logs all look good and the data seems to be pre-set but the  
> SQL generated has none of the changed data...
>
> This 'doesn't work:
>    id = session[:customer_id]
>    @customer = Customer.find( id  )
>    @customer.updates_attributes(params[:customer])
>
>
> And, this 'does' work:
>    id = session[:customer_id]
>    @customer = Customer.find( id  )
>    p = params[:customer]
>    @customer.first_name = p[:first_name]
>    @customer.last_name = p[:last_name]
>    @customer.save
>
>
> Any ideas?

Ask on the Rails mailing list.

http://lists.rubyonrails.org/mailman/listinfo/rails

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com