Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
3a480b45
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
3a480b45
编写于
5月 24, 2014
作者:
J
John Kelly Ferguson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip]
上级
0bd909ab
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
61 addition
and
58 deletion
+61
-58
guides/CHANGELOG.md
guides/CHANGELOG.md
+4
-0
guides/code/getting_started/Gemfile
guides/code/getting_started/Gemfile
+2
-2
guides/code/getting_started/Gemfile.lock
guides/code/getting_started/Gemfile.lock
+42
-43
guides/source/command_line.md
guides/source/command_line.md
+6
-6
guides/source/debugging_rails_applications.md
guides/source/debugging_rails_applications.md
+6
-6
guides/source/getting_started.md
guides/source/getting_started.md
+1
-1
未找到文件。
guides/CHANGELOG.md
浏览文件 @
3a480b45
*
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.
...
...
guides/code/getting_started/Gemfile
浏览文件 @
3a480b45
...
@@ -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
...
...
guides/code/getting_started/Gemfile.lock
浏览文件 @
3a480b45
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.1
3
)
sass (3.2.1
9
)
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.1
0.1
)
sprockets (2.1
1.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
...
...
guides/source/command_line.md
浏览文件 @
3a480b45
...
@@ -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
...
...
guides/source/debugging_rails_applications.md
浏览文件 @
3a480b45
...
@@ -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
...
...
guides/source/getting_started.md
浏览文件 @
3a480b45
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录