Email export/import

Updated almost 4 years ago by Thomas Ochman
Log in to `rails c` on heroku:

$ heroku run rails c --app websiteone-production

Run the following commands:

@users = User.all
lines = []
@users.collect  {|u| lines.push ["#{u.first_name}","#{u.last_name}"].join(' '),"#{u.email}"}

???




Revisions

comments powered by Disqus