RailsCasts (Mobile) show

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.

Podcasts:

 #46 Catch-all Route | File Type: video/mp4 | Duration: 5:58

Sometimes you need to add complex/dynamic routes. This is often impossible to do in routes.rb, but do not worry. It can be accomplished with a catch-all route. See how in this episode.

 #45 RJS Tips | File Type: video/mp4 | Duration: 7:30

This episode is packed with little RJS goodies. Learn the different ways to access an element, how to add "if" conditions and how to apply an effect to multiple elements.

 #44 Debugging RJS | File Type: video/mp4 | Duration: 7:18

RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode.

 #43 AJAX with RJS | File Type: video/mp4 | Duration: 11:34

This episode will walk you through adding AJAX functionality to a form using RJS. See how to easily update multiple elements on a page.

 #42 with_options | File Type: video/mp4 | Duration: 3:55

Several methods in rails take a hash of options as the last argument. If you are passing the same options to several methods, you can remove this duplication by using with_options. Learn all about it in this episode.

 #41 Conditional Validations | File Type: video/mp4 | Duration: 4:59

By default, validations will take place every time the model is saved. Sometimes you only want a validation to happen when certain conditions are met. See how to do that in this episode.

 #40 Blocks in View | File Type: video/mp4 | Duration: 9:06

If you try to create a helper method which accepts a block, you will run into a few gotchas. Learn the secrets of blocks in views in this episode.

 #39 Customize Field Error | File Type: video/mp4 | Duration: 3:30

When a validation error occurs, Rails helpfully wraps the field in a div tag so you can style it. But sometimes you don't want this behavior. In this episode you will see how to customize it.

 #38 Multibutton Form | File Type: video/mp4 | Duration: 4:26

If you have a form with multiple buttons, you can detect which button was clicked by checking the passed parameters. Learn how in this episode.

 #37 Simple Search Form | File Type: video/mp4 | Duration: 6:28

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.

 #36 Subversion on Rails | File Type: video/mp4 | Duration: 8:50

This episode will walk you through setting up a Rails project on subversion. It covers some helpful tips and gotchas you may experience along the way.

 #35 Custom REST Actions | File Type: video/mp4 | Duration: 8:44

REST adds many constraints. It restricts your controllers to seven actions. Normally this is okay, but sometimes you need to add your own custom actions. Learn how in this episode.

 #34 Named Routes | File Type: video/mp4 | Duration: 6:39

When you add a custom route, make it a named route so you have url helper methods to easily link to that new route. See episode for details.

 #33 Making a Plugin | File Type: video/mp4 | Duration: 7:55

You can sometimes remove a lot of duplication by generating methods dynamic. In this episode I will show you how to create a plugin which does exactly that.

 #32 Time in Text Field | File Type: video/mp4 | Duration: 5:22

Although Rails does allow you to edit time attributes with text fields, it's not very flexible. In this episode you will learn how to use a virtual attribute to format the time to your liking.

Comments

Login or signup comment.

Saumya says:

oohp.