Fixed a minor syntax error. format.json was ommitted. Additionally, removed a field from the list of attr accessible.
Merge pull request #331 from kcarcia/testing2

Minor changes to a model and controller file