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:
In the past, time zones have been very difficult to work with, but no longer! Rails 2.1 brings with it great time zone support as you can see in this episode.
Rails 2.1 Release Candidate 1 was just released! In this episode I will show you how to install it into your Rails project.
If you're running a production site, it's a good idea to record all exceptions which occur. See how to set up a notification system which does that in this episode.
Sometimes you need to display an administrative announcement to every page on the site and give the users the ability to hide the announcement. See how in this episode.
Usually a select menu is used for setting a belongs_to association, but in this episode I will show you how to use a text field with auto completion.
If you have complex view logic, this can easily lead to helper methods which call each other. See how to refactor this out into another object in this episode. This is also known as the presenter pattern.
Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest!
How do you handle partials which have differences depending on the action which is rendering them? Here's three suggestions for this problem.
You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details.
In order to improve performance of your Rails application you need to find the bottlenecks. A great starting point is your production log. In this episode you will see how to use RAWK to analyze your log file and determine which controller actions take up the most processing time.
Git has been getting a lot of buzz lately, and for good reason. It's an excellent SCM which in many ways is more simple and powerful than subversion. See how to set up a Rails project with Git in this episode.
See how to handle authentication and custom actions using ActiveResource in this episode.
ActiveResource allows you to easily communicate between multiple Rails applications. See how in this episode.
Action caching behaves much like page caching except it processes the controller filters. You can also make it conditional as seen in this episode.
The make_resourceful plugin is a great way to DRY up the 7 RESTful actions common in most controllers. Learn how to use it in this episode.