You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
I became in use to pass HTTP params into DataMapper and it is typecasting data as needed.
Works perfect with Ruby prior to 2.0.0.
On 1.9* {'country_id' => '1'} works as expected.
On 2.0.0 it complains country_id should not be empty,
while {'country_id' => 1} works.
No custom validations used.
Any clue on how to fix this?
Typecasting data by hand is not an option.
The text was updated successfully, but these errors were encountered:
I became in use to pass HTTP params into DataMapper and it is typecasting data as needed.
Works perfect with Ruby prior to 2.0.0.
On 1.9*
{'country_id' => '1'}
works as expected.On 2.0.0 it complains
country_id
should not be empty,while
{'country_id' => 1}
works.No custom validations used.
Any clue on how to fix this?
Typecasting data by hand is not an option.
The text was updated successfully, but these errors were encountered: