index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
associations
/
singular_association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Allow a belonging to object to be created from a new record
Jolyon Pawlyn
2018-05-01
1
-4
/
+0
*
Passing `klass` to `StatementCache.new`
Ryuta Kamizono
2017-08-04
1
-6
/
+4
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
Don't cache `scope_for_create`
Ryuta Kamizono
2017-07-16
1
-1
/
+1
*
Fix `create_with` using both string and symbol
Ryuta Kamizono
2017-07-16
1
-3
/
+2
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Don't passing `klass.connection` to `AssociationScope`
Ryuta Kamizono
2017-06-29
1
-1
/
+1
*
Prevent extra `scope` construction in `find_target`
Ryuta Kamizono
2017-06-18
1
-1
/
+2
*
Raise on create for singular association when parent is unpersisted
Alex Kitchens
2017-06-08
1
-0
/
+4
*
Remove deprecated force reload argument in association readers
Rafael Mendonça França
2016-12-29
1
-10
/
+2
*
Fix CI failure caused by #25227 and #25280 were merged at the same time
Ryuta Kamizono
2016-12-10
1
-1
/
+1
*
Merge pull request #25280 from kamipo/prevent_range_error_for_belongs_to_asso...
Sean Griffin
2016-12-10
1
-0
/
+2
|
\
|
*
Prevent `RangeError` for `belongs_to` associations
Ryuta Kamizono
2016-10-10
1
-0
/
+2
*
|
Introduce `reload_<association>` reader for singular associations.
Yves Senn
2016-11-22
1
-0
/
+7
|
/
*
Merge pull request #26380 from kamipo/pass_set_inverse_instance_block
Kasper Timm Hansen
2016-09-08
1
-2
/
+2
|
\
|
*
Pass `set_inverse_instance` block to `sc.execute` for `SingularAssociation`
Ryuta Kamizono
2016-09-03
1
-2
/
+2
*
|
Extract duplicated `create` and `create!` definition for association
Ryuta Kamizono
2016-09-03
1
-8
/
+0
|
/
*
Avoid duplicated `set_inverse_instance` for target scope
Ryuta Kamizono
2016-08-03
1
-7
/
+3
*
Mutating the result of Relation#to_a should not affect the relation
Matthew Draper
2016-02-21
1
-1
/
+1
*
Delete needless `require 'active_support/deprecation'`
yui-knk
2015-10-20
1
-2
/
+0
*
Skip statement cache on through association reader
Rafael Mendonça França
2015-08-12
1
-6
/
+1
*
Deprecate force association reload by passing true
Prem Sichanugrist
2015-07-15
1
-0
/
+8
*
Fix `undefined method uncached` for polymorphic belongs_to #20426
James Dabbs
2015-06-13
1
-1
/
+1
*
Isolate access to .default_scopes in ActiveRecord::Scoping::Default
Ben Woosley
2015-03-12
1
-2
/
+1
*
default scopes should break the cache on singulur_association.
alfa-jpn
2014-11-08
1
-1
/
+2
*
break cache if we're inside a "scoping" call. fixes #17052
Aaron Patterson
2014-10-14
1
-1
/
+6
*
Skip StatementCache for eager loaded associations (Fixes #16761)
Sammy Larbi
2014-09-04
1
-1
/
+1
*
use statement cache for belongs_to relations
Aaron Patterson
2014-04-22
1
-1
/
+12
*
extract record fetching to a method for belongs_to
Aaron Patterson
2014-04-22
1
-1
/
+5
*
[Active Record] Renamed private methods create_record and update_record
Prathamesh Sonpatki
2014-02-20
1
-3
/
+3
*
`has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.
Rafael Mendonça França
2014-01-21
1
-1
/
+1
*
remove the nil check from set_inverse_instance
Aaron Patterson
2013-12-12
1
-1
/
+3
*
Remove useless comment and white spaces :scissors: [ci skip]
Carlos Antonio da Silva
2013-09-01
1
-1
/
+0
*
This is comment for singular association.
kennyj
2012-11-02
1
-1
/
+1
*
Remove mass_assignment_options from ActiveRecord
Guillermo Iguaran
2012-09-16
1
-8
/
+8
*
s/scoped/scope/
Jon Leighton
2012-08-01
1
-2
/
+2
*
Ensure that the foreign key gets set when doing record.create_association or ...
Jon Leighton
2011-07-08
1
-2
/
+11
*
Assign the association attributes to the associated record before the before_...
Jon Leighton
2011-06-30
1
-2
/
+1
*
Don't pass a block as we are yielding
Andrew White
2011-05-17
1
-1
/
+1
*
Add block setting of attributes to singular associations
Andrew White
2011-05-17
1
-5
/
+6
*
Pass the attribute and option hashes to build_association
Andrew White
2011-05-17
1
-6
/
+6
*
Don't use mass-assignment protection when setting foreign keys or association...
Jon Leighton
2011-05-12
1
-9
/
+9
*
singular and collection relations in AR can now specify mass-assignment secur...
Josh Kalderimis
2011-05-01
1
-8
/
+8
*
Add additional text to NotImplementedErrors [#6328 state:resolved]
Mike Gehard
2011-03-12
1
-1
/
+1
*
Use proper objects to do the work to build the associations (adding methods, ...
Jon Leighton
2011-02-21
1
-0
/
+16
*
Singular associations no longer use a proxy, so no need to check for the prox...
Jon Leighton
2011-02-21
1
-6
/
+0
*
Associations - where possible, call attributes methods rather than directly a...
Jon Leighton
2011-02-21
1
-1
/
+1
*
Split AssociationProxy into an Association class (and subclasses) which manag...
Jon Leighton
2011-02-18
1
-2
/
+2
*
Let's be less blasé about method visibility on association proxies
Jon Leighton
2011-01-30
1
-0
/
+1
[next]