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
bad_customers
blog_public
comments added tests for render :file/:template and the :formats/:handlers/:locale options. 2011-09-23 00:36:10 +02:00
custom_pattern
customers
db_definitions
developers
digestor Digestor explicit dependency should not contain trailing whitespace 2012-12-21 18:00:51 -07:00
filter_test/implicit_actions
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
helpers
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
layouts Merge pull request #5480 from drogus/rendering-issues 2012-03-17 11:24:19 -03:00
localized
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
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
star_star_mime
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
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
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
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
with_format.json.erb Use the right format when a partial is missing. 2012-02-20 17:52:14 -02:00