aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
Commit message (Expand)AuthorAgeFilesLines
* Through scope should not be affected by scopingRyuta Kamizono2017-08-151-7/+2
* Merge pull request #30208 from kamipo/extract_primary_key_to_abstract_reflectionRafael França2017-08-141-8/+4
|\
| * Extract `primary_key` to `AbstractReflection`Ryuta Kamizono2017-08-121-8/+4
* | Merge pull request #27609 from kamipo/fix_association_primary_keyRafael França2017-08-141-0/+4
|\ \
| * | Fix `reflection.association_primary_key` for `has_many` associationsRyuta Kamizono2017-08-131-0/+4
* | | Merge pull request #30231 from kamipo/remove_unused_source_type_infoRafael França2017-08-141-10/+7
|\ \ \
| * | | Remove unused `source_type_info` in `RuntimeReflection`Ryuta Kamizono2017-08-131-10/+7
| |/ /
* / / Remove duplicated `join_id_for`Ryuta Kamizono2017-08-131-10/+2
|/ /
* / Remove duplicated `table_name`Ryuta Kamizono2017-08-121-8/+0
|/
* Changed join_fk private method to join_foreign_key public methodchopraanmol12017-08-091-9/+9
* Use `Concurrent::Map` than `Mutex` and `Mutex_m` for statement cachesRyuta Kamizono2017-08-041-6/+3
* Passing `klass` to `StatementCache.new`Ryuta Kamizono2017-08-041-2/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix unscoping `default_scope` in STI associationsRyuta Kamizono2017-07-191-2/+4
* Post.joins(:users) should not be affected by `User.current_scope`Sean Griffin2017-07-171-4/+2
* Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-7/+11
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverseMatthew Draper2017-07-011-4/+3
|\ \ | |/ |/|
| * Remove :polymorphic from INVALID_AUTOMATIC_INVERSE_OPTIONSFabian Schwahn2017-04-201-4/+3
* | Merge pull request #28928 from kamipo/remove_habtm_initializeRafael França2017-06-281-4/+0
|\ \
| * | Remove `HasAndBelongsToManyReflection#initialize`Ryuta Kamizono2017-04-291-4/+0
| |/
* | Fix eager loading to respect `store_full_sti_class` settingRyuta Kamizono2017-06-291-1/+1
* | Move building constraint to `join_scope` in `Reflection`Ryuta Kamizono2017-06-271-2/+11
* | Move constructing polymorphic type to `join_scope` in `Reflection`Ryuta Kamizono2017-06-271-4/+7
* | Move constructing join scope to `Reflection`Ryuta Kamizono2017-06-261-4/+11
* | Extract `build_scope` and `predicate_builder` in `Reflection`Ryuta Kamizono2017-06-241-7/+10
* | Don't expose methods and attrs for internal usageRyuta Kamizono2017-05-301-17/+19
* | Merge pull request #29098 from kamipo/fix_association_with_extension_issuesMatthew Draper2017-05-301-0/+4
|\ \
| * | Fix association with extension issuesRyuta Kamizono2017-05-281-0/+4
* | | Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-291-4/+2
|/ /
* | Fix crashing on circular left join references with scopingRyuta Kamizono2017-05-241-1/+1
* | Add type caster to `RuntimeReflection#alias_name`Jon Moss2017-05-021-1/+1
* | Use `flat_map` rather than `map(&:...).flatten`Ryuta Kamizono2017-04-291-1/+1
|/
* `join_keys` no longer needs a class passed to itAaron Patterson2017-03-031-27/+30
* refactor so there is only one JoinKeys factory methodAaron Patterson2017-03-031-4/+15
* ask reflection for klass join reflectionAaron Patterson2017-03-031-0/+15
* Move join scopes on to the reflection objectAaron Patterson2017-03-031-0/+22
* Fix collection_singular_ids= bugDaniel Colson2017-02-021-2/+2
* Avoid lambda scopes when possibleAaron Patterson2017-01-301-3/+1
* deprecate `scope_chain`Aaron Patterson2017-01-301-0/+2
* update comments and call `super`Aaron Patterson2017-01-301-24/+3
* remove caching until we prove it is requiredAaron Patterson2017-01-301-7/+3
* Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-301-47/+12
* Implement `scopes` method on each Reflectioneileencodes2017-01-301-5/+47
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-01-111-3/+3
|\
| * `meta-data` --> `metadata`Jon Moss2016-12-311-3/+3
* | Improve deprecation message for deprecated reflection class nameRyuta Kamizono2017-01-101-1/+1
* | Deprecate reflection class name to accept a classKir Shatrov2017-01-091-0/+11