Class: Mercury::Image
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mercury::Image
- Includes:
- Mongoid::Document, Mongoid::Paperclip
- Defined in:
- lib/generators/mercury/install/images/templates/ar_paperclip_image.rb,
lib/generators/mercury/install/images/templates/mongoid_paperclip_image.rb
Instance Method Summary collapse
Instance Method Details
#serializable_hash(options = nil) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/generators/mercury/install/images/templates/ar_paperclip_image.rb', line 13 def serializable_hash( = nil) ||= {} [:methods] ||= [] [:methods] << :url super() end |