Sha256: 8000f98548ec0cf889f255cd3e1e95fcf7a3f0ec1deae7563f7931334cadf40e
Contents?: true
Size: 1.17 KB
Versions: 1
Compression:
Stored size: 1.17 KB
Contents
h1. Avatar h1. → 'Avatar' h2. What support for avatars h2. Installing <pre syntax="ruby">sudo gem install avatar</pre> h2. The basics Set up Avatar::source (by default, a Gravatar with a StaticUrl as the default) h2. Demonstration of usage app/helpers/people_helper.rb: <pre><code class='ruby'> class PeopleHelper include Avatar::View::ActionViewSupport end </code></pre> app/views/people/show.html.erb: <pre><code class='ruby erb'> <%= avatar_tag(@current_user, :size => 40) %> </code></pre> h2. Forum "http://groups.google.com/group/ruby-avatar":http://groups.google.com/group/ruby-avatar h2. How to submit patches Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above. The project is hosted on "GitHub":http://github.com/gcnovus/avatar/tree/master h2. License This code is free to use under the terms of the MIT license. h2. Contact Comments are welcome. Put them on the "forum":http://groups.google.com/group/ruby-avatar
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
avatar-0.0.3 | website/index.txt |