- 15 5月, 2011 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 11 5月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Add test to specify that attributes from an association's conditions should be assigned without mass-assignment protection when a record is built on the association.
-
- 09 5月, 2011 1 次提交
-
-
由 Christopher Meiklejohn 提交于
-
- 02 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
singular and collection relations in AR can now specify mass-assignment security options (:as and :without_protection) in build, create and create! methods.
-
- 15 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 23 3月, 2011 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 10 2月, 2011 1 次提交
-
-
由 Franck Verrot 提交于
Signed-off-by: NSantiago Pastorino and José Ignacio Costa <santiago+jose@wyeworks.com>
-
- 09 2月, 2011 1 次提交
-
-
由 Jan 提交于
-
- 08 2月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Correctly update counter caches on deletion for has_many :through [#2824 state:resolved]. Also fixed a bunch of other counter cache bugs in the process, as once I fixed this one others started appearing like nobody's business.
-
由 Jon Leighton 提交于
Support the :dependent option on has_many :through associations. For historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association.
-
- 05 2月, 2011 1 次提交
-
-
由 Edward Faulkner 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 17 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 01 1月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 24 12月, 2010 1 次提交
-
-
由 Szymon Nowak 提交于
Fix creation of has_many through records with custom primary_key option on belongs_to [#2990 state:resolved]
-
- 21 12月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
has_many associations with :dependent => :delete_all should update the counter cache when deleting records
-
- 16 12月, 2010 2 次提交
-
-
由 Jon Leighton 提交于
Verify that creating a has_many through record where there is a default_scope on the join model works correctly (creates the join record with the default scope applied)
-
由 Jon Leighton 提交于
Verify that creating a has_many through record where there is a default_scope on the join model works correctly (creates the join record with the default scope applied)
-
- 02 11月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 22 10月, 2010 2 次提交
-
-
由 Xavier Noria 提交于
made a pass in AR's schema.rb to keep (most) create statements in lexicographic order, and fixed an FK
-
由 Xavier Noria 提交于
This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job.
-
- 19 10月, 2010 4 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Support for :primary_key option on the source reflection of a through association, where the source is a has_one or has_many
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 14 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
-
- 10 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Add support for nested through associations in JoinAssociation. Hence Foo.joins(:bar) will work for through associations. There is some duplicated code now, which will be refactored.
-
- 26 9月, 2010 1 次提交
-
-
由 Bodaniel Jeanes 提交于
-
- 03 9月, 2010 1 次提交
-
-
由 Ken Collins 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 20 8月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
While creating a new record using has_many create method default scope of child should be respected. author.posts.create should take into account default_scope defined on post. [#3939: state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 15 8月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 14 8月, 2010 3 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Neeraj Singh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Santiago Pastorino 提交于
-
- 13 8月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 02 8月, 2010 2 次提交
-
-
由 Neeraj Singh 提交于
[#4971 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jakub Kuźma 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 21 7月, 2010 3 次提交
-
-
由 Neeraj Singh 提交于
[#5106 state:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Neeraj Singh 提交于
[#5161 state:resolved]
-
由 Neeraj Singh 提交于
[#5152 state:reslved]
-
- 13 7月, 2010 1 次提交
-
-
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-