Single Table Inheritance and controllers

I’m using Single Table Inheritance in my rails application, and I was
wondering if it’s possible to create controllers and views for the STI
classes. I’ve currently tried this with a simple Item and an ActionItem
class, but Rails complains that it can’t route to the controller for
ActionItem. Is there something special I need to do to set this up?
every STI class need to have a route set up in routes.rb?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs