begin rails 4 support changes
Unqualify table name before looking up columns. Was causing column definitions to be constantly called