On Nov 19, 12:30 pm, Colin Law <clan...@googlemail.com> wrote:
> On 19 November 2010 17:43, anywho <eydai...@gmail.com> 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...@googlemail.com> wrote:
> >> On 16 November 2010 19:18, anywho <eydai...@gmail.com> 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@googlegroups.com.
> > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> > 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@googlegroups.com.
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.
No comments:
Post a Comment