Class: ActiveRecord::ReactiveRecordPsuedoRelationArray
- Defined in:
- lib/active_record_base.rb
Overview
allows us to easily handle scopes and finder_methods which return arrays of items (instead of ActiveRecord::Relations - see below)
Instance Attribute Summary collapse
-
#__synchromesh_permission_granted ⇒ Object
Returns the value of attribute __synchromesh_permission_granted.
-
#acting_user ⇒ Object
Returns the value of attribute acting_user.
Instance Method Summary collapse
Instance Attribute Details
#__synchromesh_permission_granted ⇒ Object
Returns the value of attribute __synchromesh_permission_granted.
30 31 32 |
# File 'lib/active_record_base.rb', line 30 def @__synchromesh_permission_granted end |
#acting_user ⇒ Object
Returns the value of attribute acting_user.
31 32 33 |
# File 'lib/active_record_base.rb', line 31 def acting_user @acting_user end |
Instance Method Details
#__secure_collection_check(_acting_user) ⇒ Object
32 33 34 |
# File 'lib/active_record_base.rb', line 32 def __secure_collection_check(_acting_user) self end |