I am using the rails find command as below
@project_pages, @projects = paginate :projects, :per_page => 20,
:conditions => "clients.organisation_id = " +
:joins => ‘inner join clients ON clients.id = projects.client_id’
There seems to be a problem with project.id being over written with
Any suggestions to whats going wrong?