Module: Shiftable
- Defined in:
- lib/shiftable/single.rb,
lib/shiftable.rb,
lib/shiftable/version.rb,
lib/shiftable/shifting.rb,
lib/shiftable/collection.rb,
lib/shiftable/mod_signature.rb,
lib/shiftable/shifting_record.rb,
lib/shiftable/shifting_relation.rb,
lib/shiftable/shifting_polymorphic_relation.rb
Overview
Usage:
class BlasterRounds < ActiveRecord::Base
belongs_to :space_federation
extend Shiftable::Collection.new(
belongs_to: :space_federation,
has_many: :blaster_rounds,
method_prefix: "banana"
)
end
Defined Under Namespace
Classes: Collection, Error, ModSignature, Shifting, ShiftingPolymorphicRelation, ShiftingRecord, ShiftingRelation, Single
Constant Summary collapse
- VERSION =
"0.7.0"