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
#326 ActiveAttr
ActiveAttr provides what Active Model left out. If you need ...
ActiveAttr provides what Active Model left out. If you need to create a table-less model with features similar to Active Record, watch this episode.
-
HD
#324 Passing Data to JavaScript
There are a variety of ways to pass variables from ...
There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute,...
-
HD
#322 RABL
RABL - Ruby API Builder Language - provides a DSL ...
RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure comp...
-
HD
#320 Jbuilder
Jbuilder provides a DSL for generating JSON. It includes a ...
Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions.
-
HD
#318 Upgrading to Rails 3.2
Rails 3.2 sports many new features including automatic explain queries, ...
Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration genera...
-
HD
#316 Private Pub
Private Pub makes it easier than ever to publish and ...
Private Pub makes it easier than ever to publish and subscribe to real-time events in a Rails app. You can use publish_to with a block of JavaScrip...
-
HD
#314 Pretty URLs with FriendlyId
If you are tired of model ids in the URL, ...
If you are tired of model ids in the URL, overriding to_param can only get you so far. The friendly_id plugin can help by making it easy to generat...
-
HD
#312 Sending HTML Email
HTML email can be difficult to code because any CSS ...
HTML email can be difficult to code because any CSS should be made inline. Here I present a few tools for doing this including the premailer-rails3...
-
HD
#310 Getting Started with Rails
Learning Ruby on Rails can be overwhelming, especially if you ...
Learning Ruby on Rails can be overwhelming, especially if you are new to programming. Here I will take you on a tour through various resources to h...
-
HD
#308 Oh My ZSH
As Rails developers, we frequently use the command line. Here ...
As Rails developers, we frequently use the command line. Here I will show how to switch to Z Shell using Oh My ZSH including how to make your own t...