- 17 3月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 15 3月, 2010 3 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 07 3月, 2010 2 次提交
-
-
由 wycats 提交于
add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
-
由 Aaron Patterson 提交于
[#4119 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 26 2月, 2010 3 次提交
-
-
由 Tobias Bielohlawek 提交于
fixed a 'RecordNotFound' bug when calling 'reload' on a object which doesn't met the default_scope conditions, added test [#3166 status:resolved] The reload method didn't made use of 'with_exclusive_scope' when reloading the object. This lead to a RecordNotFound exception, in case the object doesn't met the default_scope condition (anymore) - which is obviously a bug. This quick fix makes use of with_exclusive_scope in the reload method as well. See test for full example. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Henry Hsu 提交于
Fix a bug where default_scope was overriding attributes given on model initialization [#3218 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
-
- 21 2月, 2010 1 次提交
-
-
由 José Valim 提交于
Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
-
- 17 2月, 2010 1 次提交
-
-
由 Prem Sichanugrist 提交于
-
- 13 2月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 04 2月, 2010 1 次提交
-
-
由 SubbaRao Pasupuleti 提交于
[#3830 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 23 1月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 22 1月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
This reverts commit f936a1f1. Conflicts: activerecord/lib/active_record.rb activerecord/lib/active_record/base.rb Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open] This reverts commit 28319964. Reason : It's not generating attribute methods properly, making object.column 5x slower.
-
- 21 1月, 2010 2 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 20 1月, 2010 12 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 17 1月, 2010 8 次提交
-
-
由 José Valim 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 16 1月, 2010 3 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-