Ruby5 #639
Ruby5 - Episode #639 - May 17th, 2016
- Rails 5 Validates Acceptance Of
- changes the default values for the validates_acceptance_of method
- accepts both the “1”(checkbox) string and the true boolean as truthy values
validates_acceptance_of :terms_of_service, accept: [true, "y", "yes"]
- 23 years of Ruby With Matz
- Hanami
- new syntax for validations based on predicates
required(:name) { filled? & str? & size?(3..64) }
- mini_racer
- Minimal, modern embedded V8 for Ruby
- alternative to therubyracer
- Tips for Keeping Rails Apps Easy to Update
- reasons are: security, bug fixes, and features
- strict use of gems
- avoid monkey patches
- keep a good test coverage
- CocoaPods 1.0.0
- Podfile DSL
- cocoapods-deintegrate
- pod trunk deprecate and pod trunk delete