Fixed attr_accessible for endpoint.

Arrg. Got to move to Rails 4.0