
Security News
November CVEs Fell 25% YoY, Driven by Slowdowns at Major CNAs
November CVE publications fell 25% YoY even as 2025 totals rose, showing how a few major CNAs can swing “global” counts and skew perceived risk.
acts_as_gravatar
Advanced tools
acts_as_gravatar provide simple access to gravatar from ActiveRecord. From the email columns (can set it optionally) such as devices, acts_as_gravatar generate a URL of gravatar.
Add this line to your application's Gemfile:
gem 'acts_as_gravatar'
And then execute:
$ bundle
Or install it yourself as:
$ gem install acts_as_gravatar
Call acts_as_gravatar in class of ActiveRecord::Base.
class User < ActiveRecord::Base
acts_as_gravatar
end
The next method becomes to be usable.
user = User.find(1); #
# get profile url of gravatar.
user.gravatar_profile # URL of gravatar profile.
# get image url of gravatar.
user.gravatar_image # URL of gravatar image.
acts_as_gravatar read email column.(default)
when call acts_as_gravatar, can set default values. (The option not to appoint at the time of acts_as_gravatar summons becomes the default of gravatar.)
class User < ActiveRecord::Base
acts_as_gravatar({
:column => :email, # email column of Model.
:default_image => nil, # default_image.(URL or gravatar default image param.)
:force_default => false, # force the default image.
:image_type => ActsAsGravatar::Enums::ImageType::PNG, # image_type. (JPG/JPEG/GIF/PNG)
:rating => ActsAsGravatar::Enums::Rating::PG, # rating. (G/PG/R/X)
:secure => false, # secure protocol. (https).
:size => 80, # image size.
})
end
Please See Gravatar, Options of gravatar for more detail.
And can set options, when call gravatar_image or gravatar_profile.
user = User.find(1); #
# get image url of gravatar.
user.gravatar_image :secure => true, :size => 200
# get profile url of gravatar.
user.gravatar_profile :column => :other_column
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)FAQs
Unknown package
We found that acts_as_gravatar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
November CVE publications fell 25% YoY even as 2025 totals rose, showing how a few major CNAs can swing “global” counts and skew perceived risk.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.