Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
30 def new 31 if params[:integration] 32 debugger 33 @integration = params[:integration][:type].constantize.new({:is_being_created => true}.merge(params[:integration])) 34 @integration_file = @integration.build_integration_file({:is_active => true}.merge(params[:integration_file])) 35 36 @integration.save(false) 37 38 generate_file_preview_and_mapping_drop_down 39 end 40 end
This paste will be private.
From the Design Piracy series on my blog: