Moving @pictures in pictures_controller.rb into database - now working