Friday, June 22, 2012

Re: [Rails] Re: where do I report this DateTime bug?

On 21 June 2012 18:05, Fearless Fool <lists@ruby-forum.com> wrote:
>> Can you post the contents of schema.rb section for the table.
>> Also it would be interesting to put in some inspect debug for expected
>> and found.
>
> Colin:
>
> Done.  See https://gist.github.com/2967023 for code and results.
>
> As for "inspect debug for expected and found", I assume you mean like
> this:
>
>    puts("expected = #{expected.to_formatted_s(:rfc822)}
> (#{expected.inspect})")
>    puts("found =    #{found.to_formatted_s(:rfc822)}
> (#{found.inspect})")

What is the class of found?

Colin

>
> =>
>
> expected = Wed, 14 Sep 0763 00:00:00 +0000 (Wed, 14 Sep 0763 00:00:00
> +0000)
> found =    Sat, 14 Sep 0763 00:00:00 +0000 (Sat, 14 Sep 0763 00:00:00
> UTC +00:00)
>
> HTH.
>
> - ff
>
> --
> 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 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.
>

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate