method

execute_scope?

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ClassMethods
execute_scope?(all_queries, default_scope_obj) private

If all_queries is nil, only execute on select and insert queries.

If all_queries is true, check if the default_scope object has all_queries set, then execute on all queries; select, insert, update and delete.

Show source
Register or log in to add new notes.