Sha256: 22174b2df9eef7630327577f6cc9ca14e5e90ad8bc9a97e56a10930ec0ad4b0f
Contents?: true
Size: 576 Bytes
Versions: 14
Compression:
Stored size: 576 Bytes
Contents
module RedHillConsulting::Core::ActiveRecord module Schema def self.included(base) base.extend(ClassMethods) end module ClassMethods def self.extended(base) class << base attr_accessor :defining alias :defining? :defining alias_method_chain :define, :redhillonrails_core end end def define_with_redhillonrails_core(info={}, &block) self.defining = true define_without_redhillonrails_core(info, &block) ensure self.defining = false end end end end
Version data entries
14 entries across 14 versions & 3 rubygems