Module: AdaptiveAlias::Hooks::Relation
- Included in:
- ActiveRecord::Relation
- Defined in:
- lib/adaptive_alias/hooks/relation.rb
Instance Method Summary collapse
Instance Method Details
#exec_queries ⇒ Object
20 21 22 |
# File 'lib/adaptive_alias/hooks/relation.rb', line 20 def exec_queries(*) AdaptiveAlias.rescue_statement_invalid(relation: self){ super } end |
#exists? ⇒ Boolean
12 13 14 |
# File 'lib/adaptive_alias/hooks/relation.rb', line 12 def exists?(*) AdaptiveAlias.rescue_statement_invalid(relation: self){ super } end |
#pluck ⇒ Object
4 5 6 |
# File 'lib/adaptive_alias/hooks/relation.rb', line 4 def pluck(*) AdaptiveAlias.rescue_statement_invalid(relation: self){ super } end |
#select_all ⇒ Object
16 17 18 |
# File 'lib/adaptive_alias/hooks/relation.rb', line 16 def select_all(*) AdaptiveAlias.rescue_statement_invalid(relation: self){ super } end |
#update_all ⇒ Object
8 9 10 |
# File 'lib/adaptive_alias/hooks/relation.rb', line 8 def update_all(*) AdaptiveAlias.rescue_statement_invalid(relation: self){ super } end |