Sha256: 4a5938b7d865ccdf01f55a24b20d92d2c26f26171fb6afecc801b1b23c45658d

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

= Lolita file upload

File upload gem for Lolita.

==Instalation
* gem install lolita-file-upload
* include in gemfile like this:
   gem "lolita-file-upload", ">=0.1.0"
* cd your_project_path
* rails g lolita_file_upload:install

Install will copy all assets and migrations to your project.
If you update to newest version of gem, than run <i>rails g lolita_file_upload:assets</i>

==Configuration

Gem will not used until any of lolita configuration blocks define tab with type :files. Like this
   class Post
      include Lolita::Configuration
      has_many :files, :as=>:fileable, :class_name=>"Lolita::Upload::File"

      lolita do
        tab(:content)
        tab(:files)
      end
   end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 README.rdoc
lolita-file-upload-0.2.0 README.rdoc