- 14 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik]
-
- 10 10月, 2008 3 次提交
-
-
由 Michael Koziarski 提交于
There are several situations it doesn't cater for, and the inconsistency isn't worth blocking 2.2.
-
由 Will Bryant 提交于
explicitly including child associations that are also included in the parent association definition should not result in double records in the collection/double loads (#1110) Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1110 state:committed]
-
由 Hongli Lai (Phusion) 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1068 status:committed]
-
- 06 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 05 10月, 2008 5 次提交
-
-
由 Pratik Naik 提交于
Model.sum delegates typecasting to the column being summed. If that's not feasible, returns a string. Model.avg always returns big decimal.
-
由 Pratik Naik 提交于
Remove HasManyAssociationStrategy and move the logic to ActiveRecord::Reflection::ThroughReflection.
-
由 Pratik Naik 提交于
-
由 Zach Dennis 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Lawrence Pit 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 04 10月, 2008 7 次提交
-
-
由 Aliaksey Kandratsenka 提交于
We have hit dramatic increase in tests time after upgrading rails. Profiling revealed this particular place. After this fix our test times returned back to norm. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1173 state:committed]
-
由 Aliaksey Kandratsenka 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1169 state:committed]
-
由 Aliaksey Kandratsenka 提交于
After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is already available. Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Aliaksey Kandratsenka 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1168 state:committed]
-
由 Luca Guidi 提交于
Make sure recreate MySQL test database with the proper encoding and collation [#1165 state:resolved] Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1165 state:committed]
-
由 Michael Koziarski 提交于
-
由 Eloy Duran 提交于
Dynamic finders should use the ActiveRecord::Base::find method instead of ::find_initial, :find_last, and ::find_all. This is so when people override ActiveRecord::Base::find, the new ::find method will also be invoked by the dynamic finders. Associations for instance do go through ::find, so this makes it more consistent. Also removed the unnecessary deprecation silence blocks. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1162 state:committed]
-
- 29 9月, 2008 2 次提交
-
-
由 Will Bryant 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Will Bryant 提交于
wrote a test showing eager loading's misbehavior (sanitizing against the wrong table) when the association has a :conditions hash Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 27 9月, 2008 1 次提交
-
-
由 Tarmo Tänav 提交于
Ignore all exceptions for validates_acceptance_of columns fetch so it can run even without a database connection Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 25 9月, 2008 1 次提交
-
-
由 Adam Milligan 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1084 state:committed]
-
- 24 9月, 2008 3 次提交
-
-
由 Hongli Lai (Phusion) 提交于
Add an additional conditions option to make it slightly easier for certain plugins. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1087 state:committed]
-
由 Pivotal Labs 提交于
Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join strings to avoid table aliasing problems. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1077 state:committed]
-
由 Hongli Lai (Phusion) 提交于
AssociationCollection now starts transactions by calling AssociationCollection#transaction instead of @owner.transaction or @reflection.klass.transaction. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1081 state:committed]
-
- 23 9月, 2008 2 次提交
-
-
由 Michael Koziarski 提交于
This allows people tracking non-release gems or git submodules to use the constants.
-
由 Jan De Poorter 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 22 9月, 2008 2 次提交
-
-
由 Hongli Lai (Phusion 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Manfred Stienstra 提交于
-
- 21 9月, 2008 5 次提交
-
-
由 Manfred Stienstra 提交于
-
由 Manfred Stienstra 提交于
-
由 Adeh DeSandies 提交于
-
由 Sven Fuchs 提交于
I18n: Introduce I18n.load_path in favor of I18n.load_translations and change Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Sven Fuchs 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 20 9月, 2008 1 次提交
-
-
由 Nathaniel Talbott 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 17 9月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
-
- 16 9月, 2008 1 次提交
-
-
由 miloops 提交于
Without this change count_records will group for the count in the query and return erroneous results. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#937 state:committed]
-
- 15 9月, 2008 4 次提交
-
-
由 Frederick Cheung 提交于
[#1045 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Frederick Cheung 提交于
[#1043 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 gbuesing 提交于
-
由 miloops 提交于
Base.skip_time_zone_conversion_for_attributes uses class_inheritable_accessor, so that subclasses don't overwrite Base [#346 state:resolved]
-