Intall

yarn install
bundle install

Steps

rails g resource ModelName field1:string field2:boolean  
rails g scaffold_controller ModelName --skip-template-engine
# override existing files

Tips

To add ES2015 shorthand properties support when compliling:

yarn add babel-preset-es2015 

And add to your .babelrc (at the root of your project)

{
  "presets": ["es2015"]
}