Skip to content

Instantly share code, notes, and snippets.

@reinh
Created April 16, 2010 21:52
Show Gist options
  • Save reinh/369018 to your computer and use it in GitHub Desktop.
Save reinh/369018 to your computer and use it in GitHub Desktop.
##
def set_node_reported_at
puts '---'
puts report.time.inspect
node.update_attribute(:reported_at, report.time)
puts node.reported_at.inspect # <- wtf?
puts '---'
end
# ---
# Thu Nov 19 17:08:50 -0800 2009
# Fri, 20 Nov 2009 01:08:50 UTC +00:00 <- wtf?
# ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment