hi,

 i am using https://github.com/mattmatt/acts_as_solr
it shows the following error
"undefined method 'each' for  "
for this

results = Employee.find_by_solr(@id)
results.each do |emp|
  puts emp.id
end
where plugin does not contains  "each" method in acts_as_solr/libs/
search_results.rb
so for me each is not working with ActsAsSolr::SearchResults
-----------------------------------------------------------------

next i tried with https://github.com/mauricio/acts_as_solr plugin
wich results in following error

"undefined method 'find_by_solr' for "

can any one provide me solution for this

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to