Commit 9ee34375

mo khan <mo@mokhan.ca>
2014-05-29 04:18:22
drop a ticking time bomb to see if a piece of code is ever actually executed.
1 parent b812aa5
Changed files (1)
app
controllers
app/controllers/my/photos_controller.rb
@@ -19,6 +19,7 @@ module My
     def create
       attributes = photo_params
       if params[:photo][:image].class == Array
+        raise "heck"
         attributes[:image] = params[:photo][:image].first
       end