Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove ActiveRecord runtime logging from ActionPack and place in ↵ | José Valim | 2009-12-27 | 3 | -30/+15 |
| | | | | ActiveRecord, adding it through config.action_controller.include hook. | ||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 17 | -232/+180 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | More <%= render(@posts) %> optimization. | José Valim | 2009-12-26 | 1 | -24/+20 |
| | |||||
* | Optimize <%= render(@posts) %>. | José Valim | 2009-12-26 | 1 | -4/+14 |
| | |||||
* | Break instrumentation into several end-points so rendering of partials can ↵ | José Valim | 2009-12-26 | 3 | -30/+42 |
| | | | | be optimized. | ||||
* | Wrap layout rendering in one method: _render_layout (this should make ↵ | José Valim | 2009-12-26 | 2 | -7/+7 |
| | | | | partial instrumentation easier). | ||||
* | The controller key shouldnt be part of the mapping if its not used | David Heinemeier Hansson | 2009-12-25 | 1 | -2/+2 |
| | |||||
* | Fix tests | David Heinemeier Hansson | 2009-12-25 | 1 | -2/+2 |
| | |||||
* | Instead of marking raw text in templates as safe, and then putting them ↵ | Yehuda Katz | 2009-12-24 | 1 | -1/+2 |
| | | | | through String#<< which checks if the String is safe, use safe_concat, which uses the original (internal) String#<< and leaves the safe flag as is. Results in a significant performance improvement. | ||||
* | Dead code | Yehuda Katz | 2009-12-24 | 1 | -15/+0 |
| | |||||
* | Translated strings in the view are assumed html_safe (Closes #3401) | David Heinemeier Hansson | 2009-12-24 | 1 | -1/+1 |
| | |||||
* | Stray carrier return | David Heinemeier Hansson | 2009-12-24 | 1 | -1/+0 |
| | |||||
* | Merge | David Heinemeier Hansson | 2009-12-24 | 6 | -15/+116 |
|\ | |||||
| * | Allow named_routes to be used with root, and with new DSL short-form. | Sam Ruby | 2009-12-23 | 2 | -8/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The real use case it to make all of the following act the same: root 'store#index', :as => 'store' match '/' => 'store#index', :as => 'store' match '/', :to => 'store#index', :as => 'store' The test case provided deviates from this in order to demonstrate all three forms in a single set of test routes. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Merge remote branch 'origin/master' | Carlhuda | 2009-12-23 | 3 | -5/+9 |
| |\ | | | | | | | | | | | | | Conflicts: railties/lib/rails/application.rb | ||||
| | * | Routing: fix that route shorthand shouldn't ignore other options. Raise if ↵ | Jeremy Kemper | 2009-12-23 | 2 | -4/+8 |
| | | | | | | | | | | | | :as option is given to root method since its name is always 'root' | ||||
| | * | Shift more responsibility from application class to its singleton instance. ↵ | Jeremy Kemper | 2009-12-23 | 1 | -1/+1 |
| | | | | | | | | | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration. | ||||
| * | | Remove the ActionView::Base autoload because it creates crazy circular ↵ | Carlhuda | 2009-12-23 | 1 | -1/+1 |
| | | | | | | | | | | | | autoload insanity | ||||
| * | | Finish moving config.frameworks-dependent code to the framework plugin | Carlhuda | 2009-12-23 | 2 | -10/+75 |
| | | | |||||
| * | | Moving out some framework specific initializers into the framework libraries. | Carlhuda | 2009-12-23 | 1 | -0/+27 |
| |/ | |||||
| * | Fix bare string Rack response bodies | Jeremy Kemper | 2009-12-23 | 1 | -2/+2 |
| | | |||||
* | | Extract Mapping class from monster match method | David Heinemeier Hansson | 2009-12-24 | 2 | -91/+149 |
|/ | |||||
* | Require rack-mount 0.3.3 | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | | | | Fixes "Rack-mount boot time is slow as shit" [#3567 state:resolved] | ||||
* | Merge | David Heinemeier Hansson | 2009-12-22 | 29 | -233/+221 |
|\ | |||||
| * | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 7 | -139/+142 |
| | | |||||
| * | All AD modules are "deferrable" | Joshua Peek | 2009-12-22 | 10 | -23/+35 |
| | | |||||
| * | Use Rack::Runtime middleware so the reported time includes the entire ↵ | Joshua Peek | 2009-12-22 | 1 | -1/+0 |
| | | | | | | | | middleware stack | ||||
| * | Referer and user agent are in Rack::Request | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | | |||||
| * | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 9 | -46/+12 |
| | | |||||
| * | Float on rack/master in preparation for rack 1.1 gem release | Joshua Peek | 2009-12-22 | 1 | -1/+1 |
| | | |||||
| * | Make ActionMailer::Base inherit from AbstractController::Base | José Valim | 2009-12-22 | 5 | -32/+40 |
| | | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | | Dont encourage __FILE__ bullshit | David Heinemeier Hansson | 2009-12-22 | 1 | -2/+2 |
|/ | |||||
* | Add test for root | David Heinemeier Hansson | 2009-12-21 | 1 | -0/+9 |
| | |||||
* | Dont introspect inline templates for the logger and cleanup a few styling issues | David Heinemeier Hansson | 2009-12-21 | 2 | -18/+13 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-21 | 3 | -15/+19 |
|\ | |||||
| * | Less annoying RoutingError message | Joshua Peek | 2009-12-21 | 1 | -2/+2 |
| | | |||||
| * | reset_session needs to be a real method so flash can override it | Joshua Peek | 2009-12-21 | 2 | -13/+17 |
| | | |||||
* | | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-21 | 38 | -181/+201 |
|\| | |||||
| * | Its now possible to use match 'stuff' => 'what#stuff' instead of using the ↵ | David Heinemeier Hansson | 2009-12-20 | 2 | -6/+20 |
| | | | | | | | | :to for simple routes | ||||
| * | We don't need AD parse_config | Joshua Peek | 2009-12-20 | 2 | -21/+0 |
| | | |||||
| * | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 8 | -14/+24 |
| | | | | | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | ||||
| * | Just a little tidying | David Heinemeier Hansson | 2009-12-20 | 1 | -24/+22 |
| | | |||||
| * | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2009-12-20 | 12 | -84/+66 |
| |\ | |||||
| | * | Rename RackConvenience => RackDelegation | Joshua Peek | 2009-12-20 | 8 | -10/+10 |
| | | | |||||
| | * | Merge Session stuff into RackConvenience | Joshua Peek | 2009-12-20 | 7 | -74/+56 |
| | | | |||||
| * | | Added ActionDispatch::Request#authorization to access the http ↵ | David Heinemeier Hansson | 2009-12-20 | 2 | -0/+11 |
| | | | | | | | | | | | | authentication header regardless of its proxy hiding [DHH] | ||||
| * | | Rename RenderOptions to Renderers | David Heinemeier Hansson | 2009-12-20 | 3 | -6/+5 |
| |/ | |||||
| * | Renamed Redirector to Redirecting (its a module, not a class) | David Heinemeier Hansson | 2009-12-20 | 4 | -4/+4 |
| | | |||||
| * | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 15 | -17/+17 |
| | | |||||
| * | :to => redirect() can take a String using 1.9-style interpolation or proc ↵ | Yehuda Katz | 2009-12-20 | 2 | -4/+31 |
| | | | | | | | | that takes the path parameters as a Hash |