Skip to content

Instantly share code, notes, and snippets.

@dallarosa
Created January 17, 2011 19:50
Show Gist options
  • Save dallarosa/783348 to your computer and use it in GitHub Desktop.
Save dallarosa/783348 to your computer and use it in GitHub Desktop.
class TasksController < ApplicationController
def start
require("textanalysis.rb")
a = TextAnalysis.new
a.start
flash[:notice] = "Processing"
redirect_to :action => "show"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment