Support rails 4 protected attributes