Moving @picture in pictures_controller.rb into database