mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
d6f992b4f5
Currently, if aasm is called on an abstract class, the scopes are not properly defined because it infers the table_name at time of creation. This change pushes the inference of table_name to when the scope is called which enables scopes to be dynamically defined in descendant models. |
||
---|---|---|
.. | ||
active_record_persistence_multiple_spec.rb | ||
active_record_persistence_spec.rb | ||
dynamoid_persistence_multiple_spec.rb | ||
dynamoid_persistence_spec.rb | ||
mongoid_persistence_multiple_spec.rb | ||
mongoid_persistence_spec.rb | ||
no_brainer_persistence_multiple_spec.rb | ||
no_brainer_persistence_spec.rb | ||
redis_persistence_multiple_spec.rb | ||
redis_persistence_spec.rb | ||
sequel_persistence_multiple_spec.rb | ||
sequel_persistence_spec.rb |