Although I don't have any experience with Rails, I have heard good things about the ruby gem react-rails. Quoting from their GitHub page, it can :
- Provide various react builds to your asset bundle
- Transform .jsx in the asset pipeline
- Render components into views and mount them via view helper & react_ujs
- Render components server-side with prerender: true
- Generate components with a Rails generator
- Be extended with custom renderers, transformers and view helpers
I suggest you check out the repo as it has a lot to offer!