Sha256: 42f5f35cd9c20d9342a1d7c8455f47c22ee8360f464765d867a81bac551345d3

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

class News < ActiveRecord::Base
  set_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

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 test_orm/active_record/news.rb
lolita-file-upload-0.2.0 test_orm/active_record/news.rb