RailsCasts (Mobile)
Summary: Every other week you will be treated to a new, free RailsCasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. A Pro option is also available containing more screencasts each week. This version is for mobile devices which cannot support the full resolution version.
- Visit Website
- RSS
- Artist: Ryan Bates
Podcasts:
This episode will show you how to make a model which isn't based on Active Record. You may want to do this if a resource isn't backed by the database.
If you need a full text search engine, Thinking Sphinx is a great solution. See why in this episode.
If you have a lot of logic associated with the data inside a session, you'll need some central location to put this logic. See how to create a session based model in this episode.
Liquid is a safe way to provide a powerful template language to the site's users. See how in this episode.
Static pages can sometimes be a little awkward to add to a Rails app. See a couple different solutions to this problem in this episode.
Selenium is a great way to test your app automatically through a browser. See how it works in this episode.
Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode.
Ever wondered how some sites seem to have endless scrolling page with no pagination? Find out how easy it is to do this in Rails in this episode.
If you want Rails to behave a certain way, try changing it and submitting a patch. This episode will show how to do exactly this using Git.
The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form.
If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will show you how to handle this by creating a Search resource.
In Rails 2.1 we now have the ability to set gem dependencies. Now it's easier than ever to specify which ruby gems our rails app relies on.
Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha! See this episode for details.
The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode.
Migrations now have a timestamp as their version number in Rails 2.1. In this episode I will explain this change as well as show you some other cool additions.