Avatar
Get Version
0.0.5→ ‘Avatar’
What support for avatars
Installing
sudo gem install avatar
The basics Set up Avatar::source (by default, a Gravatar) Use Avatar::source.avatar_url_for(person, options) or a view helper
Demonstration of usage
app/helpers/people_helper.rb:
class PeopleHelper include Avatar::View::ActionViewSupport end
app/views/people/show.html.erb:
<%= avatar_tag(@current_user, :size => 40) %>
Forum
http://groups.google.com/group/ruby-avatar
How to submit patches
Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.
The project is hosted on GitHub
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Put them on the forum
FIXME full name, 28th March 2008
Theme extended from Paul Battley