Sha256: c3b796ae27c538298b0dc718d1bb25170564848ed801270c300b0d3d41de6a2a

Contents?: true

Size: 265 Bytes

Versions: 10

Compression:

Stored size: 265 Bytes

Contents

class News < ActiveRecord::Base
  self.table_name = "lolita_news"
  include Lolita::Configuration
  has_many :tags

  mount_uploader :main_image, MainImageUploader
  mount_uploader :list_image, ListImageUploader

   lolita do
    tab(:images, :main_image)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lolita-file-upload-1.0.5 test_orm/active_record/news.rb
lolita-file-upload-1.0.4 test_orm/active_record/news.rb
lolita-file-upload-1.0.3 test_orm/active_record/news.rb
lolita-file-upload-1.0.2 test_orm/active_record/news.rb
lolita-file-upload-1.0.1 test_orm/active_record/news.rb
lolita-file-upload-1.0.0 test_orm/active_record/news.rb
lolita-file-upload-0.8.3 test_orm/active_record/news.rb
lolita-file-upload-0.8.2 test_orm/active_record/news.rb
lolita-file-upload-0.8.1 test_orm/active_record/news.rb
lolita-file-upload-0.8.0 test_orm/active_record/news.rb