Permalink
Browse files

Updated readme

  • Loading branch information...
1 parent 1646424 commit e503a3aac5a674c102f586cf6e2746e7e058dc60 @jseifer committed Mar 16, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 README
View
@@ -10,4 +10,7 @@ def self.find_by_param(*args)
find_by_slug(*args)
end
+You can also pass :raise_on_not_found => true to have it raise ActiveRecord::RecordNotFound
+if the result set is empty.
+
Like I said, it's silly, but I find myself using this pattern a lot.

0 comments on commit e503a3a

Please sign in to comment.