Permalink
Browse files

Add default_url option to Quick Start example

It took me a lot of digging to figure out how to add the
`:default_url` option, but it seems a common option that many
people will need to modify. Putting it anywhere in the README
will help those who just cmd-F on the page, like me.
  • Loading branch information...
1 parent dcd2774 commit 6d9e5f89b1a6203006e519f2a6cdc280575e49fd @chadoh committed Feb 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -101,7 +101,7 @@ In your model:
```ruby
class User < ActiveRecord::Base
attr_accessible :avatar
- has_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }
+ has_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :default_url => "/images/:style/missing.png"
end
```

0 comments on commit 6d9e5f8

Please sign in to comment.