Sha256: 9fd7f309f44f03ba951afeb452a718b504f03cbfb99934d1c4fa035f99563d9a
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
ActiveHashRelation.configure do |config| #override default scope when accessing associations config.use_unscoped = true #set true to be able to filter scopes (with params) #please note that unfortunately (:/) rails does not provide any way #to iterate through scopes so it uses a monkey patch #You need to run `initialize!` to actually include the required files config.filter_active_record_scopes = false end #requires monkeyparched scopes, optional if you don't enable them ActiveHashRelation.initialize!
Version data entries
3 entries across 3 versions & 1 rubygems