Rails tutorial on using Ajax to poll for file creation from a worker.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
Gemfile
Gemfile.lock
Procfile.development
README.md
Rakefile
config.ru
dump.rdb

README.md

This is a small project to show how to use Ajax to poll for file generation from a worker class.

Setup

  1. Clone the repo git clone https://github.com/krisquigley/poll-worker-for-changes.git
  2. Install gems bundle install
  3. Boot up the app ./bin/boot
  4. Set up the database rake db:setup
  5. Check everything is working correctly rspec spec/