All posts tagged as "rails"

Writing Tests for Rails: Continuous Integration

Around this time last year, I wrote a series of posts on writing tests for Rails apps using rspec and Capybara, beginning with the…

More (5 min read) →

Using Nested Selects for Performance in Rails

Databases are fast, even at performing fairly complex operations. This is easy to forget in the age of ORMs and abstraction and many of us…

More (5 min read) →

Making Magic with contenteditable-"true"

I love this team. I love the product and engineering team at Aha! because we believe in objectively prioritizing work. To truly build what…

More (4 min read) →

Writing Tests for Rails: Controllers

In the previous post, I discussed writing model tests to enhance the coverage of your test suite. In this final post, I’ll cover one other…

More (4 min read) →

Writing Tests for Rails: Models

In the previous post, I finished up covering how to write comprehensive feature tests for Rails applications. Feature tests will do the…

More (6 min read) →

Writing Tests for Rails: Features

In the last post, I covered mocking data with FactoryGirl and writing a basic feature test using mocked data. In this article, I’ll cover…

More (12 min read) →

Writing Tests for Rails: Factories

In the last post, I covered setting up the rspec test environment and writing your first basic feature test. In this post, I’ll cover using…

More (5 min read) →

Writing Tests for Rails: Setup

In the last post, I introduced this blog series on writing effective tests for Rails and briefly reviewed the test stack we’ll be using. In…

More (5 min read) →

Writing Tests for Rails: Introduction

Regardless of where you fall on the endless discussion surrounding test-driven development, solid tests are absolutely essential for any…

More (6 min read) →

Using Bower with Rails

Bower, the open-source frontend package manager developed by Twitter, is quickly gaining the affections of the NodeJS community (among…

More (4 min read) →

Google OAuth2 and Rails

Today, I had to work my way through integrating Google OAuth2 authentication API access with my Ruby on Rails application, to lay the…

More (17 min read) →