Closed pelle closed 12 years ago
instance_methods returns an array of strings in Ruby 1.8.x as opposed to symbols in 1.9.x.
This broke our rails app completely.
I've changed it to use instance_of? instead which should work in all versions of Ruby.
Looks good. Thanks!
instance_methods returns an array of strings in Ruby 1.8.x as opposed to symbols in 1.9.x.
This broke our rails app completely.
I've changed it to use instance_of? instead which should work in all versions of Ruby.