On Aug 16, 2014, at 9:42 AM, Ronald Fischer wrote: > Walter Davis wrote in post #1155317: >> But adding the two together must (I am >> guessing here) cause them to both be evaluated as arrays before the >> addition can succeed. > > I don't think this is the case. As I said, I also logged the object > AFTER adding them together, and it still is a > Dict::ActiveRecord_Relation. The conversion into an Array must come > after that, and this means it must happen inside paginate(). >
Is it possible that you are getting this: [ ActiveRecord_Relation, ActiveRecord_AssociationRelation ] (an array of the outermost objects) rather than this: [ #Record 1, #Record 2, ... ] when it gets to pagination? Walter > Ronald > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/88b28ae3f6e5c76efda84466ad54dd37%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2CE83A07-261D-4351-8B09-436C4EAB28B4%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.

