bloudermilk/acts_as_async — Issue #3: Add support for dynamic methods for exisiting private methods on my model
Author: jlsuttles
Created: 2012-01-04 02:02:27+00:00
State: open

class Import < ActiveRecord::Base

acts_as_async

after_create :async_parse_csv

private

def parse_csv
# does stuff
end

end

Results in error:

NoMethodError in Admin::ImportsController#create
Tried to async the method parse_csv but it isn't defined.