aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/README.md
Commit message (Collapse)AuthorAgeFilesLines
* Recommend using :resize_to_fit after allJanko Marohnić2018-04-231-1/+1
|
* Use ImageProcessing gem for ActiveStorage variantsJanko Marohnić2018-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImageProcessing gem is a wrapper around MiniMagick and ruby-vips, and implements an interface for common image resizing and processing. This is the canonical image processing gem recommended in [Shrine], and that's where it developed from. The initial implementation was extracted from Refile, which also implements on-the-fly transformations. Some features that ImageProcessing gem adds on top of MiniMagick: * resizing macros - #resize_to_limit - #resize_to_fit - #resize_to_fill - #resize_and_pad * automatic orientation * automatic thumbnail sharpening * avoids the complex and inefficient MiniMagick::Image class * will use "magick" instead of "convert" on ImageMagick 7 However, the biggest feature of the ImageProcessing gem is that it has an alternative implementation that uses libvips. Libvips is an alternative to ImageMagick that can process images very rapidly (we've seen up 10x faster than ImageMagick). What's great is that the ImageProcessing gem provides the same interface for both implementations. The macros are named the same, and the libvips implementation does auto orientation and thumbnail sharpening as well; only the operations/options specific to ImageMagick/libvips differ. The integration provided by this PR should work for both implementations. The plan is to introduce the ImageProcessing backend in Rails 6.0 as the default backend and deprecate the MiniMagick backend, then in Rails 6.1 remove the MiniMagick backend.
* Add cloud service's links to README of Active Storage [ci skip]Yoshiyuki Hirano2017-12-221-2/+2
|
* Fix typos and add a few suggestionsFatos Morina2017-11-281-0/+14
|
* how do we install active_storage? [skip ci]Oleg2017-10-061-0/+4
|
* Merge pull request #30628 from yhirano55/add_local_option_to_message_formRyuta Kamizono2017-09-171-1/+1
|\ | | | | Add local option to Message form [ci skip]
| * Add local option to Message form [ci skip]Yoshiyuki Hirano2017-09-171-1/+1
| | | | | | | | | | | | | | * MessagesController redirects to `GET /message/:id`. * It looks it don't expect XHR request. * `form_with` behaves for XHR by default. * I've added `local: true` option to `form_with`.
* | Fix file missing in activestorage's example code [ci skip]Yoshiyuki Hirano2017-09-171-1/+1
|/ | | | | * File.open("~/face.jpg") raise error: `Errno::ENOENT: No such file or directory @ rb_sysopen - ~/face.jpg`
* minor tweaks in Active Storage after a walkthroughXavier Noria2017-08-151-7/+22
|
* Remove unnedded Active Storage installation stepsRafael Mendonça França2017-08-111-8/+0
| | | | | Active Storage was now merged to master and it is automatically installed in a new application.
* Microsoft Azure --> Microsoft Azure Storage [ci skip]Ryuta Kamizono2017-08-121-1/+1
|
* Extend image_tag to accept ActiveStorage Attachments and Variants (#30084)Anton Khamets2017-08-071-1/+1
| | | | | | | | | | | | | | | | | | * Extend image_tag to accept ActiveStorage's Attachments and Variants * Flip resolve_image_source around * Add tests for the new use-cases of image_tag * Remove the higher-level test * Update image_tag documentation * Add error states into the test suite * Re-raise polymorhic_url's NoMethodError as ArgumentError * delegate_missing_to will raise DelegationError instead of NoMethodError
* Pass over Active Storage readme [ci skip] (#30086)Vipul A M2017-08-061-2/+2
|
* Fix repository URL [ci skip]yuuji.yaginuma2017-08-051-1/+1
| | | | changed `rails/activestorage` to `rails/rails`.
* Tweak requiresMike Gunderloy2017-08-021-1/+1
| | | Omit azure-core (it's required by azure-storage), remove require:false to match other points.
* Use release azure-core gemMike Gunderloy2017-08-021-1/+1
|
* Update README.mdMike Gunderloy2017-08-021-1/+1
|
* Add Azure gems to READMEMike Gunderloy2017-08-021-1/+2
|
* Add Azure to readme Bryan Lim2017-08-021-3/+1
| | | previously https://github.com/rails/activestorage/pull/86
* Cut down on installation adviceDavid Heinemeier Hansson2017-08-011-8/+4
|
* Drop README terms no longer relevantDavid Heinemeier Hansson2017-08-011-12/+0
|
* Use config/storage.yml as part of the skeleton and loadingDavid Heinemeier Hansson2017-07-311-1/+1
|
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+151
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58