Error in Migration

Amarnath Krishnan
Fri, 17 May 2013 09:42:45 -0000

I am a RoR newbie. I am getting this error when trying to migrate my 2.x
project to 3.x project.

actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:109:in
`normalize_path'': undefined method `to_sym'' for nil:NilClass
(NoMethodError)

In that line i can see the following code
options[$1.to_sym]||=/.+/?

why $1.to_sym ends with NilClass error

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.