Class: ActiveRecord::ReactiveRecordPsuedoRelationArray

Inherits:
Array
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#__synchromesh_permission_grantedObject

Returns the value of attribute __synchromesh_permission_granted.



30
31
32
# File 'lib/active_record_base.rb', line 30

def __synchromesh_permission_granted
  @__synchromesh_permission_granted
end

#acting_userObject

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