Rails Flavored Ruby
summary
Covers the Ruby features Rails developers actually use: using rails console (IRB plus Rails) to inspect strings, arrays, hashes and their methods; mutating vs nonmutating methods like reverse! vs reverse; array.shuffle and map with blocks; symbols vs string keys and old/new hash syntax; defining classes, inheriting from String, and reopening core classes; Rails adding helpers like 1.megabyte and 10.days.ago; controller methods return nil in plain Ruby but render views under Rails.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:11Rails console overview
- 2:15Ruby data structures for Rails
- 10:08Hashes and symbol keys
- 15:40Custom classes in Ruby
- 25:20Rails' Ruby modifications
- 27:42Learning Ruby for Rails
related talks
38mRails on Ruby: How Ruby Makes Rails Great
44mRuby Libraries Important for Rails
53mRuby 2 in Ruby on Rails
33mRails is Just Ruby
40mTricks That Rails Didn't Tell You About
42mPowerful Rails Features You Might Not Know
26mDissecting Rails - a different approach to learning Rails
53mRuby 2 in Ruby on Rails
