Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Introduce messages:import rake task.

We've questioned whether loading the Rails environment is sensible,
given the overhead of doing so. We'll discuss this separately.
  • Loading branch information...
commit b73aec8bb285d00544277ce076ecc4eb80f62cbf 1 parent 439b544
@chrisroos-and-lazyatom chrisroos-and-lazyatom authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/tasks/import.rake
5 lib/tasks/import.rake
@@ -0,0 +1,5 @@
+namespace :messages do
+ task :import => :environment do
+ AccountMessageImporter.import_for(ENV["EMAIL"], ENV["PASSWORD"])
+ end
Please sign in to comment.
Something went wrong with that request. Please try again.