Railscasts (iPod & Apple TV)
Three times a week you will be treated to a new 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 ...
Three times a week you will be treated to a new 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. Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Show all Visit Show Website http://www.railscasts.comRecently Aired
-
HD
#196 Nested Model Form Part 1
Handling multiple models in a single form is much easier ...
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...
-
HD
#195 My Favorite Web Apps in 2009
Here I show several of my favorite web applications which ...
Here I show several of my favorite web applications which I found most helpful as a Ruby developer over the past year.
-
HD
#194 MongoDB and MongoMapper
MongoDB is a document based database engine. Learn how to ...
MongoDB is a document based database engine. Learn how to access it through MongoMapper in this episode.
-
HD
#193 Tableless Model
If you want to create a model without a database ...
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.
-
HD
#192 Authorization with CanCan
CanCan is a simple authorization plugin that offers a lot ...
CanCan is a simple authorization plugin that offers a lot of flexibility. See how to use it in this episode.
-
HD
#191 Mechanize
Mechanize extends the power of Nokogiri allowing you to interact ...
Mechanize extends the power of Nokogiri allowing you to interact with multiple pages on the site: click links, submit forms, etc.
-
HD
#190 Screen Scraping with Nokogiri
Screen scraping is easy with Nokogiri and SelectorGadget.
-
HD
#189 Embedded Association
Learn how to set up a one-to-many or many-to-many association ...
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.
-
HD
#188 Declarative Authorization
Declarative authorization provides an advanced and powerful solution for role ...
Declarative authorization provides an advanced and powerful solution for role based authorization.
-
HD
#187 Testing Exceptions
Sometimes bad code slips into production and triggers a 500 ...
Sometimes bad code slips into production and triggers a 500 error. Learn how to be notified of this and resolve it through integration tests.