There's also no test case (as far as I can find 
<https://github.com/rails/rails/blob/3e36db4406beea32772b1db1e9a16cc1e8aea14c/activerecord/test/cases/finder_test.rb#L248-L265>)
 
that would cover passing the binds args to #find_by_sql

Anyone know what it's supposed to be used for?



On Thursday, 25 June 2015 18:48:10 UTC+3, T.J. Schuck wrote:
>
> The `bind` argument was added as `bind_values` all the way back in 2010, 
> with no change to the documentation: 
> https://github.com/rails/rails/commit/cc468d3ec81d6f1298fca91c0549584b36dafcc6
>
> So the docs are probably just wrong — I’m sure a documentation PR would be 
> quickly merged.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to