So I'm trying to start up my first rails app in quite a while (since
1.5) and I'm getting the following error:
routing/builder.rb:159:in `build': undefined method `'
for :comments:Symbol (NoMethodError)
Obviously it doesn't like something about my attempts at RESTful
map.resources :start, :only => :index
map.resources :jobs do |job|
map.resources :cities, :only => [:new, :edit]
map.resources :regions, :only => [:new, :edit]
map.resources :countries, :only => [:new, :edit]
map.resources :companies do |company|
map.company :jobs, :only => :show
map.resources :departments, :only => [:new, :edit, :destroy]
I'm not sure what is wrong though. According to the docs I've found
this syntax is correct.