Ruby on Rails Tutorials



Featured Tutorial
Feature your own tutorial here! Find out more.
Handling SQL injection and XSS in Rails
Submitted by Zach Holman » The unfortunate part about learning a new language or technology is that there's typically little focus on security matters. Rails gives you a lot of time-saving helpers and methods, but you still need to understand where your app might be vulnerable. This is a quick overview of protecting your code against SQL injection attacks and cross-site scripting exploits.
Rating: 4.5/5 | 502 clicks | 0 comments | 0 saves | share | report
Building RSS Feeds in Rails 2.0
Submitted by RailsJitsu » Here's a quick way to build an RSS feed using some of the new features in Rails 2.0.
Rating: 4.0/5 | 2,143 clicks | 0 comments | 2 saves | share | report
Nested Resources in Rails 2
Submitted by Adam @ Heroku » Nested resources were introduced in Rails 1.2 and are touted as the Right Way to do REST with parent-child model associations. If your app has a url that reads something like /employees?company_id=1, a switch to nested resources would cause it to read /companies/1/employees. Here's a detailed guide to developing with these new changes in mind.
Rating: 5.0/5 | 2,383 clicks | 0 comments | 2 saves | share | report
How to set a character limit for a Ruby on Rails RSS feeds
Submitted by bigimaginations » I was making a RSS feed the other day and wanted to limit the number of characters in my description. Here is how I did it.
Rating: 4.0/5 | 2,964 clicks | 1 comment | 0 saves | share | report
Debug Your Rails App With ruby-debug
Submitted by SitePoint » In this article we'll look at an alternative debugging tool for debugging Rails applications (or any Ruby script, for that matter) while still remaining up-to-date with the latest version of the Ruby interpreter. This tool is even slated to be bundled with future releases of Rails.
Rating: 4.0/5 | 3,508 clicks | 0 comments | 0 saves | share | report
Learn Ruby on Rails: the Ultimate Beginner's Tutorial
Submitted by SitePoint » While it certainly makes no attempt to constitute a complete guide to the Ruby language, this tutorial will introduce you to some of the basics of Ruby. We'll power through a crash-course in object oriented programming, covering the more common features of the language along the way, and leaving the more obscure aspects of Ruby for a dedicated reference guide. I'll also point out some of the advantages that Ruby has over other languages when it comes to developing applications for the Web.
Rating: 5.0/5 | 6,175 clicks | 1 comment | 0 saves | share | report
Initial Server Configuration
Submitted by NeoGT » With Rubyforge and RubyGem, learn how to configure the initial runtime with all necessary features included when you're trying to set up Ruby on Rails on Windows.
Rating: 3.0/5 | 4,549 clicks | 0 comments | 0 saves | share | report
Getting Your Feet Wet With Ruby on Rails
Submitted by Webmonkey » This is an entry-level tutorial for those new to both Ruby and to Rails. It will give you an overview of what both are (and aren't), how to get started with RoR development, and how to make your first website with RoR.
Rating: 3.5/5 | 7,051 clicks | 1 comment | 0 saves | share | report
Ruby Tutorial
Submitted by luke101 » This is a beginners guide to Ruby Programming. You will find detailed charts, graphs and diagrams to help you understand what you are reading. The examples are short and to the point so you don't have to sift through long pieces of code while trying to learn Ruby on Rails.
Rating: 4.0/5 | 7,964 clicks | 0 comments | 1 save | share | report
How to Build a Wiki With Ruby on Rails
Submitted by Ruby Inside » A tutorial walking you through the process of building a wiki system using Ruby on Rails.
Rating: 3.0/5 | 8,820 clicks | 0 comments | 2 saves | share | report