Module: AdaptiveAlias::Hooks::ActiveRecordCore

Defined in:
lib/adaptive_alias/hooks/active_record_core.rb

Instance Method Summary collapse

Instance Method Details

#findObject



4
5
6
# File 'lib/adaptive_alias/hooks/active_record_core.rb', line 4

def find(*)
  AdaptiveAlias.rescue_statement_invalid{ super }
end

#find_byObject



8
9
10
# File 'lib/adaptive_alias/hooks/active_record_core.rb', line 8

def find_by(*)
  AdaptiveAlias.rescue_statement_invalid{ super }
end