Joshua Peek
|
39ba2da82b
|
Moved complied method name logic into Renderable
|
2008-07-05 16:27:43 -05:00 |
|
Joshua Peek
|
1dcc59121b
|
Renamed Renderer to Renderable
|
2008-07-05 12:05:50 -05:00 |
|
Joshua Peek
|
01637796d7
|
Revert "Moved TemplateHandlers to Base"
This reverts commit 42d215a925.
Conflicts:
actionpack/lib/action_view/inline_template.rb
actionpack/lib/action_view/template.rb
|
2008-07-03 21:09:37 -05:00 |
|
miloops
|
570f5aad66
|
Allow date helpers to ignore date hidden field tags. [#503 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-04 01:06:22 +01:00 |
|
Joshua Peek
|
1a478923dc
|
Reduce the number of callsites for new TemplateFiles
|
2008-07-03 14:01:45 -05:00 |
|
Joshua Peek
|
8a442e0d57
|
Extracted Template rendering logic into Renderer module
|
2008-07-03 13:06:00 -05:00 |
|
Joshua Peek
|
7d5c8505f5
|
Use render on InlineTemplate
|
2008-07-03 12:50:43 -05:00 |
|
Joshua Peek
|
b6f89a8bf5
|
Don't rely on view instance logger
|
2008-07-03 12:49:54 -05:00 |
|
Joshua Peek
|
42d215a925
|
Moved TemplateHandlers to Base
|
2008-07-03 12:48:00 -05:00 |
|
Michael Koziarski
|
75e04b5295
|
Tighten the rescue clause when dealing with invalid instance variable names in form_helper.
|
2008-07-03 19:43:20 +03:00 |
|
Michael Koziarski
|
d79cde37ea
|
Move the file exists checks outside write_asset_file_contents.
This lets us avoid the relatively costly trip through compute_*_paths if the file already exists.
|
2008-07-03 19:43:14 +03:00 |
|
Michael Koziarski
|
12cf8f348b
|
Move template_format logic out to the request so it's alongside the 'regular' request format.
Use xhr? instead of the expensive trip through Request#accepts.
|
2008-07-03 19:43:06 +03:00 |
|
Michael Koziarski
|
7098143f07
|
Remove unused local_binding option to InstanceTag's Constructor
|
2008-07-03 19:26:56 +03:00 |
|
Michael Koziarski
|
5dd10d60bb
|
Remove nested ternary operators from select_year in favour of conditionals.
|
2008-07-03 19:26:56 +03:00 |
|
Michael Koziarski
|
df36a6f759
|
Remove unneeded ObjectWrapper class.
Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
|
2008-07-03 19:26:56 +03:00 |
|
Michael Koziarski
|
e358b1fce8
|
Remove old method of including javascripts define_javascript_functions.
javascript_include_tag and friends do a much better job.
|
2008-07-03 19:21:04 +03:00 |
|
Michael Koziarski
|
5501166dec
|
Remove strange alias for JavaScriptHelper
|
2008-07-03 19:20:47 +03:00 |
|
Joshua Peek
|
3b3790a435
|
Deprecate :use_full_path render option. The supplying the option no longer has an effect.
|
2008-07-02 21:38:58 -05:00 |
|
Pratik Naik
|
267d3964eb
|
Make sure render :collection doesnt set nil local when :as is absent
|
2008-07-02 17:19:41 +01:00 |
|
Pratik Naik
|
2b43620e3c
|
Add :as option to render a collection of partials with a custom local variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
|
2008-07-02 16:40:42 +01:00 |
|
Scott Stewart
|
7378e23734
|
Ensure proper output when submit_tag is used with :disabled_with. [#388 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-02 01:39:30 +01:00 |
|
gbuesing
|
4cf93935b2
|
Fix indentation and update changelogs for previous commit
|
2008-06-29 13:46:07 -05:00 |
|
Ernie Miller
|
d0092dc44d
|
Added support for regexp matching of priority zones in time_zone_select [#195 state:resolved]
|
2008-06-29 13:37:07 -05:00 |
|
Pratik Naik
|
029a745584
|
Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] [Pascal Ehlert]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-06-29 00:36:31 +01:00 |
|
Cheah Chu Yeow
|
3c1e8ab0fe
|
Allow single quote (the ' character) in the middle of URL when auto_link-ing. [#471 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-06-27 13:46:17 +01:00 |
|
Joshua Peek
|
a9259ccfe0
|
Hide InlineTemplate class from ActionController and use ActionView's render API
|
2008-06-25 06:04:06 -05:00 |
|
Joshua Peek
|
ad772402c4
|
Made ActionView::Base#render_file private
|
2008-06-25 05:57:24 -05:00 |
|
Joshua Peek
|
6f5327013d
|
Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and test them at a higher level of abstraction in ViewRenderTest.
|
2008-06-25 05:49:38 -05:00 |
|
Jeremy Kemper
|
69e72af622
|
Improve readability
|
2008-06-24 11:53:49 -07:00 |
|
Jeremy Kemper
|
b409474325
|
link_to_function and button_to_function shouldn't modify their options hashes
|
2008-06-23 23:41:21 -07:00 |
|
Jeremy Kemper
|
f4ccc17953
|
Performance: javascript helper tweaks to speed up escaping and reduce object allocations when building options strings
|
2008-06-21 14:54:10 -07:00 |
|
Jeremy Kemper
|
72f93b581f
|
Check whether blocks are called from erb using a special __in_erb_template variable visible in block binding.
|
2008-06-19 22:21:56 -07:00 |
|
Jeremy Kemper
|
c440c9b199
|
Move erb_trim_mode setting to the ERB template handler. Keep a Base.erb_trim_mode= delegator around.
|
2008-06-19 17:18:07 -07:00 |
|
Joshua Peek
|
bec4b69a3b
|
Replaced TemplateFinder abstraction with ViewLoadPaths
|
2008-06-17 21:21:07 -05:00 |
|
Jeremy Kemper
|
d7b3c3395f
|
Performance: PartialTemplate#initialize
|
2008-06-17 16:01:48 -07:00 |
|
David Heinemeier Hansson
|
8190bce8bc
|
Added block-call style to link_to [Sam Stephenson/DHH]
|
2008-06-17 17:37:29 -05:00 |
|
Pratik Naik
|
f31651bd6a
|
Reload cached templates when a new handler is registered
|
2008-06-15 17:20:31 +01:00 |
|
Joshua Peek
|
d4c58c7928
|
Opps, I forgot to add template_handlers.rb to my index.
|
2008-06-11 22:22:05 -05:00 |
|
Joshua Peek
|
5ed162d7c1
|
Moved template handler registration into a mix-in module.
|
2008-06-11 22:05:36 -05:00 |
|
Pratik Naik
|
f728e57d22
|
Make sure cache_template_loading works and don't use to_prepare callback
|
2008-06-11 09:36:41 +01:00 |
|
Ruy Asan
|
3f594299c8
|
TimeZone -> ActiveSupport::TimeZone. [#387 state:resolved]
|
2008-06-11 00:49:13 -07:00 |
|
Pratik Naik
|
0ad0bdc01c
|
Delegate ActionView::Base#controller_name to controller
|
2008-06-10 23:55:04 +01:00 |
|
rick
|
f545e19692
|
add deprecation for the #concat helper's 2nd argument, which is no longer needed
|
2008-06-09 14:18:21 -07:00 |
|
Joshua Peek
|
2336430471
|
Removed TemplateFinder.update_extension_cache_for since view path cache will be updated on boot.
|
2008-06-09 10:21:30 -05:00 |
|
Joshua Peek
|
55791c6c00
|
Removed used check_view_paths after 057768c
|
2008-06-09 10:05:02 -05:00 |
|
Jeremy Kemper
|
057768cd2c
|
Process view paths passed to AV::Base#initialize instead of raising.
|
2008-06-08 21:21:54 -07:00 |
|
Jeremy Kemper
|
c88f2b5e23
|
with_output_buffer returns the temporary buffer instead of the result of the block
|
2008-06-08 20:35:30 -07:00 |
|
Jeremy Kemper
|
ff5f155f8d
|
Use output_buffer reader and writer methods exclusively instead of hitting the instance variable so others can override the methods.
|
2008-06-08 20:05:39 -07:00 |
|
Jeremy Kemper
|
fe9d2ad6e8
|
Remove some internal dead code that supported content_for
|
2008-06-06 18:01:14 -07:00 |
|
Jeremy Kemper
|
26ec1be24a
|
concat should ignore nil
|
2008-06-06 18:00:01 -07:00 |
|