options_for_find uses #returning method removed from rails 3
Reported by barinek | August 17th, 2010 @ 12:14 PM
the adapters.rb options_for_find method uses now removed returning method...
http://github.com/rails/rails/commit/b0b9bf320409b66c6c6b680371aca5...
should use tap or this fix
def options_for_find
options = {}
options[:include] = @include unless @include.blank?
options[:select] = @select unless @select.blank?
options
end
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Awesome Solr interaction for Ruby