Permalink
Browse files

Merge pull request #569 from rubemz/master

Fixing the README to show properly how to get an identifier for an uploaded file
  • Loading branch information...
2 parents a551b2d + 72e34fa commit 2d04fa3d41d27b792d2606cf907ead1ef209ab7b @bensie bensie committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -101,7 +101,7 @@ u.avatar = File.open('somewhere')
u.save!
u.avatar.url # => '/url/to/file.png'
u.avatar.current_path # => 'path/to/file.png'
-u.avatar_identifier # => 'file.png'
+u.avatar.identifier # => 'file.png'
```
### DataMapper, Mongoid, Sequel

0 comments on commit 2d04fa3

Please sign in to comment.