aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
Commit message (Collapse)AuthorAgeFilesLines
...
| * Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵Eugene Pimenov2009-02-061-0/+2
| | | | | | | | | | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * implicitly rendering a js response should not use the default layout [#1844 ↵Adam McCrea2009-02-051-0/+1
| | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Added localized rescue (404.da.html) [#1835 state:committed]José Valim2009-02-021-0/+1
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Started implementing render :actionYehuda Katz2009-03-191-0/+1
| |
* | Implemented basic template rendering in AC::Base2:Yehuda Katz2009-03-181-0/+1
| | | | | | | | | | | | | | * Created several macros for writing simpler specs * Finished making Rack::Test work right * Implemented render_to_string * Status Codes * render :text => nil
* | Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-301-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/base.rb actionpack/lib/action_dispatch/http/mime_type.rb actionpack/lib/action_dispatch/http/request.rb actionpack/lib/action_view/base.rb actionpack/lib/action_view/paths.rb actionpack/test/controller/session/cookie_store_test.rb actionpack/test/dispatch/rack_test.rb actionpack/test/dispatch/request_test.rb
| * Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-0/+1
| |
* | Restore implicit rendering for XHR requests that want a HTML template [#1590 ↵Joshua Peek2009-01-271-0/+1
| | | | | | | | state:resolved]
* | Add localized templatesJoshua Peek2009-01-251-0/+1
| | | | | | | | | | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* | Remove the irrelevant fixture added in fe6ffce51dc16285094be49244b26591956c2dd6Pratik Naik2009-01-241-8/+0
| |
* | Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-241-1/+9
|/
* 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