heroku/databasedotcom-api-demo — pull request #1 by javierjulio (2011-11-04 00:05:32+00:00)
Title: Fix dependency errors

Omniauth has been updated to 1.0.0 which contains several breaking changes. Since 0.3.x was the last release and the demo was most likely built against that version the Gemfile has been updated to use the omniauth 0-3-stable git branch.

I fixed an error where several views were expecting a String ```camelize``` method that didn't exist. I found out its a Rails method (ActiveSupport). I added a ```string_extensions.rb``` file where I copied the method implementation from ActiveSupport.

Also another dependency issue was the require statement in the ```vmforce_strategy.rb``` file which was ```require 'omniauth/strategies/salesforce'```. I'm not sure what has changed about it but I simply removed it. Demo works fine unless I'm mistaken. Let me know if that is an issue. Note that the ```webapp.rb``` file already has a ```require 'omniauth'``` which I figured was sufficient.

This was my first time running the demo so it was a clean install and most likely anyone else new would have the same issues. With these changes the demo app is now running for me locally.