1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/associations
Daniel Colson 2e8c8d60e7 Avoid extra calls to to_s
With #31615 `type_for_attribute` accepts either
a symbol as well as a string. `has_attribute?` and `attribute_alias`
also accept either. Since these methods call `to_s` on the argument,
we no longer need to do that at the call site.
2018-01-29 07:22:42 -05:00
..
builder Remove passing argument to singular and collection association readers 2018-01-05 08:31:57 +09:00
join_dependency [Active Record] require => require_relative 2017-10-21 22:48:27 +09:00
preloader Avoid extra calls to to_s 2018-01-29 07:22:42 -05:00
alias_tracker.rb Don't pass garbage args to alias tracker 2018-01-14 06:50:25 +09:00
association.rb Avoid passing unnecessary arguments to relation 2018-01-24 16:49:35 -05:00
association_scope.rb Decouple building AliasTracker from JoinDependency 2017-10-08 22:12:42 +09:00
belongs_to_association.rb Bugfix foreign key replacement in inverse association 2017-12-27 15:58:09 +02:00
belongs_to_polymorphic_association.rb Bugfix foreign key replacement in inverse association 2017-12-27 15:58:09 +02:00
collection_association.rb Avoid extra calls to to_s 2018-01-29 07:22:42 -05:00
collection_proxy.rb Avoid passing unnecessary arguments to relation 2018-01-24 16:49:35 -05:00
foreign_association.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
has_many_association.rb Merge pull request #27561 from fishbrain/count-all-in-has-many-association 2018-01-03 05:44:11 +09:00
has_many_through_association.rb Fix building has_one through record 2018-01-23 05:23:32 +09:00
has_one_association.rb Fix broken doc for Active Record [ci skip] 2017-08-25 15:21:00 +09:00
has_one_through_association.rb Fix building has_one through record 2018-01-23 05:23:32 +09:00
join_dependency.rb Joined tables in association scope doesn't use the same aliases with the parent relation's aliases 2017-10-09 16:06:04 +09:00
preloader.rb Bring back passing single record support for Preloader 2018-01-10 07:08:42 +09:00
singular_association.rb Passing klass to StatementCache.new 2017-08-04 02:27:50 +09:00
through_association.rb Fix building has_one through record 2018-01-23 05:23:32 +09:00