Sha256: 206feb8e034c4518b035e40e0bc711f0757afdf5d69047197c6ee3267b941032

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require "paperclip/globalize3/version"
require "paperclip/globalize3/attachment"

require "globalize"
require "paperclip"

Paperclip.interpolates(:locale) { |_, _| Globalize.locale.to_s }

unless Paperclip::Attachment.instance_methods.include?(:only_process)
  Paperclip::Attachment.send(:include, Paperclip::Globalize3::Attachment::Compatibility::Paperclip33)
end

Paperclip::Attachment.send(:include, Paperclip::Globalize3::Attachment)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paperclip-globalize3-1.0.0 lib/paperclip-globalize3.rb