hi,


      i am using acts_as_solr in plugin, in my table i got three
columns
emp_id, name, experience.
when i tried to run my application i got following error
"Mysql::Error: Unknown column 'employees.id' in 'where clause': SELECT
`employees`.* FROM `employees` WHERE (employees.id in (NULL))"


in my table i dont have column "id", but acts_as_solr search in terms
of ID, is that any way to over come this error by overriding
id to emp_id to make acts_as_solr to search in terms of emp_id like
"employees.emp_id"


thanks,
-pab

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to