Railscasts (iPod & Apple TV)
Three times a week you will be treated to a new 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 ...
Three times a week you will be treated to a new 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. Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Show all Visit Show Website http://www.railscasts.comRecently Aired
-
HD
#46 Catch-all Route
Sometimes you need to add complex/dynamic routes. This is often ...
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 catc...
-
HD
#45 RJS Tips
This episode is packed with little RJS goodies. Learn the ...
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 effec...
-
HD
#44 Debugging RJS
RJS and AJAX can be difficult to debug. Many times ...
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 tri...
-
HD
#43 AJAX with RJS
This episode will walk you through adding AJAX functionality to ...
This episode will walk you through adding AJAX functionality to a form using RJS. See how to easily update multiple elements on a page.
-
HD
#42 with_options
Several methods in rails take a hash of options as ...
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 d...
-
HD
#41 Conditional Validations
By default, validations will take place every time the model ...
By default, validations will take place every time the model is saved. Sometimes you only want a validation to happen when certain conditions are m...
-
HD
#40 Blocks in View
If you try to create a helper method which accepts ...
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.
-
HD
#39 Customize Field Error
When a validation error occurs, Rails helpfully wraps the field ...
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 th...
-
HD
#38 Multibutton Form
If you have a form with multiple buttons, you can ...
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.
-
HD
#37 Simple Search Form
A search form is quite different than other forms, this ...
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 ...