Thursday, August 11, 2011

Re: [Rails] Controller integer param converted to string in 3.1rc5

On 11 August 2011 17:39, sreid <sandy@broadgairhill.com> wrote:
> I've just upgraded from Rails 3.0.7 to 3.1rc5, and am getting some
> functional test failures with an existing app.
>
> When I call a controllers create or update action. e.g. :
>
>   post :create, :modelname => update
>
> on return, the only integer param passed in has been changed type from
> e.g. 30 to "30". The other params (strings and a boolean) are ok.

I thought params were always strings. Possibly (probably?) I am wrong.

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate