- 05 10月, 2008 11 次提交
-
-
由 Pratik Naik 提交于
-
由 Norbert Crombach 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 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.
-
由 Michael Koziarski 提交于
1.9 has its own version.
-
由 Michael Koziarski 提交于
-
由 Pratik Naik 提交于
Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior.
-
由 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>
-
由 Aliaksey Kandratsenka 提交于
Return processing lock to dispatcher, the finer grained lock was incompatible with the reloading in development mode. This commit also adds ActionController::Dispatcher#dispatch_unlocking -- non-locking version of dispatch. It's named anologously to POSIX {getc,getchar,...}_unlocked functions. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1170 state:committed]
-
- 04 10月, 2008 12 次提交
-
-
由 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 提交于
This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick). integration.rb changes are required to keep test transaction active for several requests. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1171 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]
-
由 madlep 提交于
[#983 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Antonio Cangiano 提交于
Usage : rails app_name -d ibm_db Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 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 提交于
-
由 madlep 提交于
added nicer failure reporting to #assert_difference to tell you the expression that failed rather than just the expected and actual values Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1161 state:committed]
-
由 Nick Sieger 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1144 state:committed]
-
由 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]
-
- 01 10月, 2008 1 次提交
-
-
由 David Masover 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 30 9月, 2008 2 次提交
-
-
由 Michael Koziarski 提交于
Add tests too.
-
由 Michael Koziarski 提交于
-
- 29 9月, 2008 4 次提交
-
-
由 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>
-
由 Andrew Kaspick 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1116 state:committed]
-
由 Joshua Peek 提交于
-
- 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 2 次提交
-
-
由 Adam Milligan 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1084 state:committed]
-
由 Michael Koziarski 提交于
We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
-
- 24 9月, 2008 4 次提交
-
-
由 Michael Koziarski 提交于
-
由 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 3 次提交
-
-
由 adam 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1096 state:committed]
-
由 adam 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Adam Cigánek 提交于
Modified ActiveSupport::Inflector#parameterize with code from slugalizer (http://github.com/henrik/slugalizer) Handles trailing and leading slashes, and squashes repeated separators into a single character. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1034 state:committed]
-