Displaying 1 to 4 from 4 results

activestorage-aliyun - Wraps the Aliyun OSS as an Active Storage service.

  •    Ruby

Wraps the Aliyun OSS as an Active Storage service. If you want to get original filename (Include Chinese and other UTF-8 chars), for example: 演示文件 download.zip, you need present disposition: :attachment option.

active_storage_validations - Do it like --- validates :photos, attached: true, content_type: ['image/png', 'image/jpg', 'image/jpeg']

  •    Ruby

If you are using active_storage gem and you want to add simple validations for it, like presence or content_type you need to write a custom valiation method. This gems doing it for you. Just use attached: true or content_type: 'image/png' validation.

ama - "Ask Me Anything" with Rails 5.2 Application

  •    Ruby

"Ask Me Anything" with Rails 5.2 Application. This app's aim is to take questions and feedback from the audience.

administrate-field-active_storage - support active storage in adminstrate

  •    Ruby

Then add :attachment to FORM_ATTRIBUTES and SHOW_PAGE_ATTRIBUTES. currently adding :attachment COLLECTION_ATTRIBUTES will work but will probably look too big. contributers are welcome (code, suggestions, and bugs).