Erik Hanson's blog
Ask for Help
"
window.onhashchangedoesn't work in Android's version of WebKit?"
The event exists, but it doesn't ever get fired. Apparently this also happens in Mobile Safari. Does anyone know how to get it to work?
"What's the latest and greatest replacement for acts_as_list?"
Apparently there's no fabulous replacement for acts_as_list.
Interesting Things
- Apigee to-go will make an API console for your site.
- Ruby Gems 1.6.1 is out.
Ask for Help
"'Teamcity formatter missing' error?"
Any ideas how to work around a "Teamcity formatter error" message when running specs (using RSpec 2) in RubyMine?
" Paperclip breaks when a filename contains a '#' character"
Apparently this has been fixed but not released?
Interesting Things
Selenium Conference is taking place in San Francisco on April 4-6.
MongoDB apparently stores pre-epoch dates as far-future dates and converts them back from future to past dates automatically. However, it does not convert them when searching or sorting.
Ask for Help
"Has anyone else had their Selenium tests break after upgrading from rails 2.3.8 to 2.3.11?"
One team was using Rack 1.1.0, Mongrel 1.1.5 and Rails 2.3.8. When they upgraded to Rails 2.3.11, their Selenium tests started failing. After some investigation they found this commit which they used to create a monkeypatch for Rack 1.1.0:
# Back-porting this patch: https://github.com/rack/rack/commit/f6f3c60938ea3b08f3292a2480e6753c293584e5
module Rack
module Utils
class HeaderHash < Hash
def [](k)
super(@names[k]) if @names[k]
super(@names[k.downcase])
end
end
end
end
Anyone have a better solution?
"Slower test suite with Spork?"
Spork can speed up the start-up time of your test suite, but has anyone seen it slow down the overall test run? One Pivot was seeing a 10% slowdown in overall suite speed.
Interesting Things
- Postgres can write a lot of stuff to your logs. You can quiet it down with the silent-postgres gem and by adding min_messages to database.yml
- RubyMine 3.1 has support for Spork!
