Skip to content

Commit

Permalink
Add version_at sample in README
Browse files Browse the repository at this point in the history
  • Loading branch information
malachheb committed May 26, 2014
1 parent d7f3b17 commit 40b94b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -140,6 +140,9 @@ post.destroy
# undelete post
post.undo! user

# post version at
post.version_at(yyyy, mm, dd, hh, min, sec)

# disable tracking for comments within a block
Comment.disable_tracking do
comment.update_attributes(:title => "Test 3")
Expand Down

0 comments on commit 40b94b1

Please sign in to comment.