democracyworks / hat-trick

Hat Trick - Rails wizards done right
MIT License
5 stars 0 forks source link

hat-trick caches old/stale model variables #28

Open paulschreiber opened 11 years ago

paulschreiber commented 11 years ago

Sometimes hat-trick caches old/stale model variables.

To reproduce:

  1. In register_eday_controller, change redirect_to_external_url eday_wizard_register_index_url(step: :address) to next_step :address.
  2. Enter a name and email
  3. Enter an address in NY or NJ
  4. Choose #2 (I want to vote near my current location)
  5. Enter another address
  6. Press continue
  7. Map shows old address