Sha256: 37040112b017a4a1ff52c8663ae377f9cb4cafae513c67d7f617e8063a56c9db

Contents?: true

Size: 648 Bytes

Versions: 6

Compression:

Stored size: 648 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"`
* cd your_project_path
* rails g lolita_file_upload:install

Install will copy migration to your project.
If you update to newest version of gem, than run `rails g lolita_file_upload:assets`

##Configuration

Gem will not used until any of lolita configuration blocks define tab with type :files. Like this
```ruby
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

6 entries across 6 versions & 1 rubygems

Version Path
lolita-file-upload-1.0.1 README.md
lolita-file-upload-1.0.0 README.md
lolita-file-upload-0.8.3 README.md
lolita-file-upload-0.8.2 README.md
lolita-file-upload-0.8.1 README.md
lolita-file-upload-0.8.0 README.md