Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- The goal of #126 was to lazily require the 'session.rb' file as otherwise, we'd load `Active::Record` base too prematurely during the boot process. This change had the negative effect of breakin apps that were setting configuration on the `Session` **before** the hook was getting triggered, thus ending up with a "uninitialized constant" error. This patches move the `session_class` assignment when loading then `session.rb` file as well as autoloading the `AR::SessionStore::Session` constant so that application referencing it too early will still work.
- Loading branch information