Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
40f68f72
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,发现更多精彩内容 >>
提交
40f68f72
编写于
5月 04, 2016
作者:
V
Vipul A M
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #24852 from jrafanie/fix_typos
Fix some typos in comments [ci skip]
上级
1dcf2800
d2660c8c
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
8 addition
and
8 deletion
+8
-8
actionpack/lib/action_controller/metal/renderers.rb
actionpack/lib/action_controller/metal/renderers.rb
+1
-1
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
.../lib/active_record/connection_adapters/sqlite3_adapter.rb
+1
-1
activerecord/test/cases/connection_adapters/type_lookup_test.rb
...record/test/cases/connection_adapters/type_lookup_test.rb
+1
-1
activerecord/test/cases/scoping/named_scoping_test.rb
activerecord/test/cases/scoping/named_scoping_test.rb
+1
-1
activesupport/test/core_ext/object/json_gem_encoding_test.rb
activesupport/test/core_ext/object/json_gem_encoding_test.rb
+1
-1
ci/travis.rb
ci/travis.rb
+1
-1
railties/lib/rails/engine.rb
railties/lib/rails/engine.rb
+1
-1
railties/test/application/configuration_test.rb
railties/test/application/configuration_test.rb
+1
-1
未找到文件。
actionpack/lib/action_controller/metal/renderers.rb
浏览文件 @
40f68f72
...
...
@@ -103,7 +103,7 @@ module ClassMethods
#
# Both <tt>ActionController::Base</tt> and <tt>ActionController::API</tt>
# include <tt>ActionController::Renderers::All</tt>, making all renderers
# avai
a
lable in the controller. See <tt>Renderers::RENDERERS</tt> and <tt>Renderers.add</tt>.
# available in the controller. See <tt>Renderers::RENDERERS</tt> and <tt>Renderers.add</tt>.
#
# Since <tt>ActionController::Metal</tt> controllers cannot render, the controller
# must include <tt>AbstractController::Rendering</tt>, <tt>ActionController::Rendering</tt>,
...
...
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
浏览文件 @
40f68f72
...
...
@@ -541,7 +541,7 @@ def table_structure_with_collation(table_name, basic_structure)
result
=
exec_query
(
sql
,
'SCHEMA'
).
first
if
result
# Splitting with left par
a
ntheses and picking up last will return all
# Splitting with left par
e
ntheses and picking up last will return all
# columns separated with comma(,).
columns_string
=
result
[
"sql"
].
split
(
'('
).
last
...
...
activerecord/test/cases/connection_adapters/type_lookup_test.rb
浏览文件 @
40f68f72
require
"cases/helper"
unless
current_adapter?
(
:PostgreSQLAdapter
)
# PostgreSQL does not use type stri
gn
s for lookup
unless
current_adapter?
(
:PostgreSQLAdapter
)
# PostgreSQL does not use type stri
ng
s for lookup
module
ActiveRecord
module
ConnectionAdapters
class
TypeLookupTest
<
ActiveRecord
::
TestCase
...
...
activerecord/test/cases/scoping/named_scoping_test.rb
浏览文件 @
40f68f72
...
...
@@ -301,7 +301,7 @@ def pro; end
:relation
,
# private class method on AR::Base
:new
,
# redefined class method on AR::Base
:all
,
# a default scope
:public
,
# some imporant methods on Module and Class
:public
,
# some impor
t
ant methods on Module and Class
:protected
,
:private
,
:name
,
...
...
activesupport/test/core_ext/object/json_gem_encoding_test.rb
浏览文件 @
40f68f72
...
...
@@ -10,7 +10,7 @@
# The AS::JSON encoder requires the BigDecimal core_ext, which, unfortunately,
# changes the BigDecimal#to_s output, and consequently the JSON gem output. So
# we need to require this u
n
front to ensure we don't get a false failure, but
# we need to require this u
p
front to ensure we don't get a false failure, but
# ideally we should just fix the BigDecimal core_ext to not change to_s without
# arguments.
require
'active_support/core_ext/big_decimal'
...
...
ci/travis.rb
浏览文件 @
40f68f72
...
...
@@ -120,7 +120,7 @@ def rake(*tasks)
def
env
if
activesupport?
&&
!
isolated?
# There is a known issue with the listen tests that ca
s
uses files to be
# There is a known issue with the listen tests that causes files to be
# incorrectly GC'ed even when they are still in-use. The current is to
# only run them in isolation to avoid randomly failing our test suite.
{
'LISTEN'
=>
'0'
}
...
...
railties/lib/rails/engine.rb
浏览文件 @
40f68f72
...
...
@@ -219,7 +219,7 @@ module Rails
# The next thing that changes in isolated engines is the behavior of routes.
# Normally, when you namespace your controllers, you also need to namespace
# the related routes. With an isolated engine, the engine's namespace is
# automatically applied, so you don't need to specify it explicity in your
# automatically applied, so you don't need to specify it explicit
l
y in your
# routes:
#
# MyEngine::Engine.routes.draw do
...
...
railties/test/application/configuration_test.rb
浏览文件 @
40f68f72
...
...
@@ -686,7 +686,7 @@ def update
private
def form_authenticity_token(*args); token; end # stub the authenticy token
def form_authenticity_token(*args); token; end # stub the authentic
it
y token
end
RUBY
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录