@ -37,6 +37,7 @@ class HacksController < ApplicationController
def create
begin
logger.info("##########{hack_params}")
hack = Hack.new(hack_params)
ActiveRecord::Base.transaction do
hack.user_id = current_user.id