Class: ActiveRecord::Relation
- Inherits:
-
Object
- Object
- ActiveRecord::Relation
- 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
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#origin_attribute ⇒ Object
Returns the value of attribute origin_attribute.
Instance Method Summary collapse
Instance Attribute Details
#origin ⇒ Object
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_attribute ⇒ Object
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_class ⇒ Object
6 7 8 |
# File 'lib/hobo/extensions/active_record/relation_with_origin.rb', line 6 def member_class @klass end |