Ambiguous table reference
问题 This problem seems fairly simple, but I've never encountered one like this. Here are the settings: Post has_many :reader_links Post has_many :readers, :through => :reader_links I need to find out if there are readers reading a post. @post.reader_links.where('created_at >= ?', 45.minutes.ago).any? Works great. @post.readers.where('created_at >= ?', 45.minutes.ago),any? throws an ambiguous table column error because it's confused whether the created_at column means that of reader object or