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
Ruby on Rails allows you to nest models within a form. Ryan Bates of Railscasts demonstrated how to set up these forms with JavaScript using the Prototype framework, which ships with Rails.
In this episode, Charles Max Wood gives a brief overview of how Ryan’s code works, and then refactors the JavaScript to use JQuery.
Ryan Bates demonstrated how to build a form with nested attributes in Ruby on Rails with Prototype. This screencast demonstrates how to refactor that form into usage of jQuery. Download 88.4 MB Download (iphone & ipod) 40.7 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.