I am trying to do this
Version.find(:all, :joins=>"JOIN editions ON versions.edition_id=editions.id JOIN products ON editions.product_id=products.id", :select=>"products.name, versions.name AS what")
but ActiveRecord is not respecting the AS keyword... any ideas?
Edit: Since both fields are called "name" they are colliding, so I only get the last one in the list.