Skip to content

Instantly share code, notes, and snippets.

@ravicious
Created October 10, 2010 14:27
Show Gist options
  • Select an option

  • Save ravicious/619275 to your computer and use it in GitHub Desktop.

Select an option

Save ravicious/619275 to your computer and use it in GitHub Desktop.
# DataMapper scope
def self.foo
first(:sent => false, :order => [:created_at.desc])
end
/home/rav/.rvm/gems/ruby-1.9.2-rc2/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:145:in `next!': Couldn't parse date: 10.10.2010 14:35:08 (DataObjects::DataError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment