#98 ✓resolved
François Beausoleil

Regexp expressions ignored

Reported by François Beausoleil | August 30th, 2007 @ 08:09 AM

Regular expression options (i for ignore case and so on) are ignored:

Party.select {|p| p.display_name =~ /beausoleil/i}.to_sql

Returns the following:

"SELECT * FROM parties WHERE parties.`display_name` REGEXP 'beausoleili'"

Note the extra 'i' at the end of the name.

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 »

Shared Ticket Bins

Tags

Pages