aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Allow empty files to be uploadedJoshua Peek2009-01-202-1/+11
|
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-201-0/+9
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add failing test for file uploads with unrewindable inputJoshua Peek2009-01-021-0/+1
|
* Fix rendering html partials from an rjs templateSam Stephenson2008-12-044-0/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Validate template extensions [#1187 state:resolved]Joshua Peek2008-12-031-0/+1
|
* Allow helpers directory to be overridden via ↵Sam Pohlenz2008-11-231-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 Hansson2008-11-191-1/+1
| | | | when not given an options hash [DHH]
* Fix rendering html partial via inline render when with :js format [#1399 ↵Luke Melia2008-11-181-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 Peek2008-10-301-1/+1
| | | | overwritten [#1250 state:resolved]
* Ensure @content_for_* is checked before yielding to block in render :layout ↵Ryan Bates2008-10-282-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 Peek2008-10-281-0/+1
| | | | accessed. Added ActionView::Base#template to access the template object.
* Fixed missing template paths on exception [#1082 state:resolved]Claudio Poli2008-09-201-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* pass yielded arguments to block for ActionView::Base#render with :layout ↵Ryan Bates2008-08-172-0/+4
| | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix rendering partials at the top level [#795 state:resolved]Joshua Peek2008-08-132-0/+2
|
* Added tests for partial collection counters [#766 state:resolved]Cameron Yule2008-08-091-0/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-181-0/+2
| | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Improved test coverage for fragment cache helperJoshua Peek2008-07-153-0/+14
|
* Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-131-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 Peek2008-07-125-0/+5
| | | | RenderPartialWithRecordIdentificationTests
* Rendering default template for missing actions works with non-word ↵Jeremy Kemper2008-07-091-0/+1
| | | | characters in action name
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-082-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 absentPratik Naik2008-07-021-0/+1
|
* Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-021-0/+1
| | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
* Made ActionView::Base#render_file privateJoshua Peek2008-06-251-1/+1
|
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-191-1/+1
| | | | variable visible in block binding.
* Remove some internal dead code that supported content_forJeremy Kemper2008-06-062-4/+0
|
* Ensure render :file works inside templatesPratik Naik2008-06-051-0/+1
|
* Improve PartialTemplate testsPratik Naik2008-05-021-0/+1
|
* Fixed render :template for templates in top level of view path. [#54 ↵Pratik Naik2008-05-011-0/+1
| | | | state:resolved]
* Forgot theseDavid Heinemeier Hansson2008-04-303-0/+8
|
* Added test for has_one partial rendering (keeran) [#43 state:resolved]David Heinemeier Hansson2008-04-302-0/+7
|
* Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved]David Heinemeier Hansson2008-04-301-0/+1
|
* Scripts and styles with multiple dots in the filename should cacheStephen Celis2008-04-122-0/+2
|
* Missed adds. References #11491.Jeremy Kemper2008-04-012-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 Kemper2008-03-282-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing fileDavid Heinemeier Hansson2008-03-281-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed adds. References #10350.Jeremy Kemper2008-03-204-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 Kemper2008-03-201-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 Koziarski2008-03-031-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 Hansson2008-02-291-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 commitMarcel Molina2008-02-082-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 Koziarski2008-01-162-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 Hansson2008-01-124-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 Hansson2008-01-032-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 Kemper2007-12-101-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 Kemper2007-12-101-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 Hansson2007-11-124-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 Kemper2007-10-251-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 Hansson2007-09-301-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 Hansson2007-09-286-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de