Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of parenthesize argument warnings | Pratik Naik | 2009-08-09 | 1 | -5/+5 |
| | |||||
* | Refactored create_migration on model generator. | José Valim | 2009-08-09 | 2 | -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 Peixoto | 2009-08-09 | 3 | -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é Valim | 2009-08-09 | 2 | -0/+11 |
| | | | | | | [#2489]. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix deprecating =-methods by using send [#2431 status:resolved] | Michael Siebert | 2009-08-09 | 2 | -9/+13 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make http digest work with different server/browser combinations | José Valim | 2009-08-09 | 2 | -7/+31 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Changed to use klass instead of constantizing in assign_ids generated method | Dmitry Ratnikov | 2009-08-09 | 2 | -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 Ratnikov | 2009-08-09 | 1 | -2/+16 |
| | | | | | | reasonable message Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed generating a namespaced model with table pluralization turned off. Add ↵ | Hugo Peixoto | 2009-08-09 | 3 | -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 Kemper | 2009-08-09 | 2 | -7/+30 |
| | | | | [#2947 state:resolved] | ||||
* | Add a .tmp path | Yehuda Katz | 2009-08-09 | 2 | -2/+4 |
| | |||||
* | Fix for nested :include with namespaced models. | Rich Bradley | 2009-08-09 | 3 | -2/+15 |
| | | | | [#260 state:committed] | ||||
* | Make bench harness produce output that is easier to compare | Yehuda Katz | 2009-08-09 | 1 | -11/+21 |
| | |||||
* | Updates to benchmark harness. | Yehuda Katz | 2009-08-09 | 1 | -2/+23 |
| | |||||
* | Temporary fix to get our LoadError monkey-patch working with newer JRuby. We ↵ | Yehuda Katz | 2009-08-09 | 1 | -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 Katz | 2009-08-09 | 2 | -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 Katz | 2009-08-09 | 1 | -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 Katz | 2009-08-09 | 2 | -2/+2 |
| | |||||
* | Rendering a template from ActionView will default to looking for partials ↵ | Yehuda Katz | 2009-08-09 | 3 | -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 perf | Yehuda Katz | 2009-08-09 | 2 | -5/+9 |
| | |||||
* | Went from 25% slower partials (vs. 2.3) to 10% faster. More to come. | Yehuda Katz | 2009-08-09 | 3 | -10/+23 |
| | |||||
* | Support a warmup for JRuby | Yehuda Katz | 2009-08-09 | 1 | -7/+6 |
| | |||||
* | Update minimal.rb to benchmark partials | Yehuda Katz | 2009-08-09 | 6 | -5/+50 |
| | |||||
* | Clean up partial object some more; replace passing around a block to a ↵ | Yehuda Katz | 2009-08-09 | 2 | -36/+39 |
| | | | | single block ivar | ||||
* | Clean up initializer and some of the internals of PartialRenderer | Yehuda Katz | 2009-08-09 | 2 | -49/+45 |
| | |||||
* | Ruby 1.9 compat: can't implicitly set instance var using block arg | Jeremy Kemper | 2009-08-08 | 1 | -2/+2 |
| | |||||
* | Don't define a default primary key in the schema dumper. | Tristan Dunn | 2009-08-08 | 2 | -1/+8 |
| | | | | | | [#1908 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix binary fixture test on Windows | Rob | 2009-08-08 | 1 | -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 Peixoto | 2009-08-08 | 1 | -2/+2 |
| | | | | | | | | and collation to utf8/utf8_unicode_ci [#2883 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge branch 'patches' | Michael Koziarski | 2009-08-09 | 2 | -1/+30 |
|\ | |||||
| * | Don't call additional methods on builders passed to the atom_feed helper. | Michael Koziarski | 2009-08-09 | 2 | -1/+30 |
| | | | | | | | | | | | | Additionally, actually test that the atom_feed helper works with :xml as an option. [#1836 state:committed] | ||||
| * | Adding :from scoping to ActiveRecord calculations | Matt Duncan | 2009-08-09 | 3 | -0/+10 |
| | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1229 state:committed] | ||||
* | | Add :redirect to the testable RJS statements [#2612 state:resolved] | Jon Wood | 2009-08-09 | 2 | -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 absolute | Pratik Naik | 2009-08-09 | 1 | -1/+5 |
| | | |||||
* | | Make sure db:drop doesn't fail when sqlite db is given by an absolute path ↵ | bastilian | 2009-08-09 | 1 | -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 Lafortune | 2009-08-08 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | :size [#2489 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Adding :from scoping to ActiveRecord calculations | Matt Duncan | 2009-08-09 | 3 | -0/+10 |
| | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1229 state:committed] | ||||
* | | Fix HTTP basic authentication for long credentials [#2572 state:resolved] | Jan Schwenzien | 2009-08-09 | 2 | -1/+26 |
|/ | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Update truncate documentation / examples to more clearly demonstrate its ↵ | Steve St. Martin | 2009-08-08 | 1 | -8/+10 |
| | | | | | | | | actual behavior [#3016 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Depend on rubygems 1.3.2 | Michael Koziarski | 2009-08-09 | 1 | -1/+1 |
| | | | | Also move the min_version definition up a line so it's present in the rescue block down below. | ||||
* | Fix exclusive range patch to use begin/end instead of min/max. [#2981 ↵ | Adam Keys | 2009-08-08 | 2 | -4/+22 |
| | | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Users can now pass :branch for git plugins and :revision for subversion plugins | Matt Duncan | 2009-08-08 | 2 | -1/+25 |
| | | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improved coverage for session_migration generator. [#3008 status:resolved] | José Valim | 2009-08-08 | 2 | -3/+7 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed reference to AR::SessionStore::Session.table_name in session migrations | Elad Meidar | 2009-08-08 | 3 | -2/+20 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | HTTP proxy support | Marshall Huss | 2009-08-08 | 6 | -3/+118 |
| | | | | | | [#2133 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Allow content_tag options to take an array [#1741 state:resolved] ↵ | rizwanreza | 2009-08-08 | 2 | -9/+20 |
| | | | | | | | | | | [rizwanreza, Nick Quaranto] Example: content_tag('p', "limelight", :class => ["song", "play"]) # => <p class="song play">limelight</p> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the ↵ | Pratik Naik | 2009-08-08 | 2 | -0/+11 |
| | | | | owner is new | ||||
* | Add test ensuring redirect_to uses the given protocol [#2886] | Dan Croak | 2009-08-08 | 1 | -0/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | DRY migration's rollback/forward methods | Pratik Naik | 2009-08-08 | 1 | -14/+15 |
| | |||||
* | Simplyfy validates_length_of and remove puts | Pratik Naik | 2009-08-08 | 2 | -5/+7 |
| |