Joined January 2013
·
Posted to
Guard + Spork on Rails 4 with RSpec and Cucumber
over 1 year
ago
Thanks for the tips! Will change it right away :-)
Posted to
Turbo Testing with Spring
over 1 year
ago
I didn't try it, but I suppose it does. The change to your Guardfile should be minimal: replace any call to rspec or cucumber with bin/rspec and bin/cucumber.
Posted to
Sublime Text Symlink
over 1 year
ago
This works for sublime 2 as well.
Also, it's commonly used as subl, instead of sublime. Saves you a bit of typing ;)
Posted to
ActiveRecord empty? vs count
over 1 year
ago
It'd be nice to know why .empty? is faster. Maybe try increasing your sample size and averaging the result for a more convincing result.
It's always nice to know more about optimisation of AR queries!
Posted to
10 things I usually do after creating rails app on heroku
over 1 year
ago
Did you try Puma instead of Unicorn?
Achievements
241 Karma
11,184 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Nowadays it's best to just use Spring, which comes bundled with Rails 4.1 and up, rather than use guard. Spring is easier to use.