Railscasts
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.
Episode 41: Conditional Validations
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 41: Conditional Validations
over 4 years ago by Ryan Bates on Railscasts.
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...
Episode 40: Blocks in View
over 4 years ago by Ryan Bates on Railscasts.
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....
Episode 40: Blocks in View
over 4 years ago by Ryan Bates on Railscasts.
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....
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 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 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 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...
