Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updates to active record basics: reworked what is section, added CRUD ↵ | Jay Pignata | 2009-08-13 | 1 | -33/+102 |
| | | | | methods, added migrations blurb and link to migrations guide | ||||
* | Update instructions for contribution guide. | Rodrigo Rosenfeld Rosas | 2009-08-13 | 1 | -1/+6 |
| | |||||
* | Merge commit 'mainstream/master' | Pratik Naik | 2009-08-09 | 264 | -2176/+3933 |
|\ | |||||
| * | .gitignore activesupport/test/fixtures/isolation_test | Pratik Naik | 2009-08-09 | 1 | -0/+1 |
| | | |||||
| * | Remove unnecessary &block from Range#sum and add tests for (num..float).sum | Pratik Naik | 2009-08-09 | 2 | -1/+2 |
| | | |||||
| * | Make enumerable test run stand alone | Pratik Naik | 2009-08-09 | 1 | -0/+1 |
| | | |||||
| * | Optimize Range#sum only for integers [#2489] | José Valim | 2009-08-09 | 2 | -2/+4 |
| | | |||||
| * | Remove unused routeset method routes_for_controller_and_action in favour for ↵ | Gabe da Silveira | 2009-08-09 | 1 | -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] | jastix | 2009-08-09 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Allow connect_timeout, read_timeout and write_timeout settings for MySQL ↵ | Matt Conway | 2009-08-09 | 1 | -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] | railsbob | 2009-08-09 | 2 | -1/+6 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Allow to configure trusted proxies via ↵ | Felipe Talavera | 2009-08-09 | 3 | -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] | rizwanreza | 2009-08-09 | 2 | -3/+28 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Serialized attributes should only be saved with partial_updates when the ↵ | Mike Breen | 2009-08-09 | 2 | -1/+11 |
| | | | | | | | | | | | | serialized attribute is present [#2397 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | 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> |