update configuration for rails 3.2
Add attr accessible