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] 0 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...
0 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] 0 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
0 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] 0 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...
2 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] 2 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
1 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] 1 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...
2 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] 2 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
2 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] 2 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
14 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] 14 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
3 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] 3 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.
#334 Compass & CSS ...
5 Views 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.
[LESS INFO] 5 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.
#332 Refinery CMS B...
11 Views 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 Re...
[LESS INFO] 11 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.
#330 Better Sass wi...
14 Views 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.
[LESS INFO] 14 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.
#328 Twitter Bootst...
17 Views 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 t...
[LESS INFO] 17 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
16 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] 16 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...
21 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] 21 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
23 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] 23 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.
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 JavaScript or supply a hash for use with JSON.