{"push_id":1039078810,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"ce47f0512ec402d189675d13987d5b2f8540de5a","before":"0067696e20aabd1784a98872b874db78c7634db0","commits":[{"sha":"ce47f0512ec402d189675d13987d5b2f8540de5a","author":{"email":"ea959d3aca46a130a0cff3b27d7577d4c98ec1a4@gmail.com","name":"Lillie Chilen"},"message":"Validate presence of required fields on application submission, but not saving of drafts :tada:\n\n- Create a form object called ApplicationForm to handle the many presence: :true validations that only happen on submit\n- Did you know that you can't use validates_presence_of for boolean values? Me neither! You have to use validates inclusion in instead because how Object#blank? handlesbooleans!\n  - Read more about it: http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#method-i-validates_presence_of\n- Move flash text into the form object\n- Remove `accept_nested_attributes_for :application` from user, now that we're not using it!! :rocket:\n- Remove new action from ApplicationsController/routes, since it was just redirecting to :edit and we can call edit ourselves.\n- Add fairly ridiculous `body.applications.update` class so that the page stays the same width when you save the application\n- CoC checkbox text now links to the CoC\n- How about the non-info flash message is red instead of orange\n- Think about back-porting this refactor to Arooo and then run away instead","distinct":true,"url":"https://api.github.com/repos/ampersandindustries/andooo/commits/ce47f0512ec402d189675d13987d5b2f8540de5a"}]}