Commit 30080c4a by Jon Yurek

Merge pull request #1169 from chadoh/patch-1

Add default_url option to Quick Start example
parents 9a9c9ab7 6d9e5f89
...@@ -101,7 +101,7 @@ In your model: ...@@ -101,7 +101,7 @@ In your model:
```ruby ```ruby
class User < ActiveRecord::Base class User < ActiveRecord::Base
attr_accessible :avatar 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 end
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment