#200
Feb 08, 2010
37 comments
Rails 3 Beta and RVM
Get started with Rails 3.0 Beta and install Ruby 1.9.1 using RVM: Ruby Version Manager. Stay tuned to the end for a challenge on giving back to open source.
Mobile Devices
Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface.
Edit Multiple Individually
Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields.
Nested Model Form Part 2
Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.
Nested Model Form Part 1
Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields.
My Favorite Web Apps in 2009
Here I show several of my favorite web applications which I found most helpful as a Ruby developer over the past year.
MongoDB and MongoMapper
MongoDB is a document based database engine. Learn how to access it through MongoMapper in this episode.
Tableless Model
If you want to create a model without a database backend, you simply need to define a couple methods in the model like I show in this episode.
Authorization with CanCan
CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode.
Mechanize
Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.







