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 9: Filtering Sensitive Logs


~5 years ago by Ryan Bates on Railscasts.
Are you accepting sensitive user data? Passwords, credit card numbers, etc. By default, Rails stores all submitted parameters in plain text in the logs...

Episode 8: Layouts and content_for


~5 years ago by Ryan Bates on Railscasts.
If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that can be...

Episode 8: Layouts and content_for


~5 years ago by Ryan Bates on Railscasts.
If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that can be...

Episode 7: All About Layouts


~5 years ago by Ryan Bates on Railscasts.
Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there really are...

Episode 7: All About Layouts


~5 years ago by Ryan Bates on Railscasts.
Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there really are...

Episode 6: Shortcut Blocks with Symbol to_proc


~5 years ago by Ryan Bates on Railscasts.
It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily....

Episode 6: Shortcut Blocks with Symbol to_proc


~5 years ago by Ryan Bates on Railscasts.
It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily....

Episode 5: Using with_scope


~5 years ago by Ryan Bates on Railscasts.
Learn how to use with_scope - a very powerful method which will allow your custom find methods to accept any find options. Just like magic!...

Episode 5: Using with_scope


~5 years ago by Ryan Bates on Railscasts.
Learn how to use with_scope - a very powerful method which will allow your custom find methods to accept any find options. Just like magic!...

Episode 4: Move Find into Model


~5 years ago by Ryan Bates on Railscasts.
Move a find into the model to clean up the controllers and remove duplication. Also see how you can call these custom find methods through an association...