Commit 9f0ec6a
committed
Use lazy-load hook:
- When requiring `active_record/session_store/session`, it will load the `ActiveRecord::Base` [class](https://github.com/rails/activerecord-session_store/blob/a170dd4016208b9ce45cb77f2d946d2d7ef8064e/lib/active_record/session_store/session.rb#L7) which triggers all lazy load hooks at the wrong time1 parent b5e7da2 commit 9f0ec6a
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
0 commit comments