The active model where
method should act as a normal parameterized scope
#116
Labels
where
method should act as a normal parameterized scope
#116
Currently returns nil if used on a AR class, and throws a non-related error if used on a scope.
THIS WAS THE ORIGINAL CONCLUSION BUT ITS INCORRECT SEE DISCUSSION:
where
should be implemented as a scope.We will need to add scope called
__hyperstack_internal_where_scope
On the client side we can add the class level
where
method toActiveRecord::Base
and which simpy calls the `__hyperstack_internal_where_scope.The text was updated successfully, but these errors were encountered: