I have 2 tables such as:
create_table "professionals" do |t|
create_table "users" do |t|
...and I would like to edit the auto_complete_for line to include the
professionals table, in order to only find nicename of professionals
class ProfessionalsController < ApplicationController
auto_complete_for :user, :nicename, :limit => 15, :order => 'nicename
Is that possible to joint the professionals table by using :conditions
for example ?
Thanks for any help.