Good point. However, my pull request is simply adding the `if defined? ::Rails` block - the original code is what makes use of `::Rails.version`. I'd prefer to see that issue fixed in a separate commit.