blog.robotex.de

Rails 4 Spec and Tool Stack

# Gemfile
gem 'capybara',           groups: [:test]
gem 'factory_girl_rails', groups: [:test]
gem 'rspec-rails',        groups: [:development, :test]
gem 'shoulda-matchers',   groups: [:test]
gem 'guard-bundler',      groups: [:development]
gem 'guard-rails',        groups: [:development]
gem 'guard-rspec',        groups: [:development]

gem 'rubocop'
gem 'yaml_db'

Route Translator

Gemfile

gem 'route_translator'

config/initializers/route_translator.rb

RouteTranslator.config do |config|
  config.force_locale = true
end

Simple Form

Gemfile

gem 'simple_form'

Commandline:

rails generate simple_form:install --bootstrap

Back