Advanced Rails Recipes
Download Full Version of the eBook "Advanced Rails Recipes"
Download - Advanced Rails Recipes by Mike Clark - PDF
If you and I were building a Rails application together and you leaned over and asked me, “Hey, how do I upload a file to S3 in the background without tying up the web request?” the last thing you want to hear is the theory of networking and messaging systems. Instead, I’d just say, “Push the filename on a message queue, write a Rake task that pops messages off the queue in a loop, and use the S3 library to upload the file.” And then we’d sit together and code it up.
That’s what this recipe book is all about, except you’re sitting next to more than fifty “great chefs” in the Rails community. These folks know how to make (and teach you how to make) things to help your Rails application really shine. All these recipes are extracted directly from their work on real-world projects. It’s all about skipping the trial and error and jumping straight to a good solution that works on your first try. Sometimes it’s even about making things you never imagined you could make.
Good recipe books also teach you techniques and describe why certain things work and others don’t. Sometimes they even teach you about new tools. But they teach these skills within the context and with the end goal of making something—not just to teach them.
After working through these recipes, you should walk away with a new level of Rails understanding along with an impressive list of successfully implemented new features.