- 25 May, 2018 12 commits
-
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
aboutqx committed
-
This validation was causing issue when there is no content_type column in the database, as the content type of the attachment would be empty. There should be no need to check attachment's validity because this `#reprocess!` method is running internally on the server. Fix #2078
Amanda Munoz and Prem Sichanugrist committed
-
- 18 May, 2018 8 commits
-
-
Encountered an issue where the URI was returning header with content-disposition where the filename value wasn't enclosed in the double quotes. Turns out that this is a valid grammar according to RFC6266. Also made the logic more robust to account for spaces and uppercase letters.
Yves Riel committed -
e.g., the way google stores its user profile photos (from their oauth2 API) https://lh3.googleusercontent.com/-aRHQV4YjnBM/AAAAAAAAAAI/AAAAAAAAAAo/ngSjy9-yR5c/photo.jpg
Hasan Kumar committed -
Since the support version is Ruby 2.0 or later, magic comment is unnecessary. > The UTF-8 default encoding, which make many magic comments omissible https://www.ruby-lang.org/en/news/2013/02/24/ruby-2-0-0-p0-is-released/
hash52 committed -
This cause to erease previous image when the id change to above `999_999_999`, for example: ``` 2.3.6 :010 > id => 1000602578 2.3.6 :011 > ("%09d".freeze % id).scan(/\d{3}/).join("/".freeze) => "100/060/257" ```
Laurent Arnoud committed -
kylekeesling committed
-
Mike Burns committed
-
Horacio Chávez committed
-
"key" is a reserved keyword in MariaDB, so the SQL statement fails. Surrounding the keyword in backticks fixes the error.
Luke committed
-
- 14 May, 2018 1 commit
-
-
* Add deprecation notice to README Addresses new projects, existing projects, issues, and PRs.
Mike Burns committed
-
- 08 May, 2018 3 commits
-
-
Akihiko Odaki committed
-
Roderick Monje committed
-
So that the `file_system` option renders correctly on the docs
Viki Harrod committed
-
- 07 May, 2018 6 commits
-
-
Abhishek Kanojia committed
-
Davey committed
-
Closes https://github.com/thoughtbot/paperclip/issues/2253
Roderick Monje committed -
Follow #2481
Yoshiyuki Kinjo committed -
Hayden Ball committed
-
2254 coverage (#2395) * f(x): default to Paperclip::ContentTypeDetector * fix: failures * spec: cover consecutive periods * fix: hound * fix: hound
Roderick Monje committed
-
- 04 May, 2018 1 commit
-
-
Sid Raval committed
-
- 02 May, 2018 1 commit
-
-
Sid Raval committed
-
- 18 Mar, 2018 1 commit
-
-
Viktor Fonic committed
-
- 09 Mar, 2018 7 commits
-
-
Mike Burns committed
-
- open-uri is a security concern, so let's not recommend it. Separate one-liners based on whether they're doing local or remote storage. - Mention the performance impact of the separate table. While migrating they will want to consider each use case for n+1 loads. Thanks, Derek!
Mike Burns committed -
A start at an introductory migration path for moving from Paperclip to [ActiveStorage]. ActiveStorage is coming in Rails 5.2 (April, perhaps) and we want to help people move from Paperclip to it. Having a file upload strategy baked into Rails itself will allow us all to focus our efforts and follow a common goal. This migration guide is rudimentary at best: it works for a `User` object with one `avatar` attachment. It is provided as a framework to start the documentation. I have tried this in a dummy app. [ActiveStorage]: http://edgeguides.rubyonrails.org/active_storage_overview.html
Mike Burns committed -
[ci skip]
Sid Raval committed -
* Added support for aws-sdk-s3 gem which is now preferred way to interact with s3. Reference: https://github.com/aws/aws-sdk-ruby/blob/master/V3_UPGRADING_GUIDE.md#library-maintainer * Drop support for aws-sdk gem
Wojciech Wnętrzak committed -
[ci skip]
Sid Raval committed -
Yamagishi Kazutoshi committed
-