method
proper_table_name
proper_table_name(name)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 811 def proper_table_name(name) # Use the Active Record objects own table_name, or pre/suffix from ActiveRecord::Base if name is a symbol/string if name.respond_to? :table_name name.table_name else "#{ActiveRecord::Base.table_name_prefix}#{name}#{ActiveRecord::Base.table_name_suffix}" end end