This is an example of using the react-rails gem to integrate Rails with React.
Detailed instructions can be found here: http://www.railsonmaui.com/blog/2014/09/29/react-on-rails-4-dot-2-simple-tutorial/
The author, Justin Gordon, developed an alternative technique to the gem, described here: http://www.railsonmaui.com/blog/2014/10/02/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/
Please see this git repo: https://github.com/justin808/react-webpack-rails-tutorial
If you'd like to improve this example, I'm happy to take pull requests!