Sha256: 420323616b9f914ed6c1b1c86c21b122de5d5796b3cce2b30eb3eb1cae27ccf5
Contents?: true
Size: 410 Bytes
Versions: 6
Compression:
Stored size: 410 Bytes
Contents
module AdaptiveAlias module Hooks module ActiveRecordCore def find(*) AdaptiveAlias.rescue_statement_invalid{ super } end def find_by(*) AdaptiveAlias.rescue_statement_invalid{ super } end end end end # Nested module include is not supported until ruby 3.0 class << ActiveRecord::Base prepend AdaptiveAlias::Hooks::ActiveRecordCore end
Version data entries
6 entries across 6 versions & 1 rubygems