Class: ActiveRecord::Relation

Inherits:
Object
  • Object
show all
Defined in:
lib/hobo/extensions/active_record/associations/scope.rb,
lib/hobo/extensions/active_record/relation_with_origin.rb

Overview

DISABLED Getting Rails 3.1 working

Defined Under Namespace

Modules: DeprecatedMethods

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#originObject

Returns the value of attribute origin.



4
5
6
# File 'lib/hobo/extensions/active_record/relation_with_origin.rb', line 4

def origin
  @origin
end

#origin_attributeObject

Returns the value of attribute origin_attribute.



4
5
6
# File 'lib/hobo/extensions/active_record/relation_with_origin.rb', line 4

def origin_attribute
  @origin_attribute
end

Instance Method Details

#member_classObject



6
7
8
# File 'lib/hobo/extensions/active_record/relation_with_origin.rb', line 6

def member_class
  @klass
end