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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.