From having no errors with 3.0.2 I now see lots of these errors when running my tests. undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: 0x000001074f4298> Anyone know what this is? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
anyone? On Nov 16, 11:18 am, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> From having no errors with 3.0.2 I now see lots of these errors when > running my tests. > > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: > 0x000001074f4298> > > Anyone know what this is?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 16 November 2010 19:18, anywho <eydaimon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> From having no errors with 3.0.2 I now see lots of these errors when > running my tests. > > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: > 0x000001074f4298> > > Anyone know what this is?I saw somewhere that 3.0.3 uses a later version of Arel, with some incompatibilities. Are you using a plugin that has to be updated? The call stack when you get the error may tell you which one. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Colin and thanks for your reply. I had originally just done "bundle update rails". When I do that, I get 40 errors when running my tests. I tried "bundle update" to update all my gems incase there were other dependancies. That resulted in 139 failures instead with the visit_CoercibleString error remaining. The call stack is offering no clues. On Nov 18, 8:50 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 16 November 2010 19:18, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > From having no errors with 3.0.2 I now see lots of these errors when > > running my tests. > > > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: > > 0x000001074f4298> > > > Anyone know what this is? > > I saw somewhere that 3.0.3 uses a later version of Arel, with some > incompatibilities. Are you using a plugin that has to be updated? > The call stack when you get the error may tell you which one. > > Colin-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 19 November 2010 17:43, anywho <eydaimon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: Could you not top post please, it is easier to follow the thread if replies are interleaved into previous message as appropriate. Thanks.> Hi Colin and thanks for your reply. > > I had originally just done "bundle update rails". When I do that, I > get 40 errors when running my tests. I tried "bundle update" to update > all my gems incase there were other dependancies. That resulted in 139 > failures instead with the visit_CoercibleString error remaining. > > The call stack is offering no clues.Can you show us it? Colin> > > > On Nov 18, 8:50 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: >> On 16 November 2010 19:18, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> > From having no errors with 3.0.2 I now see lots of these errors when >> > running my tests. >> >> > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: >> > 0x000001074f4298> >> >> > Anyone know what this is? >> >> I saw somewhere that 3.0.3 uses a later version of Arel, with some >> incompatibilities. Are you using a plugin that has to be updated? >> The call stack when you get the error may tell you which one. >> >> Colin > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Nov 19, 12:30 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 19 November 2010 17:43, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Could you not top post please, it is easier to follow the thread if > replies are interleaved into previous message as appropriate. Thanks. > > > Hi Colin and thanks for your reply. > > > I had originally just done "bundle update rails". When I do that, I > > get 40 errors when running my tests. I tried "bundle update" to update > > all my gems incase there were other dependancies. That resulted in 139 > > failures instead with the visit_CoercibleString error remaining. > > > The call stack is offering no clues. > > Can you show us it?40) SIO::Log::Processor response properties it should record a property for a response Failure/Error: line.record undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL:0x00000105deb3a8> # ./lib/sio/log_line.rb:51:in `record'' # ./spec/lib/log_processor/log_processor_spec.rb:507:in `block (4 levels) in <top (required)>'' # ./spec/lib/log_processor/log_processor_spec.rb:505:in `each'' # ./spec/lib/log_processor/log_processor_spec.rb:505:in `block (3 levels) in <top (required)>'' Line 51: response = Response.where(:survey_id => params[''id''], :token => params[''u'']).first Response is an AR model. Is this what you''re looking for?> > Colin > > > > > > > > > > > On Nov 18, 8:50 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > >> On 16 November 2010 19:18, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > >> > From having no errors with 3.0.2 I now see lots of these errors when > >> > running my tests. > > >> > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: > >> > 0x000001074f4298> > > >> > Anyone know what this is? > > >> I saw somewhere that 3.0.3 uses a later version of Arel, with some > >> incompatibilities. Are you using a plugin that has to be updated? > >> The call stack when you get the error may tell you which one. > > >> Colin > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 23 November 2010 15:54, anywho <eydaimon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Nov 19, 12:30 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: >> On 19 November 2010 17:43, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Could you not top post please, it is easier to follow the thread if >> replies are interleaved into previous message as appropriate. Thanks. >> >> > Hi Colin and thanks for your reply. >> >> > I had originally just done "bundle update rails". When I do that, I >> > get 40 errors when running my tests. I tried "bundle update" to update >> > all my gems incase there were other dependancies. That resulted in 139 >> > failures instead with the visit_CoercibleString error remaining. >> >> > The call stack is offering no clues. >> >> Can you show us it? > > > 40) SIO::Log::Processor response properties it should record a > property for a response > Failure/Error: > line.record > undefined method `visit_CoercibleString'' for > #<Arel::Visitors::MySQL:0x00000105deb3a8> > # ./lib/sio/log_line.rb:51:in > `record'' > # ./spec/lib/log_processor/log_processor_spec.rb:507:in `block (4 > levels) in <top (required)>'' > # ./spec/lib/log_processor/log_processor_spec.rb:505:in > `each'' > # ./spec/lib/log_processor/log_processor_spec.rb:505:in `block (3 > levels) in <top (required)>'' > > > Line 51: response = Response.where(:survey_id => params[''id''], :token > => params[''u'']).first > > Response is an AR model. Is this what you''re looking for?I meant the whole stack. Is Response a reserved word I wonder? Does the app work or is it just the tests? I am amazed the google shows no hits for visit_CoercibleString except this thread. It is not something in your code is it? Colin> > > > >> >> Colin >> >> >> >> >> >> >> >> >> >> > On Nov 18, 8:50 am, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: >> >> On 16 November 2010 19:18, anywho <eydai...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> >> > From having no errors with 3.0.2 I now see lots of these errors when >> >> > running my tests. >> >> >> > undefined method `visit_CoercibleString'' for #<Arel::Visitors::MySQL: >> >> > 0x000001074f4298> >> >> >> > Anyone know what this is? >> >> >> I saw somewhere that 3.0.3 uses a later version of Arel, with some >> >> incompatibilities. Are you using a plugin that has to be updated? >> >> The call stack when you get the error may tell you which one. >> >> >> Colin >> >> > -- >> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >> > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. >> > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.