Support Rails.version properly by using .to_s not .to_f