This project is archived and is in readonly mode.

#5068 ✓invalid
Neeraj Singh

quote the value in ThroughAssociationScope

Reported by Neeraj Singh | July 8th, 2010 @ 12:57 PM | in 3.x

value is not quoted in the following case and incase table has primary key of type 'string' then sql will fail.

"#{table_name}.#{attr} = #{value}"

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages