#123 new
Jay

Does not work with Ruby 1.9.1

Reported by Jay | March 29th, 2010 @ 01:23 PM

The search shows something like: SELECT birds.* FROM birds INNER JOIN bird_sizes ON bird_sizes.id = birds.bird_size_id INNER JOIN bird_shapes ON bird_shapes.id = birds.bird_shape_id INNER JOIN bird_types ON bird_types.id = birds.bird_type_id INNER JOIN bird_families ON bird_families.id = birds.bird_family_id WHERE ((birds.common_name LIKE '%["winter"]%') OR (birds.latin_name LIKE '%["winter"]%') OR (bird_families.name LIKE '%["winter"]%') OR (bird_types.description LIKE '%["winter"]%') OR (bird_shapes.name LIKE '%["winter"]%') OR (bird_sizes.size LIKE '%["winter"]%')) ORDER BY birds.id ASC LIMIT 0, 25

in ruby 1.9.1 (note the %[")

works perfectly with 1.8.7

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.

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