Rails app initialization