On 09/05/2009, at 9:58 PM, Alberto Santini wrote:
>
> Hi all!
>
> I have a Place model with a description attribute and a Service model
> with an itinerary attribute. An itinerary is simply a string with
> dash-seprated place descriptions. In my
> services_controller.rb#create i
> have the
Mistery solved: that wasn't an Hash, but an HashWithIndifferentAccess,
which #merge method doesn't accept any block :-)
A .to_hash was sufficient :-)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscri
2 matches
Mail list logo