Exception: BigRecord::ReadOnlyAssociation
- Inherits:
-
BigRecordError
- Object
- StandardError
- BigRecordError
- BigRecord::ReadOnlyAssociation
- Defined in:
- lib/big_record/ar_associations.rb
Overview
:nodoc:
Instance Method Summary
-
- (ReadOnlyAssociation) initialize(reflection)
constructor
A new instance of ReadOnlyAssociation.
Constructor Details
- (ReadOnlyAssociation) initialize(reflection)
A new instance of ReadOnlyAssociation
59 60 61 |
# File 'lib/big_record/ar_associations.rb', line 59 def initialize(reflection) super("Can not add to a has_many :through association. Try adding to #{reflection.through_reflection.name.inspect}.") end |