Added attr_accessible to pin.rb for Heroku