Flowdock
method

quote_table_name_for_assignment

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Quoting
quote_table_name_for_assignment(table, attr) public

Override to return the quoted table name for assignment. Defaults to table quoting.

This works for mysql and mysql2 where table.column can be used to resolve ambiguity.

We override this in the sqlite and postgresql adapters to use only the column name (as per syntax requirements).

Show source
Register or log in to add new notes.