- 10 5月, 2009 3 次提交
-
-
由 Ken Collins 提交于
ActiveSupport::OrderedHash#to_a method returns an ordered set of arrays. Matches ruby1.9's Hash#to_a. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2629 state:committed]
-
由 Frederick Cheung 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Frederick Cheung 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 08 5月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
$ ruby -Iactiveresource/lib tools/profile_requires.rb active_resource 91.84 KB 3220 obj 4.0 ms active_resource 83.86 KB 3108 obj 3.3 ms active_support 69.32 KB 2682 obj 2.6 ms active_support/vendor 33.98 KB 651 obj 0.6 ms i18n 94.40 KB 315 obj 4.0 ms 44 KB RSS
-
- 07 5月, 2009 6 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Matt Jones 提交于
[#2266 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
- 06 5月, 2009 5 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 05 5月, 2009 5 次提交
-
-
由 Joshua Peek 提交于
-
由 Tim Connor 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 Joshua Peek 提交于
-
由 Murray Steele 提交于
You can now add an :inverse_of option to has_one, has_many and belongs_to associations. This is best described with an example: class Man < ActiveRecord::Base has_one :face, :inverse_of => :man end class Face < ActiveRecord::Base belongs_to :man, :inverse_of => :face end m = Man.first f = m.face Without :inverse_of m and f.man would be different instances of the same object (f.man being pulled from the database again). With these new :inverse_of options m and f.man are the same in memory instance. Currently :inverse_of supports has_one and has_many (but not the :through variants) associations. It also supplies inverse support for belongs_to associations where the inverse is a has_one and it's not a polymorphic. Signed-off-by: NMurray Steele <muz@h-lame.com> Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 codebrulee 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 04 5月, 2009 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Chris Kampmeier 提交于
Don't use #tap before Active Support is available, since older versions of ruby don't have native implementations [#2603 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 03 5月, 2009 10 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
This commit breaks all exception catching plugins like ExceptionNotifier. These plugins should be rewritten as middleware instead overriding Controller#rescue_action_in_public.
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
Functional test runner finalizes response just like the integration test runner. In both runners, the @response object will now behave the same. Some functional tests will need to be updated if they are relying on preprocessed data on the response.
-
由 Joshua Peek 提交于
-
- 02 5月, 2009 5 次提交
-
-
由 Ruy Asan 提交于
[#2595 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Ruy Asan 提交于
[#2594 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Alexander Podgorbunsky 提交于
[#2346 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 01 5月, 2009 3 次提交
-
-
由 steve 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 steve 提交于
Ensure ActiveRecord::Base.connection_pool.with_connection creates a new connection only when needed [#1752 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Ken Collins 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-