#108 ✓resolved
mrcsparker

Ruby 1.9 compat

Reported by mrcsparker | July 28th, 2009 @ 05:13 PM

When I try to run searchlogic under Ruby 1.9 I get:

'wrong argument type Proc (expected Binding) (TypeError)'

The fix for this is to change:

  • eval("options", scopes[key])

to

  • eval("options", scopes[key].binding)

in the named_scopes/conditions.rb file.

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Provides common named scopes and object based searching.

People watching this ticket

Tags

Pages