method

set_table_name

rails latest stable - Class: ActiveRecord::ModelSchema::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

set_table_name(value = nil, &block)
public

No documentation available.

# File activerecord/lib/active_record/model_schema.rb, line 128
      def set_table_name(value = nil, &block) #:nodoc:
        deprecated_property_setter :table_name, value, block
        @quoted_table_name = nil
        @arel_table        = nil
        @relation          = Relation.new(self, arel_table)
      end