TODO: Description of this gem goes here.
$ gem install acts_as_avatar
require "acts_as_avatar"
# view
<%= acts_as_avatar_tag(admin_user, class: "rounded-circle") %>
<%= acts_as_avatar_tag(current_admin_user, size: 36, class: "rounded-circle") %>
<%= acts_as_avatar_tag(current_admin_user, name: :avatar_name, class: "rounded-circle") %>
<%= github_avatar_tag complexity: 5, size: 60 %>
<%= github_avatar_tag size: 60, rounded_circle: true %>
# model
acts_as_avatar inline_svg_engine: :initial_avatar
If you want to report a bug, or have ideas, feedback or questions about the gem, let me know via GitHub issues and I will do my best to provide a helpful answer. Happy hacking!
The gem is available as open source under the terms of the MIT License.
Everyone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
Pull requests are welcome!