Removed attr_accessible from model for Rails 4 support