class Whiteprint::Adapters::ActiveRecord::HasAndBelongsToMany
Public Class Methods
applicable?(_)
click to toggle source
# File lib/whiteprint/adapters/active_record/has_and_belongs_to_many.rb, line 4 def self.applicable?(_) false end
Public Instance Methods
changes?()
click to toggle source
# File lib/whiteprint/adapters/active_record/has_and_belongs_to_many.rb, line 13 def changes? !model.table_exists? end
changes_tree()
click to toggle source
Calls superclass method
Whiteprint::Adapters::ActiveRecord#changes_tree
# File lib/whiteprint/adapters/active_record/has_and_belongs_to_many.rb, line 8 def changes_tree return {} if model.table_exists? super end
transformer()
click to toggle source
# File lib/whiteprint/adapters/active_record/has_and_belongs_to_many.rb, line 17 def transformer self.class.parent end