Added therubyracer to the gemfile
Work on blogposts controller
Replaced attr_accessible with attr_accessor