class ActiveRecord::Base

Public Class Methods

inherited(child) click to toggle source
Calls superclass method
# File lib/rankle.rb, line 63
def self.inherited child
  super
  unless child == ActiveRecord::SchemaMigration || child == RankleIndex
    child.send :after_create, :set_default_position
  end
end