• Ruby
    Digging Into Rails 4Digging rails
    Rails 4 is rapidly approaching. In this article, let's take a look at some of the new features that it offers, as well as the changes that may affect your current applications.Read More…
  • Ruby
    Active Record: The Rails Database BridgeRelational databases for dummies preview
    In the past, to build a web application, you required the skills to code in your business logic language and your database language. More recently, however, back-end frameworks are leaning toward using Object-Relational Mapping (ORM); this is a technique that lets you manage your database in the business logic language that you're most comfortable with. Rails uses an ORM in the form of Active Record. In this tutorial, we'll dive into Active Record and see what it can do for us!Read More…
  • Ruby
    Ruby on Rails Study Guide: Blocks, Procs, and LambdasRails history preview image
    Ruby is a language with a set of powerful features - the most powerful arguably being Blocks, Procs, and Lambdas. In short, these features allow you to pass code to a method and execute that code at a later time. Despite regularly using these features, many developers don't fully understand the subtle differences between them.Read More…
  • Ruby
    Ruby on Rails Study Guide: The History of RailsRails history preview image
    Ruby on Rails - or simply, Rails - is an open source, rapid web development framework, with a continuous goal of maximizing developer happiness and productivity. Created nearly a decade ago, Rails today forms the backbone of many of the most popular applications on the web, and has an incredibly vibrant and passionate community. In this study quide segment, we'll review the history of Ruby of Rails.Read More…
  • Ruby
    Building Ribbit in RailsRibbit rails
    Welcome to the next installment in our Twitter clone series! In this tutorial, we'll build Ribbit from scratch, not using PHP, but with Ruby on Rails. Let's get started!Read More…
  • Ruby
    How I TestHow i test
    In a recent discussion on Google+, a friend of mine commented, "Test-Driven Development (TDD) and Behavior-Driven Development (BDD) is Ivory Tower BS." This prompted me to think about my first project, how I felt the same way then, and how I feel about it now. Since that first project, I've developed a rhythm of TDD/BDD that not only works for me, but for the client as well.Read More…
  • 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…