Triangle.rb Notes - Things To Look Out For In Rails 5
Things To Look Out For In Rails 5
with Brandon Mathis (meetup)
History
Rails 1
Rails 2
- Tiobe language popularity ranking
- EnvyLabs "commercials"
- They did a whole series of "Rails Versus xxx", which might be hard to find now. Here's Rails Versus PHP
- _why the lucky stiff
Rails 3 (2010)
bundler
- arel
- coffescript
- asset pipeline
- merge with merb
Rails 4 (2013)
- turbolinks
- threadsafe
- live streaming
- LOTS of dev tools
Rails 5 (2016)
- action cable - websockets for rails apps
- puma
- apis
- attributes
rails
subsumesrake
debugger
replaced withbyebug
- NOTE check out
pry-byebug
- NOTE check out
APIs
Previously add Rails API to Rails.
Now just use $ rails new app-name --api
Attributes
Easily specify custom datatypes and defaults for model attributes.
class Student < ApplicationRecord
attribute :money, Money.new
end
Future
- webpack
- (probably other stuff too)