In routes.rb file, here are the corresponding lines:
Line 1:  ActionController::Routing::Routes.draw do |map|
Line 53: map.with_options(:controller => "item", :conditions =>{:method 
=> :put}) do |m|
Line 58: m.move 
'/item/move/:relation_type/:item_type/:item_id/:source_type/:source_id/:dest_type/:dest_id.:format',
 
:action => 'move'

I don't think there is anything to do with Hash in those code...

Marnen Laibow-Koser wrote in post #976021:
> Jian Jinshu wrote in post #976018:
>> Frederick Cheung wrote in post #976017:
>>> On Jan 19, 2:42pm, Na Li <[email protected]> wrote:
>>>> Hello,
>>>>
>>>> I encouter a problem when i try to do "rake db:migrate":
>>>> rake aborted!
>>>> can't convert Hash into String
>>>>
>>> looks like it's blowing up trying to load your routes.rb file
>>>
>>> Fred
>>
>> Thanks for your reply. Any idea what could be the reason?
>
> Well, what's on those lines in the routes file that it's complaining
> about?  Is there something inappropriate going on with a Hash?
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]

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

Reply via email to