José Valim
|
f2c0a353ae
|
Finish cleaning up rendering stack from views and move assigns evaluation to controller (so plugins and/or controllers can overwrite just one method).
|
2010-03-12 20:39:53 +01:00 |
|
José Valim
|
2a12686832
|
Allow anything that responds to render to be given as :template and use find_template instead of find in views.
|
2010-03-12 14:25:10 +01:00 |
|
José Valim
|
07cf49aadf
|
Optimize and clean up how details key get expired.
|
2010-03-10 22:13:29 +01:00 |
|
José Valim
|
00d6271d2b
|
Clean up the API required from ActionView::Template.
|
2010-03-09 13:12:11 +01:00 |
|
José Valim
|
8f082ff421
|
Clean LookupContext API.
|
2010-03-08 23:25:16 +01:00 |
|
José Valim
|
bdf5096816
|
Move details to lookup_context and make resolvers use the cache key.
|
2010-03-08 20:39:15 +01:00 |
|
José Valim
|
67a6725bf9
|
Move ViewPaths module to its own file.
|
2010-03-08 16:50:10 +01:00 |
|
José Valim
|
68cda695da
|
Speed up performance in resolvers by adding fallbacks just when required.
|
2010-03-08 16:32:40 +01:00 |
|
José Valim
|
44ebab96da
|
Rename Template::Lookup to LookupContext.
|
2010-03-08 15:19:03 +01:00 |
|
José Valim
|
ea68fe59c6
|
More refactoring on the views side of rendering.
|
2010-03-08 14:46:57 +01:00 |
|
José Valim
|
0a85380966
|
Finally moved the find template logic to the views.
|
2010-03-08 11:32:01 +01:00 |
|
José Valim
|
34b2180451
|
More refactoring. Split _normalize_args and _normalize_options concerns.
|
2010-03-08 03:23:23 +01:00 |
|
José Valim
|
4bae77a89b
|
More cleanup on the layouts side.
|
2010-03-08 02:58:16 +01:00 |
|
José Valim
|
ffd8d753f1
|
Move layout lookup to views.
|
2010-03-08 02:04:18 +01:00 |
|
José Valim
|
c7564d74e8
|
Added template lookup responsible to hold all information used in template lookup.
|
2010-03-07 19:41:58 +01:00 |
|
Carl Lerche
|
9eddc85444
|
Add a method for configuring abstract controllers
|
2010-03-04 00:52:10 -08:00 |
|
Carl Lerche
|
13a932cddc
|
Modifying configurations on the instance of a controller should not affect the class
|
2010-03-03 21:32:05 -08:00 |
|
Carl Lerche
|
7dbf5c820b
|
Tweak how ActionPack handles InheritableOptions
|
2010-03-03 21:29:26 -08:00 |
|
Carl Lerche
|
1f0f05b10c
|
Move the original config method onto AbstractController
|
2010-03-03 21:24:27 -08:00 |
|
Carlhuda
|
300d6b549d
|
Merge _details_defaults and details_for_render
|
2010-03-01 17:45:37 -08:00 |
|
José Valim
|
bd36418c51
|
Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 status:resolved]
|
2010-02-26 11:51:21 +01:00 |
|
José Valim
|
b48beb6986
|
Add missing require on abstract_controller/collector [#4061 status:resolved]
|
2010-02-26 10:27:06 +01:00 |
|
José Valim
|
df85ab41c1
|
Renamed LocalizedCache to DetailsCache.
|
2010-02-24 22:17:26 +01:00 |
|
Yehuda Katz
|
ac956c4aee
|
Update AP to start locking down a public API. This work is parallel to some docs I'm working on.
|
2010-02-16 10:45:59 -08:00 |
|
Xavier Noria
|
7cff54f5d3
|
name.blank? -> anonymous?
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
|
2010-02-14 13:09:39 -08:00 |
|
Jeremy Kemper
|
e5ab4b0d07
|
Convert to class_attribute
|
2010-02-01 02:02:42 -08:00 |
|
José Valim
|
0e063f435c
|
Fix some backward incompatible behavior on AM.
|
2010-01-30 16:35:22 +01:00 |
|
José Valim
|
cc2642b220
|
Added :format and :locale options to render.
|
2010-01-29 17:51:06 +01:00 |
|
José Valim
|
986a4e616b
|
Fix rendering of layouts.
|
2010-01-29 17:51:05 +01:00 |
|
José Valim
|
3f84091937
|
ActionMailer should depend just on AbstractController.
|
2010-01-29 17:51:05 +01:00 |
|
José Valim
|
e274eb1df1
|
Bring layouts with proc back alive.
|
2010-01-26 16:34:25 +01:00 |
|
José Valim and Mikel Lindsaar
|
502028a32b
|
Move double render check out of AbstractController.
|
2010-01-23 10:29:22 +01:00 |
|
José Valim and Mikel Lindsaar
|
ddfc0725a0
|
Added AbstractController::Collector.
|
2010-01-23 10:23:06 +01:00 |
|
José Valim
|
d618b7e3dc
|
Ensure strings given to render with slash are rendered relative to the configured _prefix.
|
2010-01-22 17:58:03 +01:00 |
|
José Valim
|
6e26be6960
|
Move ActionController::Translation to AbstractController::Translation.
|
2010-01-20 15:02:13 +01:00 |
|
José Valim
|
8e2fd54b19
|
Bring normalize behavior to AbstractController::Rendering
|
2010-01-20 15:02:13 +01:00 |
|
Pratik Naik
|
ed8501ef16
|
Fix DoubleRenderError error message
|
2010-01-19 15:23:56 +05:30 |
|
Joshua Peek
|
c29bb8857e
|
Clear out AS callback method pollution in AC::Base.action_methods
|
2010-01-17 22:06:28 -06:00 |
|
Joshua Peek
|
58fe3295fe
|
Base#action_methods delegates to Base.action_methods
|
2010-01-17 21:51:07 -06: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
|
562a00ba16
|
@_formats initialization should be AbstractController::Base.
|
2010-01-04 23:05:28 +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
|
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 |
|
Jeremy Kemper
|
9a650a6547
|
Silence some trivial warnings: shadowed local vars, indentation mismatches
|
2009-12-28 17:36:08 -08: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 |
|
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
|
a110ff0fca
|
Dont introspect inline templates for the logger and cleanup a few styling issues
|
2009-12-21 16:03:04 -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
|
83f4d86a93
|
Rename the RenderingController module to just plain Rendering
|
2009-12-20 17:15:31 -08:00 |
|
Joshua Peek
|
70c3e825fc
|
Fix response_body warning in AC
|
2009-12-14 16:07:46 -06:00 |
|