Skip to content

sporkd/asset_prefix_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset Prefix Test

Purpose

The purpose of this app is to demonstrate a bug with Rails config.assets.prefix causing the session to become un-responsive.

Install

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 asset-prefix-one-deep or asset-prefix-two-deep branch.

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.

About

Demonstrate suspected asset prefix bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published