Throughout the course of your Rails career, you’re bound to have to work on an existing Rails application. If you’re doing consulting, this can be a process you have to go through time and time again in order to get …Continue reading
MiniTest is the preferred method of testing in Ruby 1.9.3 and up. Ruby is currently at version 2.1.2, so if you haven’t taken a look at MiniTest just yet, I recommend checking it out. There are some compelling features of …Continue reading
In this short video Jason Seifer, our Ruby expert, shows you how to upload images using Dragonfly in Ruby. Dragonfly is a framework that enables on-the-fly processing for any content type. It is especially suited to image handling. It can …Continue reading
In this Treehouse Quick Tip, Jason demystifies the concepts behind what a has many :through association is in Ruby on Rails. We’ll figure out what a join table is, how different models fit together, and the syntax needed to make …Continue reading
Sam Soffes is a iOS and Rails software engineer, musician, wanna be designer, and burger connoisseur. He lives in Lousiville, KY right now, but will be moving back to San Francisco in the fall. He previously worked at Hipstamatic, but …Continue reading
The Rails core team recently introduced a project called strong parameters. Strong parameters is the latest tool in the fight against mass assignment vulnerabilities. Let’s take the problem of your typical web form that creates a user. Your code might …Continue reading
In this 3:45 minute video, you’ll learn what blocks are, how they work in Ruby, and how to create blocks in your Ruby programs.
In this 3:44 minute video, you’ll learn what loops are, how they work in Ruby, and how to use loops in your Ruby programs.
In this 8:30 minute video, you’ll learn what methods are, how they work in Ruby, and how to create instance methods yourself.
In this 7:18 minute video, you’ll learn what hashes are, how they work in Ruby, and how to create them yourself.