Notes posted by gabeodess
RSS feed
1 thank
The :path option
The path option will actually set the path and not the prefix I have found in Rails 3.0.5.
Example
resources :my_reports, :path => 'my-reports'
All actions for this resource will now be at /my-reports.

5 thanks
Disable STI
I had to add “self.inheritance_column” as opposed to simply “inheritance_column” to get this to work.
Code example
class MyModel < ActiveRecord::Base # disable STI self.inheritance_column = :_type_disabled end