Asset Prefix Test
The purpose of this app is to demonstrate a bug with Rails config.assets.prefix causing the session to become un-responsive.
bundle bundle exec rails server
Reproducing the bug
Open http://localhost:3000 in browser and try adding session keys. They should work.
To see the bug in action, switch to either the
git checkout asset-prefix-two-deep bundle exec rails s
Now try setting session variables again. If you don't have any session variables set, you won't be able to add any. If on the other hand you already have one set, it can't be changed or removed.
Look at this commit to see what changes were made to make it start breaking.