Sha256: 3be4582f5d919ac509bd88a3d1f6eacf50f799163fa9ada1cb7e7bc79133b639

Contents?: true

Size: 212 Bytes

Versions: 22

Compression:

Stored size: 212 Bytes

Contents

# Create new Paperclip::Interpolations method for subtype class
module Paperclip::Interpolations #:nodoc:
  def subtype_class attachment, style_name
    attachment.instance.subject_type.to_s.underscore
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
social_stream-0.4.1 lib/paperclip/social_stream.rb
social_stream-0.4.0 lib/paperclip/social_stream.rb
social_stream-0.3.6 lib/paperclip/social_stream.rb
social_stream-0.3.5 lib/paperclip/social_stream.rb
social_stream-0.3.4 lib/paperclip/social_stream.rb
social_stream-0.3.3 lib/paperclip/social_stream.rb
social_stream-0.3.2 lib/paperclip/social_stream.rb
social_stream-0.3.1 lib/paperclip/social_stream.rb
social_stream-0.3.0 lib/paperclip/social_stream.rb
social_stream-0.2.3 lib/paperclip/social_stream.rb
social_stream-0.2.2 lib/paperclip/social_stream.rb
social_stream-0.2.1 lib/paperclip/social_stream.rb
social_stream-0.2.0 lib/paperclip/social_stream.rb
social_stream-0.1.7 lib/paperclip/social_stream.rb
social_stream-0.1.6 lib/paperclip/social_stream.rb
social_stream-0.1.5 lib/paperclip/social_stream.rb
social_stream-0.1.4 lib/paperclip/social_stream.rb
social_stream-0.1.3 lib/paperclip/social_stream.rb
social_stream-0.1.2 lib/paperclip/social_stream.rb
social_stream-0.1.1 lib/paperclip/social_stream.rb