Steps to see versioncake work:
- bundle install
- rails server
- In browser: localhost:3000/tester
- You should see
HTML version of the template
. - In browser: localhost:3000/tester.json
- You should see an error about jbuilder. This is expected (the jbuilder view is invalid)
Steps to see it fail:
- Comment out 'jbuilder' in the Gemfile and Uncomment out 'rabl'
- bundle install
- restart rails server
- In browser: localhost:3000/tester
- You should see an error about RABL. BUT WAIT, I WANTED HTML!!!
Rename app/views/tester/index.html.erb
to app/views/tester/index.v1.html.erb
and see it render!