I got association like the following in my rails app.
Class User < ActiveRecord::Base
Class Profile < ActiveRecord::Base
I need to search users based on the age stored in the profile
I tried using the :joins option of find. but it seems it works only on
tables in the same db.
Is there a way i can tell (:joins) to join a table from another db? Or
there some other better way in which this could be achieved?