mirror of https://github.com/rails/rails
Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip]
This commit is contained in:
parent
0bd909abea
commit
3a480b45d6
|
@ -1,3 +1,7 @@
|
|||
* 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
|
||||
in order to improve readability.
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@ source 'https://rubygems.org'
|
|||
|
||||
|
||||
# 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
|
||||
gem 'sqlite3'
|
||||
# Use SCSS for stylesheets
|
||||
gem 'sass-rails', '~> 4.0.1'
|
||||
gem 'sass-rails', '~> 4.0.3'
|
||||
# Use Uglifier as compressor for JavaScript assets
|
||||
gem 'uglifier', '>= 1.3.0'
|
||||
# Use CoffeeScript for .js.coffee assets and views
|
||||
|
|
|
@ -1,34 +1,33 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
actionmailer (4.1.0)
|
||||
actionpack (= 4.1.0)
|
||||
actionview (= 4.1.0)
|
||||
actionmailer (4.1.1)
|
||||
actionpack (= 4.1.1)
|
||||
actionview (= 4.1.1)
|
||||
mail (~> 2.5.4)
|
||||
actionpack (4.1.0)
|
||||
actionview (= 4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
actionpack (4.1.1)
|
||||
actionview (= 4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
rack (~> 1.5.2)
|
||||
rack-test (~> 0.6.2)
|
||||
actionview (4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
actionview (4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
builder (~> 3.1)
|
||||
erubis (~> 2.7.0)
|
||||
activemodel (4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
activemodel (4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
builder (~> 3.1)
|
||||
activerecord (4.1.0)
|
||||
activemodel (= 4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
activerecord (4.1.1)
|
||||
activemodel (= 4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
arel (~> 5.0.0)
|
||||
activesupport (4.1.0)
|
||||
activesupport (4.1.1)
|
||||
i18n (~> 0.6, >= 0.6.9)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
minitest (~> 5.1)
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo (~> 1.1)
|
||||
arel (5.0.0)
|
||||
atomic (1.1.14)
|
||||
arel (5.0.1.20140414130214)
|
||||
builder (3.2.2)
|
||||
coffee-rails (4.0.1)
|
||||
coffee-script (>= 2.2.0)
|
||||
|
@ -52,52 +51,52 @@ GEM
|
|||
mime-types (~> 1.16)
|
||||
treetop (~> 1.4.8)
|
||||
mime-types (1.25.1)
|
||||
minitest (5.2.1)
|
||||
multi_json (1.8.4)
|
||||
polyglot (0.3.3)
|
||||
minitest (5.3.4)
|
||||
multi_json (1.10.1)
|
||||
polyglot (0.3.4)
|
||||
rack (1.5.2)
|
||||
rack-test (0.6.2)
|
||||
rack (>= 1.0)
|
||||
rails (4.1.0)
|
||||
actionmailer (= 4.1.0)
|
||||
actionpack (= 4.1.0)
|
||||
actionview (= 4.1.0)
|
||||
activemodel (= 4.1.0)
|
||||
activerecord (= 4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
rails (4.1.1)
|
||||
actionmailer (= 4.1.1)
|
||||
actionpack (= 4.1.1)
|
||||
actionview (= 4.1.1)
|
||||
activemodel (= 4.1.1)
|
||||
activerecord (= 4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
bundler (>= 1.3.0, < 2.0)
|
||||
railties (= 4.1.0)
|
||||
sprockets-rails (~> 2.0.0)
|
||||
railties (4.1.0)
|
||||
actionpack (= 4.1.0)
|
||||
activesupport (= 4.1.0)
|
||||
railties (= 4.1.1)
|
||||
sprockets-rails (~> 2.0)
|
||||
railties (4.1.1)
|
||||
actionpack (= 4.1.1)
|
||||
activesupport (= 4.1.1)
|
||||
rake (>= 0.8.7)
|
||||
thor (>= 0.18.1, < 2.0)
|
||||
rake (10.1.1)
|
||||
rake (10.3.2)
|
||||
rdoc (4.1.1)
|
||||
json (~> 1.4)
|
||||
sass (3.2.13)
|
||||
sass-rails (4.0.1)
|
||||
sass (3.2.19)
|
||||
sass-rails (4.0.3)
|
||||
railties (>= 4.0.0, < 5.0)
|
||||
sass (>= 3.1.10)
|
||||
sprockets-rails (~> 2.0.0)
|
||||
sass (~> 3.2.0)
|
||||
sprockets (~> 2.8, <= 2.11.0)
|
||||
sprockets-rails (~> 2.0)
|
||||
sdoc (0.4.0)
|
||||
json (~> 1.8)
|
||||
rdoc (~> 4.0, < 5.0)
|
||||
spring (1.0.0)
|
||||
sprockets (2.10.1)
|
||||
sprockets (2.11.0)
|
||||
hike (~> 1.2)
|
||||
multi_json (~> 1.0)
|
||||
rack (~> 1.0)
|
||||
tilt (~> 1.1, != 1.3.0)
|
||||
sprockets-rails (2.0.1)
|
||||
sprockets-rails (2.1.3)
|
||||
actionpack (>= 3.0)
|
||||
activesupport (>= 3.0)
|
||||
sprockets (~> 2.8)
|
||||
sqlite3 (1.3.8)
|
||||
thor (0.18.1)
|
||||
thread_safe (0.1.3)
|
||||
atomic
|
||||
thor (0.19.1)
|
||||
thread_safe (0.3.3)
|
||||
tilt (1.4.1)
|
||||
treetop (1.4.15)
|
||||
polyglot
|
||||
|
@ -117,8 +116,8 @@ DEPENDENCIES
|
|||
coffee-rails (~> 4.0.0)
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
rails (= 4.1.0)
|
||||
sass-rails (~> 4.0.1)
|
||||
rails (= 4.1.1)
|
||||
sass-rails (~> 4.0.3)
|
||||
sdoc (~> 0.4.0)
|
||||
spring
|
||||
sqlite3
|
||||
|
|
|
@ -378,13 +378,13 @@ About your application's environment
|
|||
Ruby version 1.9.3 (x86_64-linux)
|
||||
RubyGems version 1.3.6
|
||||
Rack version 1.3
|
||||
Rails version 4.1.0
|
||||
Rails version 4.1.1
|
||||
JavaScript Runtime Node.js (V8)
|
||||
Active Record version 4.1.0
|
||||
Action Pack version 4.1.0
|
||||
Action View version 4.1.0
|
||||
Action Mailer version 4.1.0
|
||||
Active Support version 4.1.0
|
||||
Active Record version 4.1.1
|
||||
Action Pack version 4.1.1
|
||||
Action View version 4.1.1
|
||||
Action Mailer version 4.1.1
|
||||
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
|
||||
Application root /home/foobar/commandsapp
|
||||
Environment development
|
||||
|
|
|
@ -308,7 +308,7 @@ For example:
|
|||
|
||||
```bash
|
||||
=> 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
|
||||
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
|
||||
=> Ctrl-C to shutdown server
|
||||
|
@ -421,11 +421,11 @@ then `backtrace` will supply the answer.
|
|||
--> #0 ArticlesController.index
|
||||
at /PathTo/project/test_app/app/controllers/articles_controller.rb:8
|
||||
#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)
|
||||
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)
|
||||
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.
|
|||
```
|
||||
(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.
|
||||
185: #
|
||||
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.
|
|||
```
|
||||
(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]])
|
||||
51: end
|
||||
52: alias :day :days
|
||||
|
|
|
@ -125,7 +125,7 @@ run the following:
|
|||
$ 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue