Skip to content

Instantly share code, notes, and snippets.

@tillcarlos
Created April 12, 2010 14:34
Show Gist options
  • Save tillcarlos/363619 to your computer and use it in GitHub Desktop.
Save tillcarlos/363619 to your computer and use it in GitHub Desktop.
# run the rake task,
$ rake debug
Connected.
# refresh a page in your browser, your app will break at debugger statements
(rdb:1) p @user
#<User id: 1, name: "David Dollar", email: "[email protected]", created_at: "..." >
@tillcarlos
Copy link
Author

class HelloWorld
def call(env)
[200, {"Content-Type" => "text/plain"}, ["Hello world!"]]
end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment