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
#364 Active Record Reputation System
If you need to calculate an average user's rating or ...
If you need to calculate an average user's rating or sum up a number of votes, consider using the activerecord-reputation-system gem. Here I will c...
-
HD
#362 Exporting CSV and Excel
As you will see it is easy to add a ...
As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats.
-
HD
#360 Facebook Authentication
This will show how to create a new facebook application ...
This will show how to create a new facebook application and configure it. Then add some authentication with the omniauth-facebook gem and top it of...
-
HD
#358 Brakeman
The Brakeman gem will scan the Ruby code of a ...
The Brakeman gem will scan the Ruby code of a Rails application and alert you to common security vulnerabilities.
-
HD
#356 Dangers of Session Hijacking
If a user's authentication cookie is sent over an insecure ...
If a user's authentication cookie is sent over an insecure connection it is vulnerable to session hijacking, or more specifically, sidejacking. Lea...
-
HD
#354 Squeel
Squeel provides a comprehensive DSL for writing SQL queries in ...
Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features.
-
HD
#352 Securing an API
There are many approaches to locking down an API. Here ...
There are many approaches to locking down an API. Here I start off with HTTP Basic authentication then move on to generating a unique token which c...
-
HD
#350 REST API Versioning
APIs should be consistent, but it is difficult to do ...
APIs should be consistent, but it is difficult to do this when returning a JSON response along side the HTML interface. Here I show how to add a ve...
-
HD
#348 The Rails API Gem
It is often asked: Is Rails a good fit if ...
It is often asked: Is Rails a good fit if I only need to serve an API? In this episode I show how to use the Rails API gem to create a slimmer Rail...
-
HD
#347 Rubber and Amazon EC2
Deploying to Amazon EC2 allows you to scale an application ...
Deploying to Amazon EC2 allows you to scale an application quickly. Learn how to use Rubber to deploy to the cloud with just a few commands and mon...