Hi, I have an application in rails3 and i have a problem with store a
hash. I create a form with these two field
<input type="text" size="25" name="person[birthplace[it]]"
id="person_birthplace[it]" value="" >
<input type="text" size="25" name="person[birthplace[de]]"
id="person_birthplace[de]" value="" >
The problem is when i call create and make save i have this string in
database for the field birthplace that is wrong
--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n!binary
\"aXQ=\"
Any idea?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6504ee79627b1f073872a63e3924ea91%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment