Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [a33315698fa80472036a78cad05dd70f4601cea2] by Christian Seiler

Revision a33315698fa80472036a78cad05dd70f4601cea2, committed by Christian Seiler · March 4th, 2016 @ 05:33 AM

Move creation of scopes to persistence adapaters
- extend the classes with create_scope method - avoid expensive "klass.ancestors.map" checks - ORM-specific code is in one place https://github.com/aasm/aasm/commit/a33315698fa80472036a78cad05dd70...

4 changed files

  • M lib/aasm/persistence/active_record_persistence.rb
  • M lib/aasm/persistence/base.rb
  • M lib/aasm/persistence/mongo_mapper_persistence.rb
  • M lib/aasm/persistence/mongoid_persistence.rb