why did you change view.name to params[:content_view][:name]?