app/models/concerns/fae/base_model_concern.rb in fae-rails-1.3.1 vs app/models/concerns/fae/base_model_concern.rb in fae-rails-1.4.0
- old
+ new
@@ -5,12 +5,17 @@
attr_accessor :filter
included do
include Fae::Trackable if Fae.track_changes
+ include Fae::Sortable
end
def fae_nested_parent
+ # override this method in your model
+ end
+
+ def fae_tracker_parent
# override this method in your model
end
def fae_nested_foreign_key
return if fae_nested_parent.blank?