Remove Rails 3 dependency, and attr_accessible, no Rails 3 support