Created
October 27, 2009 16:49
-
-
Save Florent2/219718 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4db593a42a01d59aecf723f07a6df372d6d48135 Mon Sep 17 00:00:00 2001 | |
From: Florent Guilleux <[email protected]> | |
Date: Tue, 27 Oct 2009 11:27:15 -0500 | |
Subject: [PATCH] Fix typo in doc | |
--- | |
lib/paperclip.rb | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/lib/paperclip.rb b/lib/paperclip.rb | |
index 76d9899..05e86c6 100644 | |
--- a/lib/paperclip.rb | |
+++ b/lib/paperclip.rb | |
@@ -174,7 +174,7 @@ module Paperclip | |
# This field is interpolated just as the url is. The default value is | |
# "/:attachment/:style/missing.png" | |
# has_attached_file :avatar, :default_url => "/images/default_:style_avatar.png" | |
- # User.new.avatar_url(:small) # => "/images/default_small_avatar.png" | |
+ # User.new.avatar.url(:small) # => "/images/default_small_avatar.png" | |
# * +styles+: A hash of thumbnail styles and their geometries. You can find more about | |
# geometry strings at the ImageMagick website | |
# (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip | |
-- | |
1.6.0.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment