Fix Rails 3.1 deprecation warnings

closes #32
Fix deprecation warnings from inheritable_attributes