Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: search xViews x
Advanced Search Form (revised)
Episode #111Nov 17, 201154 comments

Advanced Search Form (revised)

It is often best to use a GET request when submitting a search form, however if it is an advanced search form with a lot of fields then this may not be ideal. Here I show how to create a search resource to handle this. (6 minutes)
DataTables
Episode #340Apr 11, 2012160 comments

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. (9 minutes)
Simple Search Form
Episode #37May 28, 2007127 comments

Simple Search Form

A search form is quite different than other forms, this is because it does not deal with model's attributes. See a good way to add a simple search form in this episode. (6 minutes)
Unobtrusive Javascript
Episode #205Mar 15, 201078 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
7 Security Tips
Episode #178Sep 07, 200956 comments

7 Security Tips

Security is important! Here I show seven different security flaws which are common to Rails applications ranging from mass assignment to CSRF protection. (14 minutes)
5 View Tips
Episode #100Apr 07, 200877 comments

5 View Tips

Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest! (9 minutes)