Ryan Bates

Episode 71: Testing Controllers


over 4 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 4 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 4 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...

Episode 70: Custom Routes


over 4 years ago by Ryan Bates on Railscasts.
In this episode you will learn how to add custom routes, make some parameters optional, and add requirements for other parameters....

Episode 72: Adding an Environment


over 4 years ago by Ryan Bates on Railscasts.
Rails comes with three environments: development, test, and production. But, you aren't restricted to just these. You can add your own! See how in this...

Episode 73: Complex Forms Part 1


over 4 years ago by Ryan Bates on Railscasts.
Complex forms often lead to complex controllers, but that doesn't have to be the case. In this episode see how you can create multiple models through a...

Episode 76: scope_out


over 4 years ago by Ryan Bates on Railscasts.
The scope_out plugin will generate several helpful find methods for you automatically! It's the best way to move the find conditions into your model. Watch...

Episode 74: Complex Forms Part 2


over 4 years ago by Ryan Bates on Railscasts.
See how to use Javascript and RJS to add and remove form fields dynamically. This episode will build upon the previous episode allowing you to create any...

Episode 75: Complex Forms Part 3


over 4 years ago by Ryan Bates on Railscasts.
In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding...

Episode 77: Destroy Without JavaScript


over 4 years ago by Ryan Bates on Railscasts.
If the user has JavaScript disabled, the "Destroy" link might not work properly. In this episode I will explore a number of ways to work around this issue...