Consider getting rid of #whatever(store, ...)'s optional store argument
-
Yurii Rashkovskii
- Assigned user changed from Oleg Andreev to Yurii Rashkovskii
-
Yurii Rashkovskii
or even something like this
@another_store.scope { User.find } @another_store.scope do View.create!("hello") { ... } end -
Yurii Rashkovskii
by the way, Document#store implementation might be refactored and moved to StrokeDB.default_store
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.