fixed problem with ActiveRecord relation in post survey controller
fixed small bug in survey view