Flowdock
method

quote_table_name_for_assignment

Importance_1
v5.2.3 - 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 mysql2 where table.column can be used to resolve ambiguity.

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

Show source
Register or log in to add new notes.