public
Rubygem
Description: Easily add Gravatars to your Ruby classes.
Clone URL: git://github.com/chrislloyd/gravtastic.git
Search Repo:
Click here to lend your support to: gravtastic and make a donation at www.pledgie.com !
Changed inline code formatting in README
chrislloyd (author)
Wed May 14 20:57:51 -0700 2008
commit  c9656f44c5e3481c376aa2eb0471743c175c50c7
tree    3d36572054e03b612d347f425b495ccbce7722e1
parent  ea87db995e3790015d3bfe65c805d01fd709e7c2
...
8
9
10
11
 
12
13
14
...
20
21
22
23
 
24
25
26
...
8
9
10
 
11
12
13
14
...
20
21
22
 
23
24
25
26
0
@@ -8,7 +8,7 @@
0
 
0
 h2. Example
0
 
0
-Somewhere in your application you need to +require 'gravtastic'+. In Rails 2.1 can forego this and just add a dependency gem dependency for Gravtastic.
0
+Somewhere in your application you need to @require 'gravtastic'@. In Rails 2.1 can forego this and just add a dependency gem dependency for Gravtastic.
0
 
0
   Rails::Initializer.run do |config|
0
     config.gem 'chrislloyd-gravtastic', :lib => 'gravtastic', :source => 'http://gems.github.com/'
0
@@ -20,7 +20,7 @@
0
     has_gravatar
0
   end
0
   
0
-This defaults to looking for the gravatar ID on the +email+ method. So, if your +User+ has an +email+ then it will send that to Gravatar to get their picture. You can change the default gravatar source like this:
0
+This defaults to looking for the gravatar ID on the @email@ method. So, if your @User@ has an @email@ then it will send that to Gravatar to get their picture. You can change the default gravatar source like this:
0
 
0
   has_gravatar :on => :author_email
0
 

Comments

    No one has commented yet.