Agile Web Development with Rails, Edition 4

25.1 rack 21.2 Form Helpers

24.3 Managing Dependencies with Bundler

edit Gemfile
# source 'https://rubygems.org'
 
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem "sprockets-rails", :path => "/home/rubys/git/sprockets-rails"
gem "arel", :path => "/home/rubys/git/arel"
gem 'rails', :path => "/home/rubys/git/rails" # '4.0.13'
 
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
group :production do
  gem 'mysql2', '~> 0.3.10'
end
 
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.2'
 
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
 
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
 
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
 
# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'jquery-ui-rails'
 
# Turbolinks makes following links in your web application faster.
# Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
 
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
 
group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end
 
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
 
# Use unicorn as the app server
# gem 'unicorn'
 
# Use Capistrano for deployment
gem 'rvm-capistrano', group: :development
 
# Use debugger
# gem 'debugger', group: [:development, :test]
 
# gem 'puma'

25.1 rack 21.2 Form Helpers