Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow helpers directory to be overridden via ↵ | Sam Pohlenz | 2008-11-23 | 1 | -0/+3 |
| | | | | | | ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Changed the default of ActionView#render to assume partials instead of files ↵ | David Heinemeier Hansson | 2008-11-19 | 1 | -1/+1 |
| | | | | when not given an options hash [DHH] | ||||
* | Fix rendering html partial via inline render when with :js format [#1399 ↵ | Luke Melia | 2008-11-18 | 1 | -0/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Dup local assigns for partial collections so nil values doesn't get ↵ | Joshua Peek | 2008-10-30 | 1 | -1/+1 |
| | | | | overwritten [#1250 state:resolved] | ||||
* | Ensure @content_for_* is checked before yielding to block in render :layout ↵ | Ryan Bates | 2008-10-28 | 2 | -0/+5 |
| | | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Track rendered templates in stack so the current template can always be ↵ | Joshua Peek | 2008-10-28 | 1 | -0/+1 |
| | | | | accessed. Added ActionView::Base#template to access the template object. | ||||
* | Fixed missing template paths on exception [#1082 state:resolved] | Claudio Poli | 2008-09-20 | 1 | -0/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | pass yielded arguments to block for ActionView::Base#render with :layout ↵ | Ryan Bates | 2008-08-17 | 2 | -0/+4 |
| | | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix rendering partials at the top level [#795 state:resolved] | Joshua Peek | 2008-08-13 | 2 | -0/+2 |
| | |||||
* | Added tests for partial collection counters [#766 state:resolved] | Cameron Yule | 2008-08-09 | 1 | -0/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Set the response content type to that of found template if not explicitly ↵ | Tom Ward | 2008-07-18 | 1 | -0/+2 |
| | | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Improved test coverage for fragment cache helper | Joshua Peek | 2008-07-15 | 3 | -0/+14 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -0/+2 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Improve test coverage and create fixtures for ↵ | Joshua Peek | 2008-07-12 | 5 | -0/+5 |
| | | | | RenderPartialWithRecordIdentificationTests | ||||
* | Rendering default template for missing actions works with non-word ↵ | Jeremy Kemper | 2008-07-09 | 1 | -0/+1 |
| | | | | characters in action name | ||||
* | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 2 | -0/+2 |
| | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Make sure render :collection doesnt set nil local when :as is absent | Pratik Naik | 2008-07-02 | 1 | -0/+1 |
| | |||||
* | Add :as option to render a collection of partials with a custom local ↵ | Pratik Naik | 2008-07-02 | 1 | -0/+1 |
| | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik] | ||||
* | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 1 | -1/+1 |
| | |||||
* | Check whether blocks are called from erb using a special __in_erb_template ↵ | Jeremy Kemper | 2008-06-19 | 1 | -1/+1 |
| | | | | variable visible in block binding. | ||||
* | Remove some internal dead code that supported content_for | Jeremy Kemper | 2008-06-06 | 2 | -4/+0 |
| | |||||
* | Ensure render :file works inside templates | Pratik Naik | 2008-06-05 | 1 | -0/+1 |
| | |||||
* | Improve PartialTemplate tests | Pratik Naik | 2008-05-02 | 1 | -0/+1 |
| | |||||
* | Fixed render :template for templates in top level of view path. [#54 ↵ | Pratik Naik | 2008-05-01 | 1 | -0/+1 |
| | | | | state:resolved] | ||||
* | Forgot these | David Heinemeier Hansson | 2008-04-30 | 3 | -0/+8 |
| | |||||
* | Added test for has_one partial rendering (keeran) [#43 state:resolved] | David Heinemeier Hansson | 2008-04-30 | 2 | -0/+7 |
| | |||||
* | Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved] | David Heinemeier Hansson | 2008-04-30 | 1 | -0/+1 |
| | |||||
* | Scripts and styles with multiple dots in the filename should cache | Stephen Celis | 2008-04-12 | 2 | -0/+2 |
| | |||||
* | Missed adds. References #11491. | Jeremy Kemper | 2008-04-01 | 2 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix layouts in symlinked paths. Closes #9136 [court3nay, caio] | Jeremy Kemper | 2008-03-28 | 2 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add missing file | David Heinemeier Hansson | 2008-03-28 | 1 | -0/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Missed adds. References #10350. | Jeremy Kemper | 2008-03-20 | 4 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to ↵ | Jeremy Kemper | 2008-03-20 | 1 | -0/+1 |
| | | | | | | make it easier for plugin developers to inject multiple assets. Closes #10350. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor partial rendering into a PartialTemplate class. [Pratik] | Michael Koziarski | 2008-03-03 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added that requests with JavaScript as the priority mime type in the accept ↵ | David Heinemeier Hansson | 2008-02-29 | 1 | -0/+1 |
| | | | | | | header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ooops. Add fixture partials for last commit | Marcel Molina | 2008-02-08 | 2 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make render :partial recognise form builders and use the _form partial. ↵ | Michael Koziarski | 2008-01-16 | 2 | -0/+2 |
| | | | | | | Closes #10814 [djanowski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix a few caching errors, expose a case thats still not working (ref #107330 ↵ | David Heinemeier Hansson | 2008-01-12 | 4 | -0/+7 |
| | | | | | | [catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed rendering of partials with layout when done from site layout (closes ↵ | David Heinemeier Hansson | 2008-01-03 | 2 | -0/+6 |
| | | | | | | #9209) [antramm] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Missed commit. Closes #10437. | Jeremy Kemper | 2007-12-10 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix up template handler tests. Closes #10437. | Jeremy Kemper | 2007-12-10 | 1 | -4/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that has_many :through associations should render as collections too ↵ | David Heinemeier Hansson | 2007-11-12 | 4 | -2/+8 |
| | | | | | | (closes #9051) [mathie/danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Partials also set 'object' to the default partial variable. Closes #8823. | Jeremy Kemper | 2007-10-25 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that render template did not honor exempt_from_layout (closes #9698) ↵ | David Heinemeier Hansson | 2007-09-30 | 1 | -0/+1 |
| | | | | | | [pezra] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed the layout defaults (closes #9564) [lifo] | David Heinemeier Hansson | 2007-09-28 | 6 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Please do remember | David Heinemeier Hansson | 2007-09-25 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Doh, forgot this file | David Heinemeier Hansson | 2007-09-25 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Better failing tests | David Heinemeier Hansson | 2007-09-25 | 2 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added failing tests for iphone | David Heinemeier Hansson | 2007-09-25 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Submit missing fixture files | David Heinemeier Hansson | 2007-09-21 | 2 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |