aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/blob/representable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Prefer ImageProcessing's resize_to_limit macro over resize_to_fitGeorge Claghorn2019-01-241-5/+5
| | | | Don't upsize images smaller than the specified dimensions.
* Recommend using :resize_to_fit after allJanko Marohnić2018-04-231-5/+5
|
* Fix leftover references to VariantsController [ci skip]dixpac2018-04-081-1/+1
| | | | | VariantsController has been merged to RepresentationsController, this PR fixes outdated references to VariantsController in ActiveStorage documentation.
* Merge Previews/Variants controller into one Representations controller.Kasper Timm Hansen2018-03-031-2/+2
| | | | | | | | | Since ActiveStorage::Blob::Representable unifies the idea of previews and variants under one roof as representation, we may as well have the controllers follow suit. Thus ActiveStorage::RepresenationsController enters the fray. I've copied the old tests for both previews and variants and unified those as well.
* Update error names in docs [ci skip]George Claghorn2018-01-101-3/+3
|
* Add missing `# frozen_string_literal: true`Ryuta Kamizono2018-01-111-0/+2
|
* Correct comment [ci skip]George Claghorn2018-01-101-1/+1
|
* Extract Analyzable and Representable concernsGeorge Claghorn2018-01-101-0/+91