Class: Rich::RichImage
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Rich::RichImage
- Defined in:
- app/models/rich/rich_image.rb
Instance Method Summary collapse
Instance Method Details
#init_styles ⇒ Object
21 22 23 24 |
# File 'app/models/rich/rich_image.rb', line 21 def init_styles self.class.has_attached_file :image, :styles => hash = Rich.image_styles end |