Change pluck('table.column') back to pluck(:column)
For Rails 3.2.8 compatibility, we've changed a few instance of
pluck(:column) to specify the table name to remove ambiguity (which 3.2.13 and higher can cope with). These can be reverted on Rails 4 or similar.
Updated by Petr Chalupa almost 10 years ago
It should probably be reverted to
pluck(:column), see https://github.com/rails/rails/blob/bf794bb36f3bd06e2e863cd6c6dfb6ceae116af2/activerecord/lib/active_record/relation/calculations.rb#L180-L184
Updated by Dominic Cleal almost 10 years ago
- Subject changed from Change pluck('table.column') back to pluck('column') to Change pluck('table.column') back to pluck(:column')
- Description updated (diff)
Oops, thanks Petr. The string was laziness, I hadn't realised it was different!