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
Piotr Sarnacki e4aaac1301 Fix sorting of helpers from different paths
When more than one directory for helpers is provided to a controller, it
should preserver the order of directories. Given 2 paths:

    MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]

helpers from dir1 should be loaded first. Before this commit, all
helpers were mixed and then sorted alphabetically, which essentially
would require to rename helpers to get desired order.

This is a problem especially for engines, where you would like to be
able to predict accurately which engine helpers will load first.

(closes #6496)
2012-05-28 06:58:48 +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
filter_test/implicit_actions
fun Make controller namespace partial prefix optional 2012-03-28 20:21:46 -04:00
functional_caching Merge pull request #2219 from kommen/fix_fragment_caching_squashed 2011-10-13 13:36:20 -07: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
override/test
override2/layouts/test
post_test
projects
public Remove fixture files with Windows incompatible filenames 2012-02-20 04:46:45 +00:00
quiz/questions
replies
respond_to
respond_with Make sure respond_with with :js tries to render a template in all cases 2011-06-30 11:47:36 -03:00
routes add tests and external file backtrace for Routing::Mapper#draw 2012-05-15 04:28:10 +02:00
scope/test
session_autoload_test/session_autoload_test
star_star_mime
symlink_parent
test Fix assert_template assertion with :layout option 2012-05-04 23:31:03 +04: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 Deprecate set_sequence_name in favour of self.sequence_name= 2011-11-29 20:13:37 +00: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
projects.yml
replies.yml
reply.rb Use the new scope syntax 2012-03-23 10:32:51 -03: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