Ryan Bates
Episode 39: Customize Field Error
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 38: Multibutton Form
over 4 years ago by Ryan Bates on Railscasts.
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....
Episode 37: Simple Search Form
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 36: Subversion on Rails
over 4 years ago by Ryan Bates on Railscasts.
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....
Episode 35: Custom REST Actions
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 34: Named Routes
over 4 years ago by Ryan Bates on Railscasts.
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....
Episode 33: Making a Plugin
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 32: Time in Text Field
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 31: Formatting Time
over 4 years ago by Ryan Bates on Railscasts.
Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use....
Episode 30: Pretty Page Title
over 4 years ago by Ryan Bates on Railscasts.
If you are like me, you avoid creating page titles because it is kind of a pain. But in this episode I will show you a clean way to add titles to your pages...
