aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a uniqueness validation test that uses diacritics.Hugo Peixoto2009-08-091-2/+2
| | | | | | [#2883 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix that RedCloth shouldn't be required to run testsJeremy Kemper2009-08-091-12/+18
|
* .gitignore activesupport/test/fixtures/isolation_testPratik Naik2009-08-091-0/+1
|
* Remove unnecessary &block from Range#sum and add tests for (num..float).sumPratik Naik2009-08-092-1/+2
|
* Make enumerable test run stand alonePratik Naik2009-08-091-0/+1
|
* Optimize Range#sum only for integers [#2489]José Valim2009-08-092-2/+4
|
* Remove unused routeset method routes_for_controller_and_action in favour for ↵Gabe da Silveira2009-08-091-7/+0
| | | | | | routes_for [#3023 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Require test/unit in the generated test_helper for plugin [#1878 state:resolved]jastix2009-08-091-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow connect_timeout, read_timeout and write_timeout settings for MySQL ↵Matt Conway2009-08-091-0/+4
| | | | | | [#2544 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure hm:t#find does not assign nil to :include [#1845 state:resolved]railsbob2009-08-092-1/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow to configure trusted proxies via ↵Felipe Talavera2009-08-093-2/+32
| | | | | | ActionController::Base.trusted_proxies [#2126 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Support passing Redcloth options via textilize helper [#2973 state:resolved]rizwanreza2009-08-092-3/+28
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Serialized attributes should only be saved with partial_updates when the ↵Mike Breen2009-08-092-1/+11
| | | | | | serialized attribute is present [#2397 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Get rid of parenthesize argument warningsPratik Naik2009-08-091-5/+5
|
* Refactored create_migration on model generator.José Valim2009-08-092-7/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Setting usec (and nsec for Ruby 1.9) on Time#end_of_* methods [#1255 ↵Hugo Peixoto2009-08-093-32/+32
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Optimize Range#sum to use arithmetic progression when a block is not given ↵José Valim2009-08-092-0/+11
| | | | | | [#2489]. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix deprecating =-methods by using send [#2431 status:resolved]Michael Siebert2009-08-092-9/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make http digest work with different server/browser combinationsJosé Valim2009-08-092-7/+31
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Changed to use klass instead of constantizing in assign_ids generated methodDmitry Ratnikov2009-08-092-13/+28
| | | | | | [#260 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Modified Rich Bradley's test-case to fail as part of suite and with a ↵Dmitry Ratnikov2009-08-091-2/+16
| | | | | | reasonable message Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed generating a namespaced model with table pluralization turned off. Add ↵Hugo Peixoto2009-08-093-2/+49
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Setting connection timeout also affects Net::HTTP open_timeout.Jeremy Kemper2009-08-092-7/+30
| | | | [#2947 state:resolved]
* Add a .tmp pathYehuda Katz2009-08-092-2/+4
|
* Fix for nested :include with namespaced models.Rich Bradley2009-08-093-2/+15
| | | | [#260 state:committed]
* Make bench harness produce output that is easier to compareYehuda Katz2009-08-091-11/+21
|
* Updates to benchmark harness.Yehuda Katz2009-08-091-2/+23
|
* Temporary fix to get our LoadError monkey-patch working with newer JRuby. We ↵Yehuda Katz2009-08-091-1/+2
| | | | should probably remove MissingSourceFile and just monkey-patch LoadError instead of overriding LoadError.new.
* Experimental: Improve performance of ActionView by preventing method cache ↵Yehuda Katz2009-08-092-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | flushing due to runtime Kernel#extend: * The helper module adds a new _helper_serial property onto AbstractController subclasses * When #helper is used to add helpers to a class, the serial number is updated * An ActionView subclass is created and cached based on this serial number. * That subclass includes the helper module from the controller * Subsequent requests using the same controller with the same serial will result in reusing that subclass, rather than being forced to take an action (like include or extend) that will result in a global method cache flush on MRI and a flush of the entire AV class' cache on JRuby. * For now, this optimization is not applied to the RJS helpers, which results in a global method cache flush in MRI and a flush of the JavaScriptGenerator class in JRuby only when using RJS. * Since the effects are limited to using RJS, and would only affect JavaScriptGenerator in JRuby (as opposed to the entire view object), it seems worthwhile to apply this now. * This resulted in a significant performance improvement. I will have benchmarks in the next day or two that show the performance impact of the last several commits. * There is a small chance this could break existing code (although I'm not sure how). If that happens, please report it immediately.
* Cache controller_path on the AV instance to avoid needing to make additional ↵Yehuda Katz2009-08-091-1/+3
| | | | calls back into the controller for each attempt (this was done because these calls were adding up significantly in partial rendering and showing up on profiles)
* Use response_body rather than performed?Yehuda Katz2009-08-092-2/+2
|
* Rendering a template from ActionView will default to looking for partials ↵Yehuda Katz2009-08-093-2/+5
| | | | | | | | | only in the current mime type. * The old behavior was tested only as a side-effect of a different test--the original tests remain; a new template in the XML mime was added. * If you are relying on the current behavior and object to this change, please participate in http://groups.google.com/group/rubyonrails-core/browse_thread/thread/6ef25f3c108389bd
* Cache some more things to improve partial perfYehuda Katz2009-08-092-5/+9
|
* Went from 25% slower partials (vs. 2.3) to 10% faster. More to come.Yehuda Katz2009-08-093-10/+23
|
* Support a warmup for JRubyYehuda Katz2009-08-091-7/+6
|
* Update minimal.rb to benchmark partialsYehuda Katz2009-08-096-5/+50
|
* Clean up partial object some more; replace passing around a block to a ↵Yehuda Katz2009-08-092-36/+39
| | | | single block ivar
* Clean up initializer and some of the internals of PartialRendererYehuda Katz2009-08-092-49/+45
|
* Ruby 1.9 compat: can't implicitly set instance var using block argJeremy Kemper2009-08-081-2/+2
|
* Don't define a default primary key in the schema dumper.Tristan Dunn2009-08-082-1/+8
| | | | | | [#1908 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix binary fixture test on WindowsRob2009-08-081-1/+1
| | | | | | [#2597 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* MySQL: fix diacritic uniqueness test by setting the default character set ↵Hugo Peixoto2009-08-081-2/+2
| | | | | | | | and collation to utf8/utf8_unicode_ci [#2883 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge branch 'patches'Michael Koziarski2009-08-092-1/+30
|\
| * Don't call additional methods on builders passed to the atom_feed helper.Michael Koziarski2009-08-092-1/+30
| | | | | | | | | | | | Additionally, actually test that the atom_feed helper works with :xml as an option. [#1836 state:committed]
| * Adding :from scoping to ActiveRecord calculationsMatt Duncan2009-08-093-0/+10
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1229 state:committed]
* | Add :redirect to the testable RJS statements [#2612 state:resolved]Jon Wood2009-08-092-3/+17
| | | | | | | | | | | | | | Example : assert_select_rjs :redirect, root_path Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Use Pathname for checking if sqlite path is absolutePratik Naik2009-08-091-1/+5
| |
* | Make sure db:drop doesn't fail when sqlite db is given by an absolute path ↵bastilian2009-08-091-1/+1
| | | | | | | | | | | | [#1789 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Enumerable#sum now works will all enumerables, even if they don't respond to ↵Marc-Andre Lafortune2009-08-082-4/+6
| | | | | | | | | | | | | | | | :size [#2489 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Adding :from scoping to ActiveRecord calculationsMatt Duncan2009-08-093-0/+10
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1229 state:committed]