app/controllers/sandbox_db_resets_controller.rb
# Populates KMForum database with sample, fake data.
Populates KMForum database with sample, fake data.
Populates KMForum database with sample fake data .
def seed
    system 'bundle exec rake populate_kmf &'
    flash[:info] = 'Database is populating itself with sample data. Site will' \
                   ' turn into maintenance mode for few minutes.'
    redirect_to root_url
  end
def seed system 'bundle exec rake populate_kmf &' flash [ :info ] = 'Database is populating itself with sample data. Site will' ' turn into maintenance mode for few minutes.' redirect_to root_url end
Populates KMForum database with sample, fake data.
Populates KMForum database with sample fake data .
# Reset and seed KMForum db.