Module: Ansr::ArelMethods
- Included in:
- Base
- Defined in:
- lib/ansr/relation/arel_methods.rb
Instance Method Summary collapse
-
#arel ⇒ Object
Returns the Arel object associated with the relation.
- #arel_table ⇒ Object
Instance Method Details
#arel ⇒ Object
Returns the Arel object associated with the relation. duplicated to respect access control
5 6 7 |
# File 'lib/ansr/relation/arel_methods.rb', line 5 def arel # :nodoc: @arel ||= build_arel end |
#arel_table ⇒ Object
9 10 11 |
# File 'lib/ansr/relation/arel_methods.rb', line 9 def arel_table model().table end |