Ryan Bates

Episode 61: Sending Email


over 3 years ago by Ryan Bates on Railscasts.
This is a brief guide to sending email in Rails. See how to configure the environment, generate a mailer, create a template, and deliver the mail....

Episode 62: Hacking ActiveRecord


over 3 years ago by Ryan Bates on Railscasts.
Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This episode...

Episode 63: Model Name in URL


over 3 years ago by Ryan Bates on Railscasts.
By default, Rails uses the model's id in the URL. What if you want to use the name of the model instead? You can change this behavior by overriding the...

Episode 64: Custom Helper Modules


over 3 years ago by Ryan Bates on Railscasts.
Rails designates one helper module per controller, but that shouldn't stop you from making custom helper modules to help structure the code. Learn how in...

Episode 65: Stopping Spam with Akismet


over 3 years ago by Ryan Bates on Railscasts.
The Railscasts site has been getting a lot of comment spam in the past, but no longer. In this episode I will show you how I solved this problem by using...

Episode 66: Custom Rake Tasks


over 3 years ago by Ryan Bates on Railscasts.
Rake is one of those tools that you don't realize how powerful it is until you start using it. In this episode you will learn how to create custom rake...

Episode 67: restful_authentication


over 3 years ago by Ryan Bates on Railscasts.
Need multiple user authentication? If so, the restful_authentication plugin is a great way to go. It will generate some basic authentication code for you...

Episode 71: Testing Controllers


over 2 years ago by Ryan Bates on Railscasts.
Controllers are tricky to test, and there's no perfect way to do it. In this episode you will see how I test controllers, and my reasoning behind it....

Episode 68: OpenID Authentication


over 3 years ago by Ryan Bates on Railscasts.
Ever wonder how to implement OpenID authentication in your Rails app? This episode will show you how to add it to a site with an existing authentication...

Episode 69: Markaby in Helper


over 3 years ago by Ryan Bates on Railscasts.
Do you ever need to generate HTML code in a helper method? Placing it directly in Ruby strings is not very pretty. Learn a great way to generate HTML through...