1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures
Carlos Antonio da Silva c67005f221 Do not generate local vars for partials without object or collection
Previously rendering a partial without giving :object or :collection
would generate a local variable with the partial name by default.

This was noticed due to warnings in Ruby 2.0 of not used variables,
which turned out to be the generation of not used variables inside
partials that do not contain objects related to them.
2013-01-08 09:15:20 -02:00
..
alternate_helpers Use redefine_method since baz is already defined. 2010-09-28 18:31:52 -03:00
bad_customers
blog_public Modified ActionDispatch::Static to allow passing multiple roots 2010-09-03 22:59:09 +02:00
comments added tests for render :file/:template and the :formats/:handlers/:locale options. 2011-09-23 00:36:10 +02:00
custom_pattern [action_view] added custom patterns to template resolver 2011-03-20 07:01:46 +08:00
customers
db_definitions Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
developers
digestor Digestor explicit dependency should not contain trailing whitespace 2012-12-21 18:00:51 -07:00
filter_test/implicit_actions Add a failing test case for an implicit action with a before filter. 2011-03-23 23:32:44 +00:00
fun Make controller namespace partial prefix optional 2012-03-28 20:21:46 -04:00
functional_caching Add explicit opt-out for fragment cache digesting 2012-11-25 22:10:44 -06:00
games Make controller namespace partial prefix optional 2012-03-28 20:21:46 -04:00
good_customers
happy_path/render_action Started implementing render :action 2009-03-19 13:35:39 -07:00
helpers Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) 2010-08-26 18:20:22 -03:00
helpers1_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
helpers2_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
layout_tests Recreate symlink in layouts for tests 2010-12-31 14:22:27 +01:00
layouts Merge pull request #5480 from drogus/rendering-issues 2012-03-17 11:24:19 -03:00
localized Fixed that default locale templates should be used if the current locale template is missing [DHH] 2010-04-08 18:11:26 -07:00
mascots
multipart
old_content_type removes the RJS template handler 2011-04-13 13:23:18 +02:00
override/test
override2/layouts/test
post_test
projects
public Respect absolute paths in compute_source_path. 2012-06-16 18:06:15 +02:00
quiz/questions Fixed simplified render with nested models [#2042 state:resolved] 2009-03-07 14:05:18 -06:00
replies
respond_to removes the RJS template handler 2011-04-13 13:23:18 +02:00
respond_with Make sure respond_with with :js tries to render a template in all cases 2011-06-30 11:47:36 -03:00
scope/test
session_autoload_test/session_autoload_test Fixed that an ArgumentError is thrown when request.session_options[:id] is read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. 2010-06-27 22:39:06 +02:00
star_star_mime add the fixture file 2010-11-22 23:06:13 +01:00
symlink_parent
test Do not generate local vars for partials without object or collection 2013-01-08 09:15:20 -02:00
topics
translations/templates wrap translate defaults to use translate helper features, closes #1102 2012-04-30 09:44:39 +03:00
_top_level_partial.html.erb
_top_level_partial_only.erb
companies.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
company.rb Remove integration between attr_accessible/protected and AC::Metal::ParamsWrapper 2012-09-16 23:58:20 -05:00
developer.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
developers.yml Replaced all 'for' loops with Enumerable#each 2012-01-30 03:15:49 +08:00
developers_projects.yml
hello.html Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. Closes #8994 2010-02-23 22:45:42 -08:00
mascot.rb
mascots.yml
plain_text.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
plain_text_with_characters.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
project.rb Remove deprecation warnings 2012-07-21 16:47:58 -03:00
projects.yml
replies.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
reply.rb Remove deprecation warning, since scoped waas deprecated 2012-07-29 16:11:48 -03:00
ruby_template.ruby Rename .rb template handler to .ruby to avoid conflicts with mustache views classes 2012-09-17 10:07:08 -05:00
shared.html.erb
topic.rb
topics.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
with_format.json.erb Use the right format when a partial is missing. 2012-02-20 17:52:14 -02:00