rails 3 attr_accessible fixes