64x64 icon dark hosting
Deploy New Relic now and get $135 off your Tuts+ subscription.


  • Ruby
    Why Rails?Why rails
    Your choice, when learning a new framework, is an incredibly important one. It takes countless hours and effort to become proficient and learn all the best practices - even for experienced developers. That's why it's necessary to understand the peculiarities of a framework as early as possible, in order to determine if it's the right solution for the problem that you're trying to solve. In this article, I'll cover many of the key areas of the Ruby on Rails framework, and why I feel that it's an excellent choice for web developers.Read More…
  • Ruby
    Building Single Page Web Apps With Sinatra: Part 2Sinatra logo
    In the first part of this mini-series, we created the basic structure of a to-do application using a Sinatra JSON interface to a SQLite database, and a Knockout-powered front-end that allows us to add tasks to our database. In this final part, we'll cover some slightly more advanced functionality in Knockout, including sorting, searching, updating, and deleting.Read More…
  • Ruby
    Building Single Page Web Apps with Sinatra: Part 1Sinatra logo
    Have you ever wanted to learn how to build a single page app with Sinatra and Knockout.js? Well, today is the day you learn! In this first section of a two-part series, we'll review the process fo building a single page to-do application where users can view their tasks, sort them, mark them as complete, delete them, search through them, and add new tasks.Read More…
  • Ruby
    Troubleshooting Ruby Performance ProblemsRuby performance troubleshooting
    In this video tutorial from New Relic, you'll see a full performance troubleshooting cycle from problem identification and diagnosis, to fixing the problem code, and then testing the optimized code and verifying the performance improvements. You will learn the fastest way to identify when your Ruby app is suffering from performance problems, how to narrow down your troubleshooting to the specific app component that is the source of the problem, and then seeing into that component to find exactly which code is causing your app to slow down and why.Read More…
  • Ruby
    Gem Creation with BundlerPrev image
    Building a gem used to be a complex task that would require either a precise knowledge of the gem format, itself, or some dedicated tools to generate a suitable boilerplate. These days, we can use the excellent Bundler to remove this complexity and keep the amount of generated code to a minimum.Read More…
  • Ruby
    Intelligent ActiveRecord ModelsLogo
    ActiveRecord models in Rails already do a lot of the heavy lifting, in terms of database access and model relationships, but with a bit of work, they can do more things automatically. Let's find out how!Read More…
  • Ruby
    How to Upload Files with Ease Using DragonFlyCode
    File uploads are generally a tricky area in web development. In this tutorial, we will learn how to use Dragonfly, a powerful Ruby gem that makes it easy and efficient to add any kind of upload functionality to a Rails project.Read More…
  • Ruby
    Writing an API Wrapper in Ruby with TDDApi wrapper for dribbble
    Sooner or later, all developers are required to interact with an API. The most difficult part is always related to reliably testing the code we write, and, as we want to make sure that everything works properly, we continuosly run code that queries the API itself. This process is slow and inefficient, as we can experience network issues and data inconsistencies (the API results may change). Let’s review how we can avoid all of this effort with Ruby.Read More…
  • Web Roundups
    24 Extremely Useful Ruby Gems for Web DevelopmentRuby
    One of the nicer things about developing on the Ruby platform is the sheer amount of meticulously categorized, highly reusable code wrapped up in the form of aptly named 'gems'. I'm sure you've heard of popular frameworks like Sinatra or the super popular Rails that ship as gems but you're missing an entire spectrum of others that handle issues at a much lower level. Start using these and watch your productivity shoot through the roof!Read More…
  • Ruby
    How to Use Faye as a Real-Time Push Server in RailsLogo
    There are multiple ways to add push functionality to an application, including Pushr and Pub-Nub, which are quite elegant and simple solutions. There are also some more advanced options. In this article, I’m going to show you how to use Faye, a messaging system that runs on both Ruby and Node.js.Read More…
  • Ruby
    The Intro to Rails Screencast I Wish I HadDeploy your first rails app
    Isn't it funny how most "introduction to Ruby on Rails" screencasts are overly simplistic, and rely on generators like scaffolding? The teacher typically follows up the tutorial by stating that most Rails developer don't use scaffolding generators. Well that's not much help then! I'd like to give you the tutorial I wish I had. Along the way, we'll also rely heavily on test-driven development to build a simple app. Read More…
  • Ruby
    How to Use Omniauth to Authenticate your Users Logo
    I hate signing up for websites. I’ve already signed up for so many, using different usernames, that going back to one of them and trying to remember my credentials is sometimes impossible. These days, most sites have begun offering alternative ways to sign up, by allowing you to use your Facebook, Twitter or even your Google account. Creating such an integration sometimes feels like a long and arduous task. But fear not, Omniauth is here to help. Omniauth allows you to easily integrate more than sixty authentication providers, including Facebook, Google, Twitter and GitHub. In this tutorial, I’m going to explain how to integrate these authentication providers into your app.Read More…
Suggested Tuts+ Course
MongoDB and Ruby$15