Registry / utility / paperclip-meta

paperclip-meta

JSON →
library3.1.0rbrubygemsunverified

Add width, height and size methods to paperclip images.

gem install paperclip-meta
INSTALL
IMPORT
SIG · PAPERCLIP-META
P
paperclip-meta
utilityrubyv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PaperclipMeta
require 'paperclip-meta'

Include PaperclipMeta to get width, height, and size methods on attachments.

require 'paperclip-meta' class User < ActiveRecord::Base has_attached_file :avatar include PaperclipMeta end user = User.first puts user.avatar_width
Debug
Known issues
breakingPaperclip is no longer maintained; this gem may have compatibility issues with newer Rails versions.
fix
Consider migrating to ActiveStorage or another attachment library.
affects: >= 3.0.0
Upgrade
Version history
3.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
paperclip-meta — gem install paperclip-meta · libregistry