If it happens that you need to deploy an application to difference servers, different locations, different deployment users you won’t have a great time! You can use of course the multistage extension and make your cap 2 look more like cap 3 but you can…
If you are using Rails 4, most likely you are using Uglifier (UglifyJS) for JS compression for the assets pipeline. Uglifier is awesome, but it happens to break the JS sometimes when using variable mangling. If you mix it with some CoffeeScript > AngularJS code…