Joshua Peek
|
02bbde4e78
|
Cleanup junk metal and revise API
API Change: Returning a "X-Cascade: pass" header triggers the cascade
instead of a 404 response.
|
2010-01-10 23:09:10 -06:00 |
|
David Heinemeier Hansson
|
5ddc597066
|
Use safe_concat instead of trying to html_safe! what might be a frozen string
|
2010-01-10 18:13:43 -08:00 |
|
José Valim
|
d2e7c1b97d
|
Raise an error if respond_with is invoked and no format is declared.
|
2010-01-10 20:21:08 +01:00 |
|
David Heinemeier Hansson
|
5ea130943e
|
Fixed that fragment caching should return a cache hit as html_safe (or it would all just get escaped) [DHH]
|
2010-01-07 17:45:32 -08:00 |
|
José Valim
|
f564f947d9
|
Remove duplicated url_for code and move methods shared between ActionMailer and ActionController up to AbstractController.
|
2010-01-07 15:31:50 +01:00 |
|
José Valim
|
0cf190001e
|
Remove CGI.escape in function of Rack::Mount.escape
|
2010-01-06 00:33:17 +01:00 |
|
Jeremy Kemper
|
5c527c2f61
|
Controller tests should always require view tests since they add behavior controllers expect
|
2010-01-04 19:44:27 -08:00 |
|
Joshua Peek
|
76b5f18feb
|
Default middleware stack needs to be available at configuration time
|
2010-01-04 19:40:16 -06:00 |
|
Joshua Peek
|
2601a16ede
|
Autoload AS test case
|
2010-01-04 16:22:46 -06:00 |
|
Joshua Peek
|
cf83a6f16b
|
Autoload AC and AV test case classes
|
2010-01-04 16:22:46 -06:00 |
|
David Heinemeier Hansson
|
5e94d3e3ea
|
Merge
|
2010-01-03 22:27:28 -08:00 |
|
David Heinemeier Hansson
|
090d12b49b
|
Added that ActionController::Base now does helper :all instead of relying on the default ApplicationController in Rails to do it [DHH]
|
2010-01-03 21:32:02 -05:00 |
|
José Valim
|
3990310a2b
|
Use underscore in notification namespaces.
|
2010-01-04 00:03:56 +01:00 |
|
José Valim
|
6fbe9ef2ff
|
Use namespaces in notifications.
|
2010-01-03 20:39:42 +01:00 |
|
José Valim
|
c03c40b481
|
Expose a _render_partial hook as thhe _render_template one and make use of it.
|
2009-12-31 18:40:20 -08:00 |
|
José Valim
|
33c98b15bc
|
ActionController::Logger should include AbstractController::Logger and sort autoloads for easier readability.
|
2009-12-31 18:40:20 -08:00 |
|
José Valim
|
38fa0d14a8
|
controller_path is required by ActionView, so move it up to AbstractController and refactor AbstractController::Layouts.
|
2009-12-31 18:40:20 -08:00 |
|
Carl Lerche
|
ae7ada1fde
|
Some railties cleanup:
* Rename <framework>/rails.rb -> <framework>/railtie.rb
* Rails::Plugin -> Rails::Railtie
* Rails::Plugin::Vendored -> Rails::Plugin
|
2009-12-31 13:12:52 -08:00 |
|
Carl Lerche
|
e749424dfa
|
Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb
|
2009-12-31 13:12:52 -08:00 |
|
Carl Lerche
|
a23f4b6aee
|
Add a /rails.rb for each framework for consistency
|
2009-12-31 11:57:59 -08:00 |
|
Jeremy Kemper
|
1fbd02e446
|
Revert "Add config.action_controller.include behavior to plugins."
This reverts commit 7e8b7f46bf.
Conflicts:
railties/lib/rails/plugin.rb
|
2009-12-30 19:34:15 -08:00 |
|
Carl Lerche
|
2e87196d14
|
Use extlib_inheritable_accessor in request_forgery_protection.rb.
For some reason the current class_inheritable_accessor does not play nice with included hooks. class_inheritable_accessor will be revised shortly.
|
2009-12-29 13:21:36 -08:00 |
|
Jeremy Kemper
|
9a650a6547
|
Silence some trivial warnings: shadowed local vars, indentation mismatches
|
2009-12-28 17:36:08 -08:00 |
|
José Valim
|
97db79ab3c
|
Remove ActiveRecord runtime logging from ActionPack and place in ActiveRecord, adding it through config.action_controller.include hook.
|
2009-12-27 13:32:40 +01:00 |
|
José Valim
|
75ba102a80
|
Remove ActionView inline logging to ActiveSupport::Notifications and create 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.
|
2009-12-26 20:28:53 +01:00 |
|
Carlhuda
|
d2bd71a145
|
Finish moving config.frameworks-dependent code to the framework plugin
|
2009-12-23 17:23:29 -08:00 |
|
Carlhuda
|
38aeb1528c
|
Moving out some framework specific initializers into the framework libraries.
|
2009-12-23 16:13:09 -08:00 |
|
Joshua Peek
|
ace20bd25e
|
Flip deferrable autoload convention
|
2009-12-22 17:27:37 -06:00 |
|
Joshua Peek
|
b1aee9f4ee
|
All AD modules are "deferrable"
|
2009-12-22 17:11:21 -06:00 |
|
Joshua Peek
|
2d0c703c92
|
Use Rack::Runtime middleware so the reported time includes the entire middleware stack
|
2009-12-22 16:18:22 -06:00 |
|
Joshua Peek
|
a1bf2f96ce
|
AD::StatusCodes support is now part of rack
|
2009-12-22 16:08:03 -06:00 |
|
José Valim
|
4964d3b02c
|
Make ActionMailer::Base inherit from AbstractController::Base
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
|
2009-12-22 11:29:06 -08:00 |
|
David Heinemeier Hansson
|
fee07b9da0
|
Merge branch 'master' of github.com:rails/rails
|
2009-12-21 15:50:19 -08:00 |
|
Joshua Peek
|
f82e1046f8
|
reset_session needs to be a real method so flash can override it
|
2009-12-21 17:29:59 -06:00 |
|
David Heinemeier Hansson
|
fa8849a573
|
Merge branch 'master' of github.com:rails/rails
|
2009-12-21 11:28:16 -08:00 |
|
Yehuda Katz
|
17f66473bc
|
AC::Head now doesn't have an unfulfilled Rendering dependency, and instead works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
|
2009-12-20 18:50:54 -08:00 |
|
David Heinemeier Hansson
|
91ce8d8b7f
|
Merge branch 'master' of github.com:rails/rails
|
2009-12-20 18:32:35 -08:00 |
|
David Heinemeier Hansson
|
36c13cc07a
|
Rename RenderOptions to Renderers
|
2009-12-20 18:15:20 -08:00 |
|
Joshua Peek
|
29c8a43056
|
Rename RackConvenience => RackDelegation
|
2009-12-20 20:05:26 -06:00 |
|
Joshua Peek
|
0f8a5c7954
|
Merge Session stuff into RackConvenience
|
2009-12-20 20:00:04 -06:00 |
|
David Heinemeier Hansson
|
9b41e1e4d8
|
Renamed Redirector to Redirecting (its a module, not a class)
|
2009-12-20 17:25:13 -08:00 |
|
David Heinemeier Hansson
|
83f4d86a93
|
Rename the RenderingController module to just plain Rendering
|
2009-12-20 17:15:31 -08:00 |
|
David Heinemeier Hansson
|
c06aff0a7e
|
Added cookies.permanent, cookies.signed, and cookies.permanent.signed accessor for common cookie actions [DHH]
|
2009-12-20 14:33:13 -08:00 |
|
David Heinemeier Hansson
|
fa575973b1
|
Added alert/notice from 2-3-stable and refactored redirect_to into just living in Redirector [DHH]
|
2009-12-17 16:37:11 -08:00 |
|
Joshua Peek
|
5f8e48cbd2
|
Move route reloading into railties
|
2009-12-14 17:54:41 -06:00 |
|
Joshua Peek
|
1c52bca266
|
Fix warning in AC flash
|
2009-12-14 15:54:27 -06:00 |
|
Joshua Peek
|
018dafe574
|
Allow autoloads to opt out of eager loading
|
2009-12-12 18:41:26 -06:00 |
|
Joshua Peek
|
ee395fe626
|
TestProcess belongs in AD
|
2009-12-12 18:09:44 -06:00 |
|
Joshua Peek
|
588225f885
|
Remove fancy method not allowed resource exceptions since they are
too much of a hack
|
2009-12-11 00:01:22 -06:00 |
|
Joshua Peek
|
1b82590c36
|
Reduce usage of interpret_status. It should also return a integer
not a string.
|
2009-12-10 22:02:50 -06:00 |
|