check attribute_methods_generated? before trying to define_named_record_methods to work around rails 3.2 potentially recursively locking a non-recursive mutex trying to define the attribute methods.  bump to 3.0.1.
remove support for rails 2.x, which ran out of security update coverage ages ago - use older versions from git if you need them