Every week you will be treated to a new RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development fram...
Education, Technology
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 can be passed thr...
[LESS INFO] 1 VIEWS | ADDED 07:00:00 05/23/12
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 can be passed through a URL parameter or HTTP header.
#350 REST API Versi...
2 Views 07:00:00 05/16/12
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 versioned, RESTful...
[LESS INFO] 2 VIEWS | ADDED 07:00:00 05/16/12
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 versioned, RESTful API. The version can be determined from either the URL or HTTP headers.
#348 The Rails API Gem
3 Views 07:00:00 05/09/12
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 Rails application de...
[LESS INFO] 3 VIEWS | ADDED 07:00:00 05/09/12
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 Rails application designed to respond with JSON.
#346 Wizard Forms w...
105 Views 07:00:00 05/03/12
Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps.
[LESS INFO] 105 VIEWS | ADDED 07:00:00 05/03/12
Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps.
#344 Queue Classic
270 Views 07:00:00 04/24/12
PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the q...
[LESS INFO] 270 VIEWS | ADDED 07:00:00 04/24/12
PostgreSQL can act as a worker queue which can replace the need for a separate process to manage the background jobs. Here you will learn how to do this with the queue_classic gem.
#342 Migrating to P...
268 Views 07:00:00 04/17/12
Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new applicati...
[LESS INFO] 268 VIEWS | ADDED 07:00:00 04/17/12
Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new application, and transition from an existing SQLite app using the "taps" gem.
#340 DataTables
261 Views 07:00:00 04/11/12
DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to s...
[LESS INFO] 261 VIEWS | ADDED 07:00:00 04/11/12
DataTables makes it easy to convert a plain HTML table into one with pagination, sorting, and searching - all done with JavaScript and jQuery. Here I show how to set this up and use a Rails application as the data source.
#338 Globalize3
267 Views 07:00:00 04/04/12
Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn h...
[LESS INFO] 267 VIEWS | ADDED 07:00:00 04/04/12
Rails has great internationalization (I18n) support making it easy to translate static text into other languages, but how do we translate database content? Learn how using Globalize 3 in this episode.
#336 Copycopter
269 Views 07:00:00 03/27/12
Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integra...
[LESS INFO] 269 VIEWS | ADDED 07:00:00 03/27/12
Copycopter provides a nice interface that clients can use to edit the text in a Rails application. Learn how to deploy a Copycopter server using Heroku and integrate it in a Rails application through I18n.
Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode.
[LESS INFO] 291 VIEWS | ADDED 07:00:00 03/21/12
Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode.
If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Re...
[LESS INFO] 293 VIEWS | ADDED 07:00:00 03/14/12
If you need to quickly create an informational site that can be easily edited, consider using a content management system. Here I show how to build a site using Refinery CMS.
[LESS INFO] 260 VIEWS | ADDED 08:00:00 03/07/12
If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient.
Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with t...
[LESS INFO] 288 VIEWS | ADDED 08:00:00 02/28/12
Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem.
#326 ActiveAttr
301 Views 08:00:00 02/21/12
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.
[LESS INFO] 301 VIEWS | ADDED 08:00:00 02/21/12
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.
#324 Passing Data t...
305 Views 08:00:00 02/13/12
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, and the Gon gem.
[LESS INFO] 305 VIEWS | ADDED 08:00:00 02/13/12
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, and the Gon gem.
#322 RABL
295 Views 08:00:00 02/08/12
RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in...
[LESS INFO] 295 VIEWS | ADDED 08:00:00 02/08/12
RABL - Ruby API Builder Language - provides a DSL for generating JSON or XML responses in a Ruby application. Learn how to share and configure complex JSON data in this episode.
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 generate a URL slug and maintain a history.