Skip to content
Browse files

update readme. bump version.

  • Loading branch information...
1 parent 9f815cd commit 9864ab3d045920bfffac37cedcb808487b4ac9d3 @ahoward committed Oct 30, 2012
Showing with 8 additions and 4 deletions.
  1. +7 −3 README.md
  2. +1 −1 lib/mongoid-grid_fs.rb
View
10 README.md
@@ -13,11 +13,15 @@ SYNOPSIS
require 'mongoid-grid_fs'
- g = GridFs.put readable
+ grid_fs = Mongoid::GridFs
- GridFS.get id
+ g = grid_fs.put(readable)
- GridFS.delete id
+ g = g.id
+
+ grid_fs.get(id)
+
+ grid_fs.delete(id)
````
View
2 lib/mongoid-grid_fs.rb
@@ -2,7 +2,7 @@
#
module Mongoid
class GridFS
- const_set :Version, '1.3.2'
+ const_set :Version, '1.3.3'
class << GridFS
def version

0 comments on commit 9864ab3

Please sign in to comment.
Something went wrong with that request. Please try again.