Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
namick committed Feb 12, 2012
1 parent f3675d9 commit fd7f27f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## v0.0.1

* initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ It then augments Active Record's `find` method on models that have have been ini
* This is not security. ObfuscateId was created to lightly mask record id numbers for the casual user. If you need to really secure your database ids (hint, you probably don't), you need to use real encryption like AES.
* Works for up to a Billion database records. ObfuscateId simply maps every integer below one Billion to some other number below one Billion.
* To properly generate obfuscated urls, make sure you trigger the model's `to_param` method by passing in the whole object rather than just the id; do this: `post_path(@post)` not this: `post_path(@post.id)`.
* Rails uses the real id rather than `to_param` in some places. A simple view-source on a form will often show the real id although this can be avoided by taking certain precautions.
* Rails uses the real id rather than `to_param` in some places. A simple view-source on a form will often show the real id. This can be avoided by taking certain precautions.

0 comments on commit fd7f27f

Please sign in to comment.