Movin @pictures in pictures_controller.rb into db