Skip to content

Commit

Permalink
Merge pull request #569 from rubemz/master
Browse files Browse the repository at this point in the history
Fixing the README to show properly how to get an identifier for an uploaded file
  • Loading branch information
bensie committed Dec 19, 2011
2 parents a551b2d + 72e34fa commit 2d04fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down

0 comments on commit 2d04fa3

Please sign in to comment.