This is the continuation of the Rails 3 Build a Blog series. This episode includes implementation of the Edit and Destroy methods on the Posts Controller. There are a lot of things left to cover on Rails 3, but this gets you the basics of the MVC framework and how to use Cucumber to build your application using BDD.
The second part of the tutorial for building a blog with Ruby on Rails version 3. We demonstrate how to set up some basic routes, manage the controller and views, and create a basic form for creating posts. Download 161.4 MB Download (iphone & ipod) 65.8 MB
Every good project needs a good setup. In this episode, I set up a github repo, create a new rails application, hook in Cucumber and Rspec, write a Cucumber feature, and write the code to make it pass. Download 142 MB Download (iphone & ipod) 59 MB
Loading multiple Ruby Gems can result in runtime errors when an incompatible version of a gem dependency is already loaded as a dependency of another gem.
Gem bundler can also pre-load and cache gems for faster loading.
Having two gems that require different versions of the same dependency can sometimes cause runtime errors. Yehuda Katz and Carl Lerche have created an elegant solution in the Gem Bundler. Download 108.8 MB Download (iphone & ipod) 48.8 MB
Anybody can learn to write code. The hard part is solving problems, not typing commands. This means that learning to program is a mental exercise followed by its interpretation into code.
TeachMeToCode.com is about helping you learn to think about problems and how to write code once you've figured out what you want. Sign up for the mailing list, watch a video, listen to the podcast, or read an article to get started.