RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

everydayrails — 15 posts

I've updated Everyday Rails Testing with RSpec to cover RSpec 3, Rails 4.1 (and newer), the latest Capybara and Factory Girl, testing APIs, and more. It's 190-ish pages, DRM-free, and available in PDF, MOBI, and EPUB formats. Free for existing readers. Hope you'll check it out!
I’m happy to tell you that Everyday Rails Testing with RSpec has been translated to Japanese and is now available on Leanpub. The team of translators has worked hard over the past several weeks to not only deliver this edition for Japanese-reading audiences, but also help me make the English version better by making several suggestions. For their efforts, they will receive 100% of the book royalties for the Japanese version.

Everyday Rails Testing with RSpec is my practical guide to learning to test your Rails application using RSpec, Capybara, and Factory Girl. It’s also available in Chinese and the original English.
Last week, in the Everyday Rails blog, I mentioned one of my favorite episodes of Ruby Tapas. The particular episode shows how Avdi uses RSpec and an outside-in testing process to drive development.

Avdi was kind enough to make the episode available for free streaming in my post. Please check it out, and support Ruby Tapas if you're not already. Thanks!
Hi, I've updated Everyday Rails Testing with RSpec for Rails 4.0, RSpec 2.14, Factory Girl 4.2, and Capybara 2.1. It's 150-ish pages, DRM-free, and available in PDF, MOBI, and EPUB formats.

The update is free for everyone who's already purchased the book--check your email or head over to Leanpub to download.

New readers can grab a copy for just $12.

I just released a major update to Everyday Rails Testing with RSpec, my intro book on testing heretofore untested Rails applications. Of note, the update now covers the Capybara 2.0 DSL and RSpec's preferred expect() syntax. I also rewrote the chapters on model specs and factories.

The update is free to anyone who's already purchased the book, or you can buy a copy starting at $9 on Leanpub's sliding scale (suggested price is $15).
A series of posts I did recently on Everyday Rails about how I learned to test Rails applications (using RSpec) gained a bit of traction, so I decided to make an extended ebook version. You can read about the details on Everyday Rails and then head over to the book's page on Leanpub to pick up the advanced access version for $9 US. Thanks!
Legacy migrations in Rails
I posted some advice on legacy migrations, based on Zach Holman's article on the same topic a couple of years ago and my own recent experience migrating a few datasets to new applications. I'd appreciate any feedback or additions you might have. Thanks!
Hi, Aaron from Everyday Rails here. At my day job I'm one of a tiny group of Ruby developers at the University of Kansas, and I'm hoping to find other developers working in education. I've created EduRuby, a Google Group for Rubyists working in the educational field (developers, academics, system administrators, instructors ...). If you fall under that umbrella I hope you'll join--I'm interested in exploring how we use Ruby to support learning and building connections between Ruby-minded educators. Thanks for your time--
Since the topic of how to learn Ruby and Rails has been a hot one of late, and I'd been thinking about it myself for awhile, I thought I'd throw my two cents on getting started with Ruby (and Rails) into the mix. Comments and suggestions are much appreciated; I'm using this to help future new employees get up to speed.
I just posted a walkthrough of the steps I took to set up RVM an Passenger for development in Rails 3 and Rails 2.3, using project-specific gemsets. These are the steps that worked for me; if you have suggestions I'd like to hear those as well.
I've written a quick intro tutorial on using Chronic and Chronic Duration to parse user-entered date/time strings ("tomorrow," "8/12/10," "next tuesday") and duration strings ("3 minutes 45 seconds," "2 hours"). I like using these in conjunction with fancy datepickers in my applications. Hope you find it useful.
On Everyday Rails, my blog targeted toward beginner-to-intermediate Rails developers, I'm trying to collect a list of free books on Ruby on Rails that people can either download or read online. I've got the obvious ones but if you know of others I'd appreciate it if you could add them in the comments. Thanks!
I've added a tutorial on Everyday Rails to show how to move Paperclip uploads out of the public directory and limit who may download them. It's based on how I've done this in a few applications at work for groups who need to keep files private--hope you find it useful.
RVM and Rails 3 walkthrough
After discussing the merits of RVM for trying out Rails 3 without disrupting one's development environment with some local Rubyists, I wrote this quick walkthrough of installing RVM and a Rails 3 gemset targeted toward people who haven't used RVM.
I've started a new blog for people who are somewhere between Rails newbies and advanced Ruby developers, called Everyday Rails. So far I've written about Rails application templates and the Nifty Generators gem. I'm going to keep writing a couple of times a week--hope you find it useful.