Rails 3 0 x support