Making a Rails App with 140 Characters (or less)
summary
Start from the claim: Rails can be shrunk to a tweet. The demo pares 433 lines across 61 files down to a one‑line shell command using Rack and the railtie, e.g. rackup -r action_controller/railtie -b "Class.new(Rails::Application){self.secret_key_base='x'; routes{get '/', to: proc{|env| [200,{},['hi']]}}}.initialize; run _1" The build actually runs (returns 404 by default until routes are added), shows ~10MB memory savings when not loading Sprockets, and measures middleware cost with derailed benchmarks and ab.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:37Rails Developer Minds
- 3:08Rails is Lightweight
- 6:00Deleting Empty Files
- 9:43Deleting App Folder
- 11:20Deleting Bin Folder
- 14:20Rails All
- 19:23Inline Everything
- 23:26API Only
- 37:09Homework








