RailsCasts
Summary: Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This is the full resolution version, a lower reoslution for mobile devices is also available.
- Visit Website
- RSS
- Artist: Ryan Bates
Podcasts:
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.
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.
CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode.
Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.
Screen scraping is easy with Nokogiri and SelectorGadget.
Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask.
Declarative authorization provides an advanced and powerful solution for role based authorization.
Sometimes bad code slips into production and triggers a 500 error. Learn how to be notified of this and resolve it through integration tests.
Pickle adds many convenient Cucumber steps for generating models. Also learn about table diffs in this episode.
Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling.
Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options.
Gemcutter is a new service for hosting RubyGems, and Jeweler provides an automated way to release versions of a gem.
Present a slick user interface for cropping image attachments using Jcrop and Paperclip.