Ruby on Rails Tutorials


We hope that you will enjoy our Ruby on Rails tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own Ruby on Rails tutorials to our site. Thank you !

Sort by:
Rails 101: Introduction
Rails 101: Introduction
Wanting to learn Rails from the very basics at your own pace, with screencasts / articles showing examples? This should suit you nicely. First of a series.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Rails 101: File Structure
Rails 101: File Structure
2nd in the Rails 101 series. This screencast deals with explaining the hierarchy of files created by Rails, as it can be daunting to begin with.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Rails 101: Routing
Rails 101: Routing
Rails produces some pretty nice URLs. The URLs don't setup automatically though, you need to setup routes to match them to sections of your application. In this screencast you'll learn how they work, and how to set them up yourself.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Looping Through Flash
Looping Through Flash
Displaying flash messages in the layout can be a pain at times. In this episode you will learn an easy way to display any kind of flash message by looping through the hash.
Category: Ruby on Rails tutorials > Basics - Difficulty:
HABTM Checkboxes
HABTM Checkboxes
It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode will show you how to do exactly that.
Category: Ruby on Rails tutorials - Difficulty:
Ruby on Rails - Week 4
Ruby on Rails - Week 4
This week we're going to talk about ruby syntax. After this tutorial, I believe that you'll have a much better understanding of the framework and feel much more comfortable doing things by yourself.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Virtual Attributes
Virtual Attributes
Keep your controllers clean and forms flexible by adding virtual attributes to your model. This very powerful technique allows you to create form fields which may not directly relate to the database.
Category: Ruby on Rails tutorials > Refactoring - Difficulty:
Performing Calculations on Models
Performing Calculations on Models
Did you know ActiveRecord provides class methods for performing calculations on models? You can even use these methods through associations.
Category: Ruby on Rails tutorials - Difficulty:
Refactoring User Name Part 2
Refactoring User Name Part 2
Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure you don't change the behavior while you are improving the code.
Category: Ruby on Rails tutorials > Testing - Difficulty:
Refactoring User Name Part 3
Refactoring User Name Part 3
In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.
Category: Ruby on Rails tutorials > Testing - Difficulty:
Dangers of Model in Session
Dangers of Model in Session
Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.
Category: Ruby on Rails tutorials - Difficulty:
Filtering Sensitive Logs
Filtering Sensitive Logs
Are you accepting sensitive user data? Passwords, credit card numbers, etc. By default, Rails stores all submitted parameters in plain text in the logs. This episode will show you how to filter this sensitive input so it doesn't show up in the log file.
Category: Ruby on Rails tutorials > Security - Difficulty:
Ruby on Rails from Scratch: Week 3
Ruby on Rails from Scratch: Week 3
We're going to talk about manipulating the structure of the project in two ways (rendering & redirecting). We'll also talk about how you add links in rails, and how to comment code.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Ruby on Rails from Scratch: Week 2
Ruby on Rails from Scratch: Week 2
This week, we'll do a little bit more with getting an actual page up and running. We'll also work on adding more interactivity by embedding ruby in HTML and learning a little about variables. After that, we'll learn more about Ruby's beautiful URL structure and how to manipulate it, plus other things as well.
Category: Ruby on Rails tutorials > Basics - Difficulty:
Rails 101: Routing
Rails 101: Routing
Rails produces some pretty nice URLs. The URLs don't setup automatically though, you need to setup routes to match them to sections of your application. In this screencast you'll learn how they work, and how to set them up yourself.
Category: Ruby on Rails tutorials > Routes - Difficulty:
Total Tutorials in Category: 119