Sha256: 2c9ef3c01bba0e0d35e9ef942767483b1075bb4db95e032cf22850372b70c99e

Contents?: true

Size: 699 Bytes

Versions: 15

Compression:

Stored size: 699 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

15 entries across 15 versions & 1 rubygems

Version Path
lolita-file-upload-0.3.0.2 README.rdoc
lolita-file-upload-0.3.0.1 README.rdoc
lolita-file-upload-0.3.0 README.rdoc
lolita-file-upload-0.2.9 README.rdoc
lolita-file-upload-0.2.8 README.rdoc
lolita-file-upload-0.2.7 README.rdoc
lolita-file-upload-0.2.6 README.rdoc
lolita-file-upload-0.2.5 README.rdoc
lolita-file-upload-0.2.4 README.rdoc
lolita-file-upload-0.2.3 README.rdoc
lolita-file-upload-0.2.2 README.rdoc
lolita-file-upload-0.1.4 README.rdoc
lolita-file-upload-0.1.3 README.rdoc
lolita-file-upload-0.1.2 README.rdoc
lolita-file-upload-0.1.1 README.rdoc