search for: includes_values

Displaying 3 results from an estimated 3 matches for "includes_values".

2010 Oct 11
0
undefined method `includes_values' for :conditions:Symbol
Rails 3 / Ruby 1.9.2 Over the weekend I saw the "undefined method `includes_values'' for :conditions:Symbol" error for the 1st time while working with AAF. http://j-k.lighthouseapp.com/projects/45560-acts-as-ferret/tickets/176-aaf-051-undefined-method-includes_values-for-conditionssymbol#ticket-176-4 Anyway, i fixed the query and moved on. Today I hit the error a...
2010 Oct 25
1
A few fixes to eager loading issues
...used in construct_relation_for_association_find, since it will try to select from both copies of the table. One solution (the one I implemented in the patch) is to ensure that the JoinDependency only joins each association once. This seems to be in keeping with the intended functionality, based on includes_values being "uniq"ed elsewhere. Naturally, a uniq won''t catch a situation as described above, since includes_values contains a symbol, :comments, and a hash, {:comments => :moderations}. Thanks in advance! -- Ernie Miller http://metautonomo.us http://github.com/ernie http://twitt...
2010 Jul 08
25
Prepared SQL statements
Dear all great developers. I wonder if there is any work being done or thoughts being shared regarding prepared SQL statements. Currently I am in heavy need of tuning SQL INSERTS that insert large (3MB) images into blobs. I am using rails 2.3.5 with postgres adapter and pg driver. Any information would be appreciated. Jarl -- You received this message because you are subscribed to the