method

proper_table_name

rails latest stable - Class: ActiveRecord::Migration
proper_table_name(name, options = {})
public

Finds the correct table name given an Active Record object. Uses the Active Record object’s own table_name, or pre/suffix from the options passed in.