読者です 読者をやめる 読者になる 読者になる

quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Ruby5 #621

Ruby5 - Episode #621 - March 1st, 2016

  • Speeding Up Sprockets
    • Sprockets version 3.3+
  • Render Views Outside of Actions
    • ApplicationController.render 'templates/name'
    • ApplicationController.renderer.defaults
  • How DHH Organizes His Rails Controllers
    • interview with Full Stack Radio
  • Five Practices for Robust Ruby on Rails Applications
    • Use Hash#fetch to catch malformed hash
    • case ... else raise to catch invalid data
    • Use ActiveRecord ! methods to fail loudly
    • Add ActiveRecord validations to perform live checks
    • Use database constraints to ensure data consistency