- 10 11月, 2014 1 次提交
-
-
由 Sammy Larbi 提交于
-
- 06 10月, 2014 1 次提交
-
-
由 Alexander Balashov 提交于
-
- 17 7月, 2014 1 次提交
-
-
由 Chris Griego 提交于
This option is unused, left over from pre-1.0 Rails to internally distinguish the location of the foreign key.
-
- 05 7月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
In addition to defining the association, a `required` association will also have its presence validated. Before: ```ruby belongs_to :account validates_presence_of :account ``` After: ```ruby belongs_to :account, required: true ``` This helps to draw a distinction between types of validations, since validations on associations are generally for data integrity purposes, and aren't usually set through form inputs.
-
- 20 6月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
Now the following case will work fine class Tag < ActiveRecord::Base end class Publisher::Article < ActiveRecord::Base has_and_belongs_to_many :tags end Fixes #15761
-
- 09 6月, 2014 1 次提交
-
-
由 thedarkone 提交于
-
- 25 5月, 2014 1 次提交
-
-
由 Arthur Neves 提交于
Fix habtm reflection Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/counter_cache.rb activerecord/lib/active_record/reflection.rb activerecord/test/cases/reflection_test.rb
-
- 21 5月, 2014 1 次提交
-
-
由 Brock Trappitt 提交于
-
- 20 5月, 2014 1 次提交
-
-
由 Eric Chahin 提交于
Fixes #14824.
-
- 17 5月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
- 15 5月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
parent_name is a string of nil, never a blank string so we don't need to use presence.
-
- 13 5月, 2014 1 次提交
-
-
由 Kassio Borges 提交于
Thank's for @laurocaetano for the help with tests.
😃 Fixes #14709
-
- 26 4月, 2014 1 次提交
-
-
由 Kassio Borges 提交于
When used a custom join_table name on a habtm, rails was not saving it on Reflections. This causes a problem when rails loads fixtures, because it uses the reflections to set database with fixtures.
-
- 16 4月, 2014 1 次提交
-
-
由 Jean Boussier 提交于
-
- 15 4月, 2014 2 次提交
-
-
由 Jean Boussier 提交于
-
由 Jean Boussier 提交于
-
- 14 4月, 2014 1 次提交
-
-
由 Jean Boussier 提交于
-
- 31 1月, 2014 1 次提交
-
-
由 Lauro Caetano 提交于
Dangerous association names conflicts include instance or class methods already defined by `ActiveRecord::Base`.
-
- 23 12月, 2013 1 次提交
-
-
由 Paul Nikitochkin 提交于
Fixes: #13445
-
- 13 12月, 2013 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 12 12月, 2013 2 次提交
-
-
由 Rafael Mendonça França 提交于
activerecord-deprecated_finders expects the parameters denormalized in its initialize method
-
由 Rafael Mendonça França 提交于
This is to get activerecord-deprecated_finders work again
-
- 11 12月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
It is need in activerecord-deprecated_finders
-
- 05 12月, 2013 1 次提交
-
-
由 Severin Schoepke 提交于
Example: Given you have a comments model with a polymorphic commentable association (e.g. books and songs) with the touch option set. Every time you update a comment its commentable should be touched. This was working when you changed attributes on the comment or when you moved the comment from one book to another. However, it was not working when moving a comment from a book to a song. This is now fixed.
-
- 30 11月, 2013 1 次提交
-
-
由 Godfrey Chan 提交于
Previously, the `has_one` macro incorrectly accepts the `counter_cache` option due to a bug, although that options was never supported nor functional on `has_one` and `has_one ... through` relationships. It now correctly raises an `ArgumentError` when passed that option. For reference, this bug was introduced in 52f8e4b9.
-
- 26 10月, 2013 1 次提交
-
-
由 Ivan Antropov 提交于
-
- 10 10月, 2013 8 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
All the job can be done at class level so we can avoid some object allocation
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 09 10月, 2013 5 次提交
-
-
由 Rafael Mendonça França 提交于
instance
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
the instance
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-