rsim/oracle-enhanced — Issue #135: has_many finder_sql - no string interpolations
Author: tamersalama
Created: 2011-12-08 20:39:34+00:00
State: open

```ruby
class Project < ActiveRecord::Base
...
has_many :x_tasks, :class_name => "Task",
:finder_sql => 'select * from tasks where project_id = #{id}' #Single Quotes
...
end
```

No interpolation happens, the query is fired as is (with the #{id}). Same happens when using an array to substitute values