Em 12-11-2013 14:18, Jeremy Evans escreveu:
On Tuesday, November 12, 2013 8:07:45 AM UTC-8, Rodrigo Rosenfeld Rosas wrote:

    Both are localhost

Then there is probably something wrong in your local database server. What is the result of:

  puts Time.now;
  puts DB.get(Sequel::CURRENT_TIMESTAMP)

If those aren't roughly the same, you're gonna have a bad time.


14:27:29 rodrigo@rodrigo:~/src-externo/sequel master
$ ruby -I lib/ bin/sequel postgres://localhost/sequel-test
Your database is stored in DB...
2.0.0-p247 :001 > p DB.get(Sequel::CURRENT_TIMESTAMP), Time.now
2013-11-12 14:27:33 -0200
2013-11-12 14:27:33 -0200
 => [2013-11-12 14:27:33 -0200, 2013-11-12 14:27:33 -0200]

--
You received this message because you are subscribed to the Google Groups 
"sequel-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].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to