Description: A programming blog
Repo + slides
So the time has finally come. You knew it would happen some day, but you’d be prepared. Your app would be organized and fast and bulletproof , ready for anything! Then out of nowhere, right in the middle of all your best laid plans, the front-end team shows up on your lawn with a keg of High Life and some turntables and demands JAVASCRIPT NOW . You tell them ‘Be cool, young bloods. We can do JSON.’ And that’s how it begins.
Luckily, generating JSON in Rails is easy! All you need to do is add one line: