multiple_table_inheritance
multiple_table_inheritance copied to clipboard
unable to use default_scope on parent model
Hi
When adding a default scope to the base model, I got:
Failure/Error: Unable to find matching line from backtrace
SystemStackError:
stack level too deep
# /home/..gems/activerecord-3.2.9/lib/active_record/dynamic_finder_match.rb:14
Looks like a legit bug. Can't promise I'll be able to get to it since I've been pretty busy and haven't worked on this gem in a long while, but feel free to submit a fix if you end up looking into it!