Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: Life On The Edge With Merb, DataMapper & RSpec
Homepage: http://blog.new-bamboo.co.uk
Clone URL: git://github.com/deimos1986/book_mdar.git
Search Repo:
Corrected typo
namelessjon (author)
Fri Jul 18 12:37:22 -0700 2008
commit  540e0c1d145fe10423295e49cc80a9fd1b045630
tree    4076f0199c47a5b112dcea2c41762f6106f06375
parent  84fa9dca4f82001078dcb0050876e9ad555fae4c
...
54
55
56
57
 
58
59
60
...
54
55
56
 
57
58
59
60
0
@@ -54,7 +54,7 @@ in your controller, simple response status checks can be useful for ensuring the
0
 overall integrity of your app.
0
 
0
 A more important test would be ensuring that a 404 is returned when the post
0
-cannot be found in the database. When Datamapper cannot find a record is raises
0
+cannot be found in the database. When Datamapper cannot find a record it raises
0
 Datamapper::ObjectNotFoundError. Merb has several useful exception classes which
0
 will set the correct status and then call the relevant action in your Exceptions
0
 controller. Raising NotFound will set the status to 404 and then call the

Comments

    No one has commented yet.