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

2019-02-21 Thread Abhishek Chandrasekhar
Hey everyone! It seems this has been open for a while, and as per George's last statement I'm assuming a pull request is still welcome? If so I've been working on this the past few days  (As a small side note, there does already seem to be a PR open but I provided my thoughts on that here.

Re: [Rails-core] [Feature][ActiveStorage] Pre-defined Variants

2018-11-27 Thread Abhishek Chandrasekhar
to get George > Claghorn or someone else on board for this ride. > > Appreciate the extensive write up with reasoning! > > Den 27. nov. 2018 kl. 14.28 skrev Abhishek Chandrasekhar < > abhishek.ch...@gmail.com >: > > Hello all - > > Firstly, huge thanks to those wh

[Rails-core] #attributes should optionally return nested attributes of the model

2016-02-26 Thread Abhishek Chandrasekhar
Hi! I wanted to get some feedback on the idea of enhancing the ActiveRecord ` attributes` method to also (optionally) return nested attributes Example Let's say I have a `Car` model, which `has_one` `Driver` and `has_many` ` Passenger`(s). Also let's say the `Car` model