[Rails-core] Re: Bump minimum SQLite version to 3.8 for Rails 6

2018-05-23 Thread Yasuo Honda
This proposal has been implemented for Rails 6 by this pull request https://github.com/rails/rails/pull/32923 Thanks, -- Yasuo Honda On Thursday, May 17, 2018 at 8:35:33 PM UTC+9, Yasuo Honda wrote: > > Hi, > > I'd like to propose that Rails 6 requires SQLite 3.8 or higher. > > These OS

[Rails-core] Re: [ActiveStorage] Feature Request: attachment validations

2018-05-23 Thread Luis Felipe Sanchez
I think this would be a great feature to have. Looking around the code I find that one main issue is that doing attribute assignment like `@record.file=attachable` uploads the attachable to the service right away. We could make it so that `ActiveStorage::Attached` stores the attachable as an