Created
April 12, 2010 14:34
-
-
Save tillcarlos/363619 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: "..." > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
class HelloWorld
def call(env)
[200, {"Content-Type" => "text/plain"}, ["Hello world!"]]
end
end