Skip to content

Instantly share code, notes, and snippets.

@voxxit
Created September 25, 2010 16:48
Show Gist options
  • Save voxxit/597043 to your computer and use it in GitHub Desktop.
Save voxxit/597043 to your computer and use it in GitHub Desktop.
ruby-1.9.2-p0 > Breakpoint.where(:latitude => 29.07, :longitude => -95.13)
=> []
ruby-1.9.2-p0 > Breakpoint.find(10)
=> #<Breakpoint id: 10, name: "San Luis Pass", latitude: 29.07, longitude: -95.13, sort_order: 10>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment