Method: ActsAsTable::Configuration#foreign_keys_table
- Defined in:
- lib/acts_as_table.rb
#foreign_keys_table ⇒ Symbol
Returns the table name for the ForeignKey class (default: :foreign_key).
196 197 198 |
# File 'lib/acts_as_table.rb', line 196 %w(BelongsTo ColumnModel ForeignKey ForeignKeyMap HasMany HasManyTarget Lense PrimaryKey Record RecordError RecordModel RowModel Table Value).each do |class_name| attr_accessor :"#{class_name.pluralize.underscore}_table" end |