Assignment & Then Some I recently ran across a rather odd looking bit of Ruby while browsing the Database Cleaner readme. DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]} That looks really wierd to me. Assignment, with some additional parameters. Odd, but after looking at it, it makes sense what they are...

There a lot of examples out there about how to manage dotfiles. There are also many examples out there on how to install them using custom shell scripts or other tools. They all have their ups and down. I've tried plenty of them. I've also worked on complicated scripts with...

Site Prism has been really helpful with implementing the Page Model Pattern using Capybara. It's helped make our Cucumber steps more reusable and does a better job of describing what the page should look like. Take for example the following page. class LoginPage < SitePrism::Page element :email, "#login_email" element :password,...

Recently we started logging everything to STDOUT and pipeing to syslog. This is simpler than collating several different log files. Checkout Better Rails Logging for more motivations behind logging everything to STDOUT. Making the applications log to STDOUT was the easy part. It's built into Ruby. Rails.logger = Logger.new(STDOUT) Anywhere...

I've really been digging Trigger.io. We're really rocking our app. There are few areas that Trigger could definitely improve. Debug logging is one of those. They have their own tool called Catalyst which exports the developer console of the simulator's app to your browser. I haven't been able to get...