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.
Here I show several of my favorite web applications which I found most helpful as a Ruby developer over the past year.
Scott Motte introduces us to the document-oriented database MongoDB and shows how to use MongoDB as an alternative to MySQL and ActiveRecord using the MongoMapper gem.
This talk was part of the DjangoSD/SD Ruby mashup meeting.
MongoDB is a document based database engine. Learn how to access it through MongoMapper in this episode.
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.
In this presentation, Charles Nutter discusses JRuby, invokedynamic, JRuby performance, Duby, the motivation behind creating Duby, Duby syntax, future plans for Duby, Surinx, the motivation behind creating Surinx, and how Duby and Surinx are helping JRuby.
In this screencast we'll cover using variables, mixins and operations with LESS while building the header for the 'Flitter' front end. Watch this screencast and more at TeachMeToCode.com
CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode.
In this screencast we'll cover the basics of setting up a LESS file to compile into CSS as we provide an HTML front end to Flitter, a Ruby on Rails Twitter clone.
In the fourth episode of Radiantcasts you’ll see how to use the Radiant Mailer Extension - an extension for Radiant CMS that allows you to create ‘contact us’ and other mail-bound forms.