Skip to content

Instantly share code, notes, and snippets.

@Florent2
Created October 27, 2009 16:49
Show Gist options
  • Save Florent2/219718 to your computer and use it in GitHub Desktop.
Save Florent2/219718 to your computer and use it in GitHub Desktop.
From 4db593a42a01d59aecf723f07a6df372d6d48135 Mon Sep 17 00:00:00 2001
From: Florent Guilleux <florent2@gmail.com>
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