don't test if segment match, just use offset and length.
Merge branch 'master' of github.com:exklamationmark/hacknroll_noobs

* 'master' of github.com:exklamationmark/hacknroll_noobs:
  add hacked route to create resources
  Add a test page for AJAX calls
  Adding the gems back in