I'm seeing a handful of gem bugs on rails3 that are going unresolved because the fix breaks the gem on rails2.
What is the preferred way to add rails version conditions to a gem?
Is checking the Rails::VERSION::STRING what folks should be doing?
if Rails::VERSION::STRING.start_with?("3") do rails 3 stuff else do what u were doing end
Seems like that would break something once Rails 4 comes out.
Pointers to best practices appreciated. Thanks Tony Primerano