This project is archived and is in readonly mode.
Single table inheritance bug only in production environment
-
Joshua J. Born
I'm not sure why this occurred only when Rails was loaded in its production environment and not the development environment, but this seems to be due to the documented foible of ActiveRecord getting subclasses in STI only if the subclass module has been loaded.
-
josh
- State changed from new to stale
- Tag set to activerecord, bug
Closing this ticket as stale. If this is still an issue for you, feel free to reopen this ticket or create a new one with an updated description. Remember those unit tests too ;)
-
Pete P.
I've encountered this problem as well as detailed on this new ticket: