method

dup

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ClassMethods
dup() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/inheritance.rb, line 219
      def dup # :nodoc:
        # `initialize_dup` / `initialize_copy` don't work when defined
        # in the `singleton_class`.
        other = super
        other.set_base_class
        other
      end
Register or log in to add new notes.