Fixed critical bug from react-rails@0.2.3.