Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
35c5f47d
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,发现更多精彩内容 >>
提交
35c5f47d
编写于
11月 26, 2014
作者:
J
Jon Atack
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Active Record change log pass [skip ci]
上级
73a71923
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
40 addition
and
38 deletion
+40
-38
activerecord/CHANGELOG.md
activerecord/CHANGELOG.md
+40
-38
未找到文件。
activerecord/CHANGELOG.md
浏览文件 @
35c5f47d
...
...
@@ -7,7 +7,7 @@
to synchronize the schema. Plugins can use this task as a hook to
provide custom behavior after the schema has been loaded.
NOTE: `test:prepare` runs before the schema
wa
s synchronized.
NOTE: `test:prepare` runs before the schema
i
s synchronized.
Fixes #17171, #15787.
...
...
@@ -29,12 +29,11 @@
*Yves Senn*
*
Fix
includes on association with a scope containing joins along with conditions
on the joined assoi
ciation.
*
Fix
preloading of associations with a scope containing joins along with
conditions on the joined asso
ciation.
*Siddharth Sharma*
*
Add
`Table#name`
to match
`TableDefinition#name`
.
*Cody Cutrer*
...
...
@@ -95,7 +94,7 @@
*Yuki Nishijima*
*
Fix regression causing
`after_create`
callbacks to run before associated
*
Fix
a
regression causing
`after_create`
callbacks to run before associated
records are autosaved.
Fixes #17209.
...
...
@@ -192,7 +191,7 @@
*Yves Senn*
*
Fix
ed
a regression where whitespaces were stripped from DISTINCT queries in
*
Fix a regression where whitespaces were stripped from DISTINCT queries in
PostgreSQL.
*Agis Anastasopoulos*
...
...
@@ -206,7 +205,7 @@
*Agis Anastasopoulos*
*
Fix
ed
`Relation#exists?`
to work with polymorphic associations.
*
Fix
`Relation#exists?`
to work with polymorphic associations.
Fixes #15821.
...
...
@@ -228,7 +227,7 @@
*arthurnn*
*
Fix
ed
an issue where custom accessor methods (such as those generated by
*
Fix an issue where custom accessor methods (such as those generated by
`enum`
) with the same name as a global method are incorrectly overridden
when subclassing.
...
...
@@ -292,7 +291,7 @@
*Yves Senn*
*
Fix
ed
automatic maintaining test schema to properly handle sql structure
*
Fix automatic maintaining test schema to properly handle sql structure
schema format.
Fixes #15394.
...
...
@@ -455,8 +454,8 @@
*Sean Griffin*
*
Fix
ed
error in
`reset_counters`
when associations have
`select`
scope.
(Call to
`count`
generate
s
invalid SQL.)
*
Fix
an
error in
`reset_counters`
when associations have
`select`
scope.
(Call to
`count`
generate
d
invalid SQL.)
*Cade Truitt*
...
...
@@ -681,7 +680,7 @@
*Yves Senn*
*
Fix
ed
`columns_for_distinct`
of postgresql
adapter to work correctly
*
Fix
`columns_for_distinct`
of PostgreSQL
adapter to work correctly
with orders without sort direction modifiers.
*Nikolay Kondratyev*
...
...
@@ -717,7 +716,7 @@
*arthurnn*
*
Fix
ed
serialization for records with an attribute named
`format`
.
*
Fix serialization for records with an attribute named
`format`
.
Fixes #15188.
...
...
@@ -728,12 +727,12 @@
*Kuldeep Aggarwal*
*
Fix
ed
serialized fields returning serialized data after being updated with
*
Fix serialized fields returning serialized data after being updated with
`update_column`
.
*Simon Hørup Eskildsen*
*
Fix
ed
polymorphic eager loading when using a String as foreign key.
*
Fix polymorphic eager loading when using a String as foreign key.
Fixes #14734.
...
...
@@ -747,7 +746,7 @@
*Brock Trappitt*
*
Fix
ed the inferred table name of a
`has_and_belongs_to_many`
auxiliar
*
Fix
the inferred table name of a
`has_and_belongs_to_many`
auxiliary
table inside a schema.
Fixes #14824.
...
...
@@ -859,7 +858,7 @@
*Yves Senn*
*
Fix
ed has_and_belongs_to_many's CollectionAssociation size calculation
.
*
Fix
`has_and_belongs_to_many`
CollectionAssociation size calculations
.
`has_and_belongs_to_many` should fall back to using the normal CollectionAssociation's
size calculation if the collection is not cached or loaded.
...
...
@@ -964,10 +963,12 @@
*Earl St Sauver*
*
Fixed unexpected behavior for
`has_many :through`
associations going through a scoped
`has_many`
.
*
Fix unexpected behavior for
`has_many :through`
associations going through
a scoped
`has_many`
.
If a `has_many` association is adjusted using a scope, and another `has_many :through`
uses this association, then the scope adjustment is unexpectedly neglected.
If a `has_many` association is adjusted using a scope, and another
`has_many :through` uses this association, then the scope adjustment is
unexpectedly neglected.
Fixes #14537.
...
...
@@ -977,13 +978,13 @@
*Kuldeep Aggarwal*
*
Fixed
`has_many`
association to make it
support irregular inflections.
*
Enable
`has_many`
associations to
support irregular inflections.
Fixes #8928.
*arthurnn*, *Javier Goizueta*
*
Fix
ed a problem where count used with a grouping was
not returning a Hash.
*
Fix
`count`
used with a grouping
not returning a Hash.
Fixes #14721.
...
...
@@ -1038,8 +1039,8 @@
*Eileen M. Uchitelle*, *Aaron Patterson*
*
Fix
ed error for aggregate methods (
`empty?`
,
`any?`
,
`count`
) with
`select`
w
hich created invalid SQL
.
*
Fix
invalid SQL when aggregate methods (
`empty?`
,
`any?`
,
`count`
) used
w
ith
`select`
.
Fixes #13648.
...
...
@@ -1070,8 +1071,8 @@
*Roderick van Domburg*
*
Fix
ed a problem where an enum would overwrite values of another enum
with the
same name in an unrelated class.
*
Fix
a problem where an enum would overwrite values of another enum with the
same name in an unrelated class.
Fixes #14607.
...
...
@@ -1106,7 +1107,7 @@
*arthurnn*
*
Fix
ed
error when using
`with_options`
with lambda.
*
Fix error when using
`with_options`
with lambda.
Fixes #9805.
...
...
@@ -1144,14 +1145,15 @@
*Yves Senn*
*
Fixed error when specifying a non-empty default value on a PostgreSQL array column.
*
Fix error when specifying a non-empty default value on a PostgreSQL array
column.
Fixes #10613.
*Luke Steensen*
*
Fix
ed error where .persisted?
throws SystemStackError for an unsaved model with a
custom primary key that did
n'
t save due to validation error.
*
Fix
error where
`.persisted?`
throws SystemStackError for an unsaved model with a
custom primary key that did
no
t save due to validation error.
Fixes #14393.
...
...
@@ -1244,7 +1246,8 @@
*Aaron Patterson*
*
Only use BINARY for MySQL case sensitive uniqueness check when column has a case insensitive collation.
*
Only use BINARY for MySQL case sensitive uniqueness check when column
has a case insensitive collation.
*Ryuta Kamizono*
...
...
@@ -1252,8 +1255,8 @@
*arthurnn*, *Tatsuhiko Miyagawa*
*
Support for Postgre
s
`citext`
data type enabling case-insensitive wher
e
values without needing to wrap in UPPER/LOWER sql functions.
*
Support for Postgre
SQL
`citext`
data type enabling case-insensitiv
e
`where`
values without needing to wrap in UPPER/LOWER sql functions.
*Troy Kruthoff*, *Lachlan Sylvester*
...
...
@@ -1283,9 +1286,8 @@
*Aaron Patterson*, *Yves Senn*
*
Fixed error with validation with enum fields for records where the
value for any enum attribute is always evaluated as 0 during
uniqueness validation.
*
Fix error with validation with enum fields for records where the value for
any enum attribute is always evaluated as 0 during uniqueness validation.
Fixes #14172.
...
...
@@ -1299,8 +1301,8 @@
Fixes #14144.
*
Fix
ed STI classes not defining an attribute method if there is a
conflicting
private method defined on its ancestors.
*
Fix
STI classes not defining an attribute method if there is a conflicting
private method defined on its ancestors.
Fixes #11569.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录