Class: OrdDb::Model::Collection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- OrdDb::Model::Collection
- Defined in:
- lib/ordlite/models/forward.rb,
lib/ordlite/models/collection.rb
Instance Method Summary collapse
-
#inscribes ⇒ Object
-> { order(‘pos’) } note: default_scope (order) will break all count queries and more thus - no “magic” - always sort if pos order required!!!.
Instance Method Details
#inscribes ⇒ Object
-> { order(‘pos’) }
note: default_scope (order)
will break all count queries and more
thus - no "magic" - always sort if pos order required!!!
10 |
# File 'lib/ordlite/models/collection.rb', line 10 has_many :inscribes, :through => :items |