On 21 June 2012 18:05, Fearless Fool <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

