Support of Rails 3.2.x

Now this demo app can use Rails 3.2.x to run