config/routes.rb comment

10 views
Skip to first unread message

Mel Riffe

unread,
May 13, 2014, 1:56:15 PM5/13/14
to actives...@googlegroups.com
I'm hoping this is more me unable to find the information in the documentation. :)

I had an issue where:

resources :users, :active_scaffold => true

no longer worked. So I had to change my routes to:

resources :users do
 as_routes
end

...because clicking on Search threw a 500 error.

Yes, this is an upgrade project. However I didn't find any reference to routing in the documentation. I guess the assumption is that someone is going to run the generators and the generators will produce the correct routes.

I did find the answer here, though, so I'm really Thankful someone noted the change in routes configuration.

That's all! :D

Thanks!
Reply all
Reply to author
Forward
0 new messages