提交 3a480b45 编写于 作者: J John Kelly Ferguson

Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip]

上级 0bd909ab
* Update all Rails 4.1.0 references to 4.1.1 within the guides and code.
* John Kelly Ferguson*
* Split up rows in the Explain Queries table of the ActiveRecord Querying section * Split up rows in the Explain Queries table of the ActiveRecord Querying section
in order to improve readability. in order to improve readability.
......
...@@ -2,11 +2,11 @@ source 'https://rubygems.org' ...@@ -2,11 +2,11 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.0' gem 'rails', '4.1.1'
# Use SQLite3 as the database for Active Record # Use SQLite3 as the database for Active Record
gem 'sqlite3' gem 'sqlite3'
# Use SCSS for stylesheets # Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.1' gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets # Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0' gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views # Use CoffeeScript for .js.coffee assets and views
......
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (4.1.0) actionmailer (4.1.1)
actionpack (= 4.1.0) actionpack (= 4.1.1)
actionview (= 4.1.0) actionview (= 4.1.1)
mail (~> 2.5.4) mail (~> 2.5.4)
actionpack (4.1.0) actionpack (4.1.1)
actionview (= 4.1.0) actionview (= 4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
rack (~> 1.5.2) rack (~> 1.5.2)
rack-test (~> 0.6.2) rack-test (~> 0.6.2)
actionview (4.1.0) actionview (4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
builder (~> 3.1) builder (~> 3.1)
erubis (~> 2.7.0) erubis (~> 2.7.0)
activemodel (4.1.0) activemodel (4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
builder (~> 3.1) builder (~> 3.1)
activerecord (4.1.0) activerecord (4.1.1)
activemodel (= 4.1.0) activemodel (= 4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
arel (~> 5.0.0) arel (~> 5.0.0)
activesupport (4.1.0) activesupport (4.1.1)
i18n (~> 0.6, >= 0.6.9) i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo (~> 1.1) tzinfo (~> 1.1)
arel (5.0.0) arel (5.0.1.20140414130214)
atomic (1.1.14)
builder (3.2.2) builder (3.2.2)
coffee-rails (4.0.1) coffee-rails (4.0.1)
coffee-script (>= 2.2.0) coffee-script (>= 2.2.0)
...@@ -52,52 +51,52 @@ GEM ...@@ -52,52 +51,52 @@ GEM
mime-types (~> 1.16) mime-types (~> 1.16)
treetop (~> 1.4.8) treetop (~> 1.4.8)
mime-types (1.25.1) mime-types (1.25.1)
minitest (5.2.1) minitest (5.3.4)
multi_json (1.8.4) multi_json (1.10.1)
polyglot (0.3.3) polyglot (0.3.4)
rack (1.5.2) rack (1.5.2)
rack-test (0.6.2) rack-test (0.6.2)
rack (>= 1.0) rack (>= 1.0)
rails (4.1.0) rails (4.1.1)
actionmailer (= 4.1.0) actionmailer (= 4.1.1)
actionpack (= 4.1.0) actionpack (= 4.1.1)
actionview (= 4.1.0) actionview (= 4.1.1)
activemodel (= 4.1.0) activemodel (= 4.1.1)
activerecord (= 4.1.0) activerecord (= 4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
bundler (>= 1.3.0, < 2.0) bundler (>= 1.3.0, < 2.0)
railties (= 4.1.0) railties (= 4.1.1)
sprockets-rails (~> 2.0.0) sprockets-rails (~> 2.0)
railties (4.1.0) railties (4.1.1)
actionpack (= 4.1.0) actionpack (= 4.1.1)
activesupport (= 4.1.0) activesupport (= 4.1.1)
rake (>= 0.8.7) rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0) thor (>= 0.18.1, < 2.0)
rake (10.1.1) rake (10.3.2)
rdoc (4.1.1) rdoc (4.1.1)
json (~> 1.4) json (~> 1.4)
sass (3.2.13) sass (3.2.19)
sass-rails (4.0.1) sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0) railties (>= 4.0.0, < 5.0)
sass (>= 3.1.10) sass (~> 3.2.0)
sprockets-rails (~> 2.0.0) sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
sdoc (0.4.0) sdoc (0.4.0)
json (~> 1.8) json (~> 1.8)
rdoc (~> 4.0, < 5.0) rdoc (~> 4.0, < 5.0)
spring (1.0.0) spring (1.0.0)
sprockets (2.10.1) sprockets (2.11.0)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
rack (~> 1.0) rack (~> 1.0)
tilt (~> 1.1, != 1.3.0) tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.1) sprockets-rails (2.1.3)
actionpack (>= 3.0) actionpack (>= 3.0)
activesupport (>= 3.0) activesupport (>= 3.0)
sprockets (~> 2.8) sprockets (~> 2.8)
sqlite3 (1.3.8) sqlite3 (1.3.8)
thor (0.18.1) thor (0.19.1)
thread_safe (0.1.3) thread_safe (0.3.3)
atomic
tilt (1.4.1) tilt (1.4.1)
treetop (1.4.15) treetop (1.4.15)
polyglot polyglot
...@@ -117,8 +116,8 @@ DEPENDENCIES ...@@ -117,8 +116,8 @@ DEPENDENCIES
coffee-rails (~> 4.0.0) coffee-rails (~> 4.0.0)
jbuilder (~> 2.0) jbuilder (~> 2.0)
jquery-rails jquery-rails
rails (= 4.1.0) rails (= 4.1.1)
sass-rails (~> 4.0.1) sass-rails (~> 4.0.3)
sdoc (~> 0.4.0) sdoc (~> 0.4.0)
spring spring
sqlite3 sqlite3
......
...@@ -378,13 +378,13 @@ About your application's environment ...@@ -378,13 +378,13 @@ About your application's environment
Ruby version 1.9.3 (x86_64-linux) Ruby version 1.9.3 (x86_64-linux)
RubyGems version 1.3.6 RubyGems version 1.3.6
Rack version 1.3 Rack version 1.3
Rails version 4.1.0 Rails version 4.1.1
JavaScript Runtime Node.js (V8) JavaScript Runtime Node.js (V8)
Active Record version 4.1.0 Active Record version 4.1.1
Action Pack version 4.1.0 Action Pack version 4.1.1
Action View version 4.1.0 Action View version 4.1.1
Action Mailer version 4.1.0 Action Mailer version 4.1.1
Active Support version 4.1.0 Active Support version 4.1.1
Middleware Rack::Sendfile, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007ffd131a7c88>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Reloader, ActionDispatch::Callbacks, ActiveRecord::Migration::CheckPending, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, Rack::Head, Rack::ConditionalGet, Rack::ETag Middleware Rack::Sendfile, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x007ffd131a7c88>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Reloader, ActionDispatch::Callbacks, ActiveRecord::Migration::CheckPending, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, Rack::Head, Rack::ConditionalGet, Rack::ETag
Application root /home/foobar/commandsapp Application root /home/foobar/commandsapp
Environment development Environment development
......
...@@ -308,7 +308,7 @@ For example: ...@@ -308,7 +308,7 @@ For example:
```bash ```bash
=> Booting WEBrick => Booting WEBrick
=> Rails 4.1.0 application starting in development on http://0.0.0.0:3000 => Rails 4.1.1 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options => Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server => Ctrl-C to shutdown server
...@@ -421,11 +421,11 @@ then `backtrace` will supply the answer. ...@@ -421,11 +421,11 @@ then `backtrace` will supply the answer.
--> #0 ArticlesController.index --> #0 ArticlesController.index
at /PathTo/project/test_app/app/controllers/articles_controller.rb:8 at /PathTo/project/test_app/app/controllers/articles_controller.rb:8
#1 ActionController::ImplicitRender.send_action(method#String, *args#Array) #1 ActionController::ImplicitRender.send_action(method#String, *args#Array)
at /PathToGems/actionpack-4.1.0/lib/action_controller/metal/implicit_render.rb:4 at /PathToGems/actionpack-4.1.1/lib/action_controller/metal/implicit_render.rb:4
#2 AbstractController::Base.process_action(action#NilClass, *args#Array) #2 AbstractController::Base.process_action(action#NilClass, *args#Array)
at /PathToGems/actionpack-4.1.0/lib/abstract_controller/base.rb:189 at /PathToGems/actionpack-4.1.1/lib/abstract_controller/base.rb:189
#3 ActionController::Rendering.process_action(action#NilClass, *args#NilClass) #3 ActionController::Rendering.process_action(action#NilClass, *args#NilClass)
at /PathToGems/actionpack-4.1.0/lib/action_controller/metal/rendering.rb:10 at /PathToGems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:10
... ...
``` ```
...@@ -437,7 +437,7 @@ context. ...@@ -437,7 +437,7 @@ context.
``` ```
(byebug) frame 2 (byebug) frame 2
[184, 193] in /PathToGems/actionpack-4.1.0/lib/abstract_controller/base.rb [184, 193] in /PathToGems/actionpack-4.1.1/lib/abstract_controller/base.rb
184: # is the intended way to override action dispatching. 184: # is the intended way to override action dispatching.
185: # 185: #
186: # Notice that the first argument is the method to be dispatched 186: # Notice that the first argument is the method to be dispatched
...@@ -654,7 +654,7 @@ instruction to be executed. In this case, the activesupport's `week` method. ...@@ -654,7 +654,7 @@ instruction to be executed. In this case, the activesupport's `week` method.
``` ```
(byebug) step (byebug) step
[50, 59] in /PathToGems/activesupport-4.1.0/lib/active_support/core_ext/numeric/time.rb [50, 59] in /PathToGems/activesupport-4.1.1/lib/active_support/core_ext/numeric/time.rb
50: ActiveSupport::Duration.new(self * 24.hours, [[:days, self]]) 50: ActiveSupport::Duration.new(self * 24.hours, [[:days, self]])
51: end 51: end
52: alias :day :days 52: alias :day :days
......
...@@ -125,7 +125,7 @@ run the following: ...@@ -125,7 +125,7 @@ run the following:
$ bin/rails --version $ bin/rails --version
``` ```
If it says something like "Rails 4.1.0", you are ready to continue. If it says something like "Rails 4.1.1", you are ready to continue.
### Creating the Blog Application ### Creating the Blog Application
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册