class ActiveRecord::Reflection::ThroughReflection
Public Instance Methods
sortable?()
click to toggle source
# File lib/activerecord_sortable/through_reflection.rb, line 10 def sortable? @delegate_reflection.options.fetch(:sortable, false) end
sortable_field()
click to toggle source
# File lib/activerecord_sortable/through_reflection.rb, line 6 def sortable_field @delegate_reflection.options.fetch(:sortable_field, :position).to_sym end