Videos tagged with Rails
Add full text searching using ElasticSearch and Tire. Here I will show the steps involved in adding this search to an existing application. This is the first part in a two part series. Resources: elasticsearch Tire Tire Annotated Source Episode 120: Thinking Sphinx (revised) Episode 278: Searching with Sunspot Episode 307: ElasticSearch Part 2 (pro)
Railscasts #308: Oh My ZSH
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 theme and plugins. Resources: Oh My ZSH Oh My ZSH Themes Prompt Options ZSH: The last shell you'll ever need! ZSH-LOVERS
Railscasts #310: Getting Started with Rails
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 help get started with Rails. Resources: Ruby on Rails Rails Installer for Windows Homebrew for Mac RVM rbenv Ruby on Rails Version Dates
Railscasts #312: Sending HTML Email
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 and roadie gems. Resources: 20 Email Design Best Practices and Resources Automatic CSS Inliner Tool Premailer Rails 3 Roadie
Railscasts #314: Pretty URLs with FriendlyId
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. Resources: FriendlyId FriendlyId Documentation
Railscasts #316: Private Pub
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. Resources: Private Pub Faye Episode 260: Messaging with Faye
Railscasts #318: Upgrading to Rails 3.2
Rails 3.2 sports many new features including automatic explain queries, tagged logging, key-value store in Active Record, improved migration generator and more. Learn all about these new features in this episode. Resources: Rails 3.2.0 Rails 3.2.0 CHANGELOG Compilation
Railscasts #320: Jbuilder
Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses with helpers and conditions. Resources: Jbuilder
Railscasts #322: RABL
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. Resources: RABL Episode 320: JBuilder
Railscasts #324: Passing Data to JavaScript
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. Resources: Gon Episode 322: RABL Episode 320: Jbuilder