Videos in category Frameworks
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. Resources: Episode 350: REST API Versioning HTTP Basic Authentication HTTP Token Authentication OAuth Doorkeeper oauth2 rack-oauth2-server oauth2-provider
Railscasts #350: REST API Versioning
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. Resources: Versionist Rocket Pants Episode 322: RABL
Railscasts #348: The Rails API Gem
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. Resources: Rails API Gem ActionController::API Modules ActionController::Base Modules Episode 319: Rails Middleware Walkthrough (pro)
Railscasts #346: Wizard Forms with Wicked
Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. Resources: Wicked Wizard Forms with jQuery Episode 217: Multistep Forms
Railscasts #344: Queue Classic
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. Resources: Episode 342: Migrating to PostgreSQL Queue Classic
Railscasts #342: Migrating to PostgreSQL
PostgreSQL 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. Resources: PostgreSQL PostgreSQL Manual Homebrew Taps Texticle pg_search queue_classic Hstore
Railscasts #340: DataTables
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. Resources: DataTables Episode 240: Search, Sort, Paginate with AJAX
Railscasts #338: Globalize3
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. Resources: Globalize3 Episode 138: I18n (revised)
Railscasts #336: Copycopter
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. Resources: Copycopter copycopter-server Heroku Heroku Toolbelt
Railscasts #334: Compass & CSS Sprites
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. Resources: Compass compass-rails Normalize.css Episode 330: Bourbon