public
Description: Tutorial + Cookbook
Homepage: http://sinatra-book.gittr.com
Clone URL: git://github.com/cschneid/sinatra-book.git
Fixes some errors that prevented the book from getting built, and fixes a 
list so it actually displays as a list.
cypher (author)
Tue Jul 08 05:51:58 -0700 2008
commit  3c344166ee6eb617a4151c7afb0d39eaf6b88b08
tree    e84bf18af07aa1754b320d9aa9875c9e4e9bfc99
parent  aa3437ed1033ce5d38d149e853f1b9b1bfb994ee
...
7
8
9
10
11
12
 
 
 
13
14
15
...
39
40
41
42
 
43
44
45
...
7
8
9
 
 
 
10
11
12
13
14
15
...
39
40
41
 
42
43
44
45
0
@@ -7,9 +7,9 @@ Remember: These are run inside the Sinatra::EventContext which means you get all
0
 
0
 Whenever NotFound is raised this will be called
0
 
0
- not_found do
0
- 'This is nowhere to be found'
0
- end
0
+ not_found do
0
+ 'This is nowhere to be found'
0
+ end
0
 
0
 error
0
 -----
0
@@ -39,7 +39,7 @@ you gets this:
0
 
0
 Additional Information
0
 ----------------------
0
-Because Sinatra give you a default not_found and error do :production that are secure. If you want to customize only for :production but want to keep the friendly helper screens for :development then do this:
0
+Because Sinatra give you a default not\_found and error do :production that are secure. If you want to customize only for :production but want to keep the friendly helper screens for :development then do this:
0
 
0
   configure :production do
0
 
...
34
35
36
37
38
39
40
41
42
 
 
 
 
 
 
43
44
45
...
34
35
36
 
 
 
 
 
 
37
38
39
40
41
42
43
44
45
0
@@ -34,12 +34,12 @@ Looking to live life (or Sinatra I should say) on the edge, huh? Well, it's rat
0
 The latest greatest Sinatra is on Github; so using the power of git and the power of
0
 our minds--we can do the following
0
 
0
- 1. cd where/you/keep/your/projects
0
- 2. git clone git://github.com/bmizerany/sinatra.git
0
- 3. cd sinatra
0
- 4. git submodule init && git submodule update
0
- 5. cd your_project
0
- 6. ln -s ../sinatra
0
+1. cd where/you/keep/your/projects
0
+2. git clone git://github.com/bmizerany/sinatra.git
0
+3. cd sinatra
0
+4. git submodule init && git submodule update
0
+5. cd your\_project
0
+6. ln -s ../sinatra
0
 
0
 To use this unholy power, simply add this line to your sinatra.rb file
0
 

Comments

    No one has commented yet.