Fascinating and useful lesson from Linus on reverting ("undoing") a merge in git
Also includes a revert of a revert. :)
Inkling Code
Selenium Broken on Rails 2.2
We are in the process of moving to Rails 2.2. A couple things we’ve had to fix. One of them was this here Selenium. The latest github repository has part of the patch to get this fixed, but we still had to fix the generate_and_wait_actions method for some reason as mentioned in the original patch in this thread.
MySQLTuner
Might be a painless way to tune MySQL
Running single shoulda tests
Shoulda is a great addition to normal Rails testing by the way. Javan Makhmali introduced it to us.
I’ve read elsewhere that you can use regular expressions to run single shoulda tests, because I still don’t have autotest setup. Uggh.
So say you have a shoulda test like:
should “login user with a test saml response from OpenSSO” do
end
to run that on the command line just do a:
ruby test/functional/user_controller_test.rb -n /’login user with a test saml response from OpenSSO’/
or if some of those words are more unique to this test this will work:
ruby test/functional/user_controller_test.rb -n /’OpenSSO’/
normalize until it hurts, denormalize until it works.
Coding Horror: Maybe Normalizing Isn’t Normal
It feels pretty badass
CodeClimber: Burning the midnight oil
A few notes on using Passenger (mod_rails) with Mac OS X | 2fkd
mod_rails has me pretty giddy. this was some help on getting it to work on osx. make sure to install apache from source and get apxs on your PATH
I’m so sick of blogging software. code.inkling is now going to be tumblr