radiant 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of radiant might be problematic. Click here for more details.
- data/CHANGELOG +295 -195
- data/CONTRIBUTORS +14 -2
- data/INSTALL +0 -0
- data/LICENSE +0 -0
- data/README +0 -0
- data/Rakefile +0 -0
- data/app/controllers/admin/export_controller.rb +0 -0
- data/app/controllers/admin/extensions_controller.rb +6 -0
- data/app/controllers/admin/layouts_controller.rb +4 -0
- data/app/controllers/admin/page_parts_controller.rb +1 -1
- data/app/controllers/admin/pages_controller.rb +13 -5
- data/app/controllers/admin/preferences_controller.rb +1 -1
- data/app/controllers/admin/references_controller.rb +0 -0
- data/app/controllers/admin/resource_controller.rb +12 -14
- data/app/controllers/admin/snippets_controller.rb +3 -0
- data/app/controllers/admin/users_controller.rb +4 -0
- data/app/controllers/admin/welcome_controller.rb +2 -2
- data/app/controllers/{application.rb → application_controller.rb} +13 -1
- data/app/controllers/site_controller.rb +21 -21
- data/app/helpers/admin/abstract_model_helper.rb +0 -0
- data/app/helpers/admin/export_helper.rb +0 -0
- data/app/helpers/admin/extensions_helper.rb +0 -0
- data/app/helpers/admin/layouts_helper.rb +0 -0
- data/app/helpers/admin/node_helper.rb +0 -0
- data/app/helpers/admin/pages_helper.rb +1 -1
- data/app/helpers/admin/preferences_helper.rb +0 -0
- data/app/helpers/admin/references_helper.rb +1 -1
- data/app/helpers/admin/regions_helper.rb +8 -8
- data/app/helpers/admin/snippets_helper.rb +0 -0
- data/app/helpers/admin/users_helper.rb +0 -0
- data/app/helpers/admin/welcome_helper.rb +0 -0
- data/app/helpers/application_helper.rb +1 -1
- data/app/helpers/site_helper.rb +0 -0
- data/app/models/env_dump_page.rb +0 -0
- data/app/models/file_not_found_page.rb +3 -3
- data/app/models/layout.rb +2 -2
- data/app/models/page.rb +59 -78
- data/app/models/page_context.rb +0 -0
- data/app/models/page_part.rb +3 -3
- data/app/models/radiant/config.rb +23 -23
- data/app/models/radiant/exporter.rb +0 -0
- data/app/models/snippet.rb +3 -3
- data/app/models/standard_tags.rb +11 -2
- data/app/models/status.rb +0 -0
- data/app/models/text_filter.rb +0 -0
- data/app/models/user.rb +14 -5
- data/app/models/user_action_observer.rb +0 -0
- data/app/views/admin/extensions/index.html.haml +0 -0
- data/app/views/admin/layouts/_form.html.haml +0 -0
- data/app/views/admin/layouts/edit.html.haml +0 -0
- data/app/views/admin/layouts/index.html.haml +0 -0
- data/app/views/admin/layouts/new.html.haml +0 -0
- data/app/views/admin/layouts/remove.html.haml +0 -0
- data/app/views/admin/page_parts/_page_part.html.haml +5 -3
- data/app/views/admin/pages/_edit_styles.html.haml +0 -0
- data/app/views/admin/pages/_fields.html.haml +0 -0
- data/app/views/admin/pages/_meta_row.html.haml +0 -0
- data/app/views/admin/pages/_node.html.haml +0 -0
- data/app/views/admin/pages/_popups.html.haml +2 -1
- data/app/views/admin/pages/children.html.haml +0 -0
- data/app/views/admin/pages/edit.html.haml +0 -0
- data/app/views/admin/pages/index.html.haml +0 -0
- data/app/views/admin/pages/new.html.haml +0 -0
- data/app/views/admin/pages/remove.html.haml +0 -0
- data/app/views/admin/preferences/edit.html.haml +0 -0
- data/app/views/admin/references/_tag_reference.haml +0 -0
- data/app/views/admin/references/filters.js.erb +0 -0
- data/app/views/admin/references/tags.js.erb +0 -0
- data/app/views/admin/snippets/_form.html.haml +0 -0
- data/app/views/admin/snippets/edit.html.haml +0 -0
- data/app/views/admin/snippets/index.html.haml +0 -0
- data/app/views/admin/snippets/new.html.haml +0 -0
- data/app/views/admin/snippets/remove.html.haml +0 -0
- data/app/views/admin/users/_form.html.haml +0 -0
- data/app/views/admin/users/edit.html.haml +0 -0
- data/app/views/admin/users/index.html.haml +0 -0
- data/app/views/admin/users/new.html.haml +0 -0
- data/app/views/admin/users/remove.html.haml +0 -0
- data/app/views/admin/welcome/login.html.haml +0 -0
- data/app/views/layouts/application.html.haml +0 -0
- data/app/views/site/not_found.html.haml +0 -0
- data/config/boot.rb +5 -4
- data/config/database.mysql.yml +0 -0
- data/config/database.postgresql.yml +0 -0
- data/config/database.sqlite.yml +1 -1
- data/config/database.sqlserver.yml +0 -0
- data/config/environment.rb +30 -43
- data/config/environments/development.rb +1 -2
- data/config/environments/production.rb +0 -1
- data/config/environments/test.rb +6 -2
- data/config/routes.rb +0 -0
- data/db/migrate/001_create_radiant_tables.rb +0 -0
- data/db/migrate/002_insert_initial_data.rb +0 -0
- data/db/migrate/003_rename_behavior_column.rb +0 -0
- data/db/migrate/004_rename_filter_column.rb +0 -0
- data/db/migrate/005_add_virtual_column_to_page.rb +0 -0
- data/db/migrate/006_integer_columns_to_boolean.rb +0 -0
- data/db/migrate/007_remove_virtual_column_from_page.rb +0 -0
- data/db/migrate/008_add_virtual_column_to_page_again.rb +0 -0
- data/db/migrate/009_add_content_type_field_to_layout.rb +0 -0
- data/db/migrate/010_merge_behaviors_and_pages.rb +0 -0
- data/db/migrate/011_rename_type_column_on_page_to_class_name.rb +0 -0
- data/db/migrate/012_create_extension_meta.rb +0 -0
- data/db/migrate/013_add_notes_field_to_user.rb +0 -0
- data/db/migrate/014_rename_config_default_parts_key.rb +0 -0
- data/db/migrate/015_add_optimistic_locking.rb +0 -0
- data/db/migrate/016_add_sessions.rb +0 -0
- data/db/migrate/017_rename_created_by_updated_by_columns.rb +0 -0
- data/db/migrate/018_add_description_and_keywords_to_pages.rb +0 -0
- data/db/migrate/019_add_salt_to_users.rb +0 -0
- data/db/migrate/020_add_session_info_to_users.rb +0 -0
- data/db/migrate/021_remove_session_expire_from_users.rb +0 -0
- data/db/migrate/20081203140407_add_indexes.rb +0 -0
- data/db/schema.rb +1 -1
- data/db/templates/empty.yml +0 -0
- data/db/templates/roasters.yml +0 -0
- data/db/templates/simple-blog.yml +0 -0
- data/db/templates/styled-blog.yml +0 -0
- data/features/admin/content_negotiation.feature +24 -0
- data/features/admin/layouts_management.feature +10 -0
- data/features/admin/pages_management.feature +71 -0
- data/features/admin/snippets_management.feature +54 -0
- data/features/admin/user_permissions.feature +149 -0
- data/features/admin/user_preferences.feature +18 -0
- data/features/admin/users_management.feature +63 -0
- data/features/page_serving.feature +42 -0
- data/features/step_definitions/admin/admin_steps.rb +31 -0
- data/features/step_definitions/admin/content_negotiation_steps.rb +37 -0
- data/features/step_definitions/admin/pages_management_steps.rb +14 -0
- data/features/step_definitions/admin/users_management_steps.rb +12 -0
- data/features/step_definitions/page_serving_steps.rb +65 -0
- data/features/step_definitions/webrat_steps.rb +117 -0
- data/features/support/env.rb +23 -0
- data/features/support/paths.rb +14 -0
- data/lib/annotatable.rb +0 -0
- data/lib/autotest/discover.rb +0 -0
- data/lib/autotest/radiant_rails_rspec.rb +0 -0
- data/lib/generators/extension/USAGE +0 -0
- data/lib/generators/extension/extension_generator.rb +0 -0
- data/lib/generators/extension/templates/README +0 -0
- data/lib/generators/extension/templates/RSpecRakefile +0 -0
- data/lib/generators/extension/templates/extension.rb +0 -0
- data/lib/generators/extension/templates/functional_test.rb +0 -0
- data/lib/generators/extension/templates/migration.rb +0 -0
- data/lib/generators/extension/templates/spec.opts +0 -0
- data/lib/generators/extension/templates/spec_helper.rb +0 -0
- data/lib/generators/extension/templates/tasks.rake +2 -2
- data/lib/generators/extension/templates/test_helper.rb +0 -0
- data/lib/generators/extension_controller/USAGE +0 -0
- data/lib/generators/extension_controller/extension_controller_generator.rb +0 -0
- data/lib/generators/extension_controller/templates/controller.rb +0 -0
- data/lib/generators/extension_controller/templates/controller_spec.rb +0 -0
- data/lib/generators/extension_controller/templates/functional_test.rb +0 -0
- data/lib/generators/extension_controller/templates/helper.rb +0 -0
- data/lib/generators/extension_controller/templates/helper_spec.rb +0 -0
- data/lib/generators/extension_controller/templates/helper_test.rb +4 -0
- data/lib/generators/extension_controller/templates/view.html.erb +0 -0
- data/lib/generators/extension_controller/templates/view_spec.rb +0 -0
- data/lib/generators/extension_mailer/USAGE +0 -0
- data/lib/generators/extension_mailer/extension_mailer_generator.rb +0 -0
- data/lib/generators/extension_mailer/templates/fixture.erb +0 -0
- data/lib/generators/extension_mailer/templates/mailer.rb +0 -0
- data/lib/generators/extension_mailer/templates/unit_test.rb +0 -0
- data/lib/generators/extension_mailer/templates/view.erb +0 -0
- data/lib/generators/extension_migration/USAGE +0 -0
- data/lib/generators/extension_migration/extension_migration_generator.rb +0 -0
- data/lib/generators/extension_migration/templates/migration.rb +0 -0
- data/lib/generators/extension_model/USAGE +0 -0
- data/lib/generators/extension_model/extension_model_generator.rb +0 -0
- data/lib/generators/extension_model/templates/fixtures.yml +0 -0
- data/lib/generators/extension_model/templates/migration.rb +0 -0
- data/lib/generators/extension_model/templates/model.rb +0 -0
- data/lib/generators/extension_model/templates/model_spec.rb +0 -0
- data/lib/generators/extension_model/templates/unit_test.rb +0 -0
- data/lib/generators/generator_base_extension.rb +0 -0
- data/lib/generators/instance/instance_generator.rb +0 -0
- data/lib/generators/instance/templates/databases/mysql.yml +0 -0
- data/lib/generators/instance/templates/databases/postgresql.yml +0 -0
- data/lib/generators/instance/templates/databases/sqlite3.yml +0 -0
- data/lib/generators/instance/templates/databases/sqlserver.yml +0 -0
- data/lib/generators/instance/templates/instance_boot.rb +1 -4
- data/lib/generators/instance/templates/instance_environment.rb +36 -44
- data/lib/generators/instance/templates/instance_generate +0 -0
- data/lib/generators/instance/templates/instance_rakefile +0 -0
- data/lib/generators/instance/templates/instance_routes.rb +0 -0
- data/lib/inheritable_class_attributes.rb +0 -0
- data/lib/local_time.rb +0 -0
- data/lib/login_system.rb +59 -40
- data/lib/method_observer.rb +0 -0
- data/lib/plugins/active_record_extensions/init.rb +0 -0
- data/lib/plugins/active_record_extensions/lib/active_record_extensions.rb +0 -0
- data/lib/plugins/extension_patches/init.rb +1 -3
- data/lib/plugins/extension_patches/lib/routing_extension.rb +0 -0
- data/lib/plugins/object_extensions/init.rb +0 -0
- data/lib/plugins/object_extensions/lib/object_extensions.rb +0 -0
- data/lib/plugins/response_cache_timeout/init.rb +1 -1
- data/lib/plugins/string_extensions/init.rb +0 -0
- data/lib/plugins/string_extensions/lib/string_extensions.rb +10 -9
- data/lib/plugins/symbol_extensions/init.rb +0 -0
- data/lib/plugins/symbol_extensions/lib/symbol_extensions.rb +2 -4
- data/lib/radiant.rb +2 -2
- data/lib/radiant/admin_ui.rb +0 -0
- data/lib/radiant/admin_ui/region_partials.rb +0 -0
- data/lib/radiant/admin_ui/region_set.rb +0 -0
- data/lib/radiant/cache.rb +84 -0
- data/lib/radiant/extension.rb +0 -0
- data/lib/radiant/extension/script.rb +0 -0
- data/lib/radiant/extension_loader.rb +1 -1
- data/lib/radiant/extension_migrator.rb +0 -0
- data/lib/radiant/initializer.rb +33 -8
- data/lib/radiant/legacy_routes.rb +0 -0
- data/lib/radiant/resource_responses.rb +0 -0
- data/lib/radiant/setup.rb +1 -1
- data/lib/radiant/taggable.rb +0 -0
- data/lib/simpleton.rb +0 -0
- data/lib/tasks/cucumber.rake +17 -0
- data/lib/tasks/database.rake +0 -0
- data/lib/tasks/environments.rake +0 -0
- data/lib/tasks/extensions.rake +0 -0
- data/lib/tasks/framework.rake +49 -16
- data/lib/tasks/instance.rake +0 -0
- data/lib/tasks/release.rake +8 -3
- data/lib/tasks/rspec.rake +178 -130
- data/lib/tasks/undefine.rake +0 -0
- data/log/.keep +0 -0
- data/public/.htaccess +0 -0
- data/public/404.html +0 -0
- data/public/500.html +0 -0
- data/public/favicon.ico +0 -0
- data/public/images/admin/add-child.png +0 -0
- data/public/images/admin/clear-page-cache.png +0 -0
- data/public/images/admin/collapse.png +0 -0
- data/public/images/admin/expand.png +0 -0
- data/public/images/admin/layout.png +0 -0
- data/public/images/admin/minus.png +0 -0
- data/public/images/admin/new-homepage.png +0 -0
- data/public/images/admin/new-layout.png +0 -0
- data/public/images/admin/new-snippet.png +0 -0
- data/public/images/admin/new-user.png +0 -0
- data/public/images/admin/page.png +0 -0
- data/public/images/admin/plus.png +0 -0
- data/public/images/admin/remove-disabled.png +0 -0
- data/public/images/admin/remove.png +0 -0
- data/public/images/admin/snippet.png +0 -0
- data/public/images/admin/spinner.gif +0 -0
- data/public/images/admin/virtual-page.png +0 -0
- data/public/javascripts/admin/admin.js +1 -0
- data/public/javascripts/admin/ruledtable.js +0 -0
- data/public/javascripts/admin/sitemap.js +0 -0
- data/public/javascripts/admin/tabcontrol.js +6 -0
- data/public/javascripts/application.js +0 -0
- data/public/javascripts/controls.js +72 -72
- data/public/javascripts/dragdrop.js +165 -164
- data/public/javascripts/effects.js +173 -165
- data/public/javascripts/pngfix.js +0 -0
- data/public/javascripts/prototype.js +362 -267
- data/public/javascripts/string.js +0 -0
- data/public/robots.txt +0 -0
- data/public/stylesheets/admin/main.css +0 -0
- data/script/cucumber +8 -0
- data/spec/controllers/admin/export_controller_spec.rb +0 -0
- data/spec/controllers/admin/extensions_controller_spec.rb +23 -8
- data/spec/controllers/admin/layouts_controller_spec.rb +41 -1
- data/spec/controllers/admin/pages_controller_spec.rb +73 -25
- data/spec/controllers/admin/preferences_controller_spec.rb +6 -0
- data/spec/controllers/admin/references_controller_spec.rb +0 -0
- data/spec/controllers/admin/snippets_controller_spec.rb +71 -18
- data/spec/controllers/admin/users_controller_spec.rb +44 -0
- data/spec/controllers/admin/welcome_controller_spec.rb +10 -1
- data/spec/controllers/application_controller_spec.rb +25 -4
- data/spec/controllers/site_controller_spec.rb +49 -12
- data/spec/datasets/config_dataset.rb +11 -0
- data/spec/datasets/file_not_found_dataset.rb +0 -0
- data/spec/datasets/home_page_dataset.rb +0 -0
- data/spec/datasets/layouts_dataset.rb +0 -0
- data/spec/datasets/markup_pages_dataset.rb +0 -0
- data/spec/datasets/pages_dataset.rb +5 -0
- data/spec/datasets/pages_with_layouts_dataset.rb +0 -0
- data/spec/datasets/snippets_dataset.rb +0 -0
- data/spec/datasets/users_and_pages_dataset.rb +0 -0
- data/spec/datasets/users_dataset.rb +0 -0
- data/spec/fixtures/example_extension/README +0 -0
- data/spec/fixtures/example_extension/Rakefile +0 -0
- data/spec/fixtures/example_extension/example_extension.rb +0 -0
- data/spec/fixtures/example_extension/lib/tasks/example_extension_tasks.rake +0 -0
- data/spec/fixtures/example_extension/spec/spec.opts +0 -0
- data/spec/fixtures/example_extension/spec/spec_helper.rb +0 -0
- data/spec/fixtures/sample.txt +0 -0
- data/spec/generators/extension_controller_generator_spec.rb +0 -0
- data/spec/generators/extension_generator_spec.rb +0 -0
- data/spec/generators/extension_generators_spec_helper.rb +0 -0
- data/spec/generators/extension_mailer_generator_spec.rb +0 -0
- data/spec/generators/extension_migration_generator_spec.rb +0 -0
- data/spec/generators/extension_model_generator_spec.rb +0 -0
- data/spec/helpers/admin/abstract_model_helper_spec.rb +0 -0
- data/spec/helpers/admin/export_helper_spec.rb +0 -0
- data/spec/helpers/admin/extensions_helper_spec.rb +0 -0
- data/spec/helpers/admin/layouts_helper_spec.rb +0 -0
- data/spec/helpers/admin/node_helper_spec.rb +0 -0
- data/spec/helpers/admin/pages_helper_spec.rb +0 -0
- data/spec/helpers/admin/preferences_helper_spec.rb +0 -0
- data/spec/helpers/admin/references_helper_spec.rb +0 -0
- data/spec/helpers/admin/regions_helper_spec.rb +6 -9
- data/spec/helpers/admin/snippets_helper_spec.rb +0 -0
- data/spec/helpers/admin/users_helper_spec.rb +0 -0
- data/spec/helpers/admin/welcome_helper_spec.rb +0 -0
- data/spec/helpers/application_helper_spec.rb +0 -0
- data/spec/helpers/site_helper_spec.rb +0 -0
- data/spec/lib/annotatable_spec.rb +0 -0
- data/spec/lib/autotest_spec.rb +0 -0
- data/spec/lib/core_ext/string_ext_spec.rb +5 -4
- data/spec/lib/inheritable_class_attributes_spec.rb +0 -0
- data/spec/lib/local_time_spec.rb +0 -0
- data/spec/lib/login_system_spec.rb +29 -35
- data/spec/lib/method_observer_spec.rb +0 -0
- data/spec/lib/radiant/admin_ui/region_partials_spec.rb +0 -0
- data/spec/lib/radiant/admin_ui/region_set_spec.rb +0 -0
- data/spec/lib/radiant/admin_ui_spec.rb +0 -0
- data/spec/lib/radiant/extension/script_spec.rb +0 -0
- data/spec/lib/radiant/extension_loader_spec.rb +32 -23
- data/spec/lib/radiant/extension_migrator_spec.rb +0 -0
- data/spec/lib/radiant/extension_spec.rb +0 -0
- data/spec/lib/radiant/initializer_spec.rb +17 -0
- data/spec/lib/radiant/legacy_routes_spec.rb +0 -0
- data/spec/lib/radiant/resource_responses_spec.rb +0 -0
- data/spec/lib/radiant/taggable_spec.rb +0 -0
- data/spec/lib/radiant_spec.rb +0 -0
- data/spec/lib/simpleton_spec.rb +0 -0
- data/spec/matchers/autotest_matchers.rb +0 -0
- data/spec/matchers/generator_matchers.rb +0 -0
- data/spec/matchers/login_system_matcher.rb +0 -0
- data/spec/matchers/render_form_errors_matcher.rb +0 -0
- data/spec/matchers/render_matcher.rb +9 -4
- data/spec/models/env_dump_page_spec.rb +0 -0
- data/spec/models/file_not_found_page_spec.rb +2 -2
- data/spec/models/layout_spec.rb +0 -0
- data/spec/models/page_context_spec.rb +0 -0
- data/spec/models/page_part_spec.rb +0 -0
- data/spec/models/page_spec.rb +23 -30
- data/spec/models/radiant/config_spec.rb +17 -1
- data/spec/models/radiant/exporter_spec.rb +0 -0
- data/spec/models/snippet_spec.rb +0 -0
- data/spec/models/standard_tags_spec.rb +17 -3
- data/spec/models/status_spec.rb +0 -0
- data/spec/models/text_filter_spec.rb +0 -0
- data/spec/models/user_action_observer_spec.rb +0 -0
- data/spec/models/user_spec.rb +15 -0
- data/spec/rcov.opts +0 -0
- data/spec/spec.opts +1 -1
- data/spec/spec_helper.rb +12 -45
- data/test/fixtures/extensions/01_basic/app/controllers/basic_extension_controller.rb +0 -0
- data/test/fixtures/extensions/01_basic/app/models/basic_extension_mailer.rb +0 -0
- data/test/fixtures/extensions/01_basic/app/models/basic_extension_model.rb +0 -0
- data/test/fixtures/extensions/01_basic/app/views/basic_extension/index.html.erb +0 -0
- data/test/fixtures/extensions/01_basic/app/views/basic_extension/override.html.erb +0 -0
- data/test/fixtures/extensions/01_basic/app/views/basic_extension_mailer/message.text.html.erb +0 -0
- data/test/fixtures/extensions/01_basic/basic_extension.rb +0 -0
- data/test/fixtures/extensions/01_basic/db/migrate/200812131420_create_initial_schema.rb +0 -0
- data/test/fixtures/extensions/01_basic/db/migrate/200812131421_modify_initial_schema.rb +0 -0
- data/test/fixtures/extensions/01_basic/lib/new_module.rb +0 -0
- data/test/fixtures/extensions/01_basic/vendor/plugins/multiple/init.rb +0 -0
- data/test/fixtures/extensions/01_basic/vendor/plugins/multiple/lib/multiple.rb +0 -0
- data/test/fixtures/extensions/01_basic/vendor/plugins/plugin_normal/init.rb +0 -0
- data/test/fixtures/extensions/01_basic/vendor/plugins/plugin_normal/lib/normal_plugin.rb +0 -0
- data/test/fixtures/extensions/02_overriding/app/views/basic_extension/override.html.erb +0 -0
- data/test/fixtures/extensions/02_overriding/overriding_extension.rb +0 -0
- data/test/fixtures/extensions/02_overriding/vendor/plugins/multiple/init.rb +0 -0
- data/test/fixtures/extensions/02_overriding/vendor/plugins/multiple/lib/multiple.rb +0 -0
- data/test/fixtures/extensions/03_upgrading/db/migrate/01_first.rb +0 -0
- data/test/fixtures/extensions/03_upgrading/db/migrate/02_second.rb +0 -0
- data/test/fixtures/extensions/03_upgrading/db/migrate/03_pending.rb +0 -0
- data/test/fixtures/extensions/03_upgrading/db/migrate/04_dont_run.rb +0 -0
- data/test/fixtures/extensions/03_upgrading/upgrading_extension.rb +0 -0
- data/test/fixtures/extensions/load_order_blue/load_order_blue_extension.rb +0 -0
- data/test/fixtures/extensions/load_order_green/load_order_green_extension.rb +0 -0
- data/test/fixtures/extensions/load_order_red/load_order_red_extension.rb +0 -0
- data/test/fixtures/extensions/special_characters/db/migrate/001_create_initial_schema.rb +0 -0
- data/test/fixtures/extensions/special_characters/special_characters_extension.rb +0 -0
- data/test/helpers/page_test_helper.rb +0 -0
- data/test/helpers/render_test_helper.rb +0 -0
- data/test/helpers/user_test_helper.rb +0 -0
- data/test/test_helper.rb +0 -0
- data/vendor/extensions/archive/README +0 -0
- data/vendor/extensions/archive/Rakefile +0 -0
- data/vendor/extensions/archive/app/models/archive_finder.rb +0 -0
- data/vendor/extensions/archive/archive_extension.rb +0 -0
- data/vendor/extensions/archive/lib/tasks/archive_extension_tasks.rake +0 -0
- data/vendor/extensions/archive/spec/datasets/archive_dataset.rb +0 -0
- data/vendor/extensions/archive/spec/models/archive_day_index_page_spec.rb +0 -0
- data/vendor/extensions/archive/spec/models/archive_month_index_page_spec.rb +0 -0
- data/vendor/extensions/archive/spec/models/archive_page_spec.rb +0 -0
- data/vendor/extensions/archive/spec/models/archive_year_index_page_spec.rb +0 -0
- data/vendor/extensions/archive/spec/spec.opts +0 -0
- data/vendor/extensions/archive/spec/spec_helper.rb +0 -0
- data/vendor/extensions/archive/test/fixtures/pages.yml +0 -0
- data/vendor/extensions/archive/test/functional/archive_extension_test.rb +0 -0
- data/vendor/extensions/archive/test/test_helper.rb +0 -0
- data/vendor/extensions/markdown_filter/README +0 -0
- data/vendor/extensions/markdown_filter/Rakefile +0 -0
- data/vendor/extensions/markdown_filter/lib/markdown_filter.rb +0 -0
- data/vendor/extensions/markdown_filter/lib/markdown_tags.rb +0 -0
- data/vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb +0 -0
- data/vendor/extensions/markdown_filter/lib/tasks/markdown_filter_extension_tasks.rake +0 -0
- data/vendor/extensions/markdown_filter/lib/tasks/textile_filter_extension_tasks.rake +0 -0
- data/vendor/extensions/markdown_filter/markdown.html +0 -0
- data/vendor/extensions/markdown_filter/markdown_filter_extension.rb +0 -0
- data/vendor/extensions/markdown_filter/smartypants.html +0 -0
- data/vendor/extensions/markdown_filter/spec/models/markdown_filter_spec.rb +0 -0
- data/vendor/extensions/markdown_filter/spec/models/smarty_pants_filter_spec.rb +0 -0
- data/vendor/extensions/markdown_filter/spec/spec.opts +0 -0
- data/vendor/extensions/markdown_filter/spec/spec_helper.rb +0 -0
- data/vendor/extensions/markdown_filter/test/test_helper.rb +0 -0
- data/vendor/extensions/markdown_filter/test/unit/markdown_filter_test.rb +0 -0
- data/vendor/extensions/markdown_filter/test/unit/smarty_pants_filter_test.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/CHANGES +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/LICENSE +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/README +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/bin/bluecloth +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/install.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/lib/bluecloth.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/test.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/00_Class.tests.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/10_Bug.tests.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/bctestcase.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/antsugar.txt +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/ml-announce.txt +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/re-overflow.txt +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/re-overflow2.txt +0 -0
- data/vendor/extensions/markdown_filter/vendor/bluecloth/utils.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/rubypants/README +0 -0
- data/vendor/extensions/markdown_filter/vendor/rubypants/Rakefile +0 -0
- data/vendor/extensions/markdown_filter/vendor/rubypants/install.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/rubypants/rubypants.rb +0 -0
- data/vendor/extensions/markdown_filter/vendor/rubypants/test_rubypants.rb +0 -0
- data/vendor/extensions/textile_filter/README +0 -0
- data/vendor/extensions/textile_filter/Rakefile +0 -0
- data/vendor/extensions/textile_filter/lib/tasks/textile_filter_extension_tasks.rake +0 -0
- data/vendor/extensions/textile_filter/lib/textile_filter.rb +0 -0
- data/vendor/extensions/textile_filter/lib/textile_tags.rb +0 -0
- data/vendor/extensions/textile_filter/spec/models/textile_filter_spec.rb +0 -0
- data/vendor/extensions/textile_filter/spec/spec.opts +0 -0
- data/vendor/extensions/textile_filter/spec/spec_helper.rb +0 -0
- data/vendor/extensions/textile_filter/test/test_helper.rb +0 -0
- data/vendor/extensions/textile_filter/test/unit/textile_filter_test.rb +0 -0
- data/vendor/extensions/textile_filter/textile.html +0 -0
- data/vendor/extensions/textile_filter/textile_filter_extension.rb +0 -0
- data/vendor/highline/CHANGELOG +39 -0
- data/vendor/highline/INSTALL +0 -0
- data/vendor/highline/LICENSE +1 -1
- data/vendor/highline/README +0 -0
- data/vendor/highline/Rakefile +1 -1
- data/vendor/highline/TODO +0 -0
- data/vendor/highline/examples/ansi_colors.rb +0 -0
- data/vendor/highline/examples/asking_for_arrays.rb +0 -0
- data/vendor/highline/examples/basic_usage.rb +0 -0
- data/vendor/highline/examples/color_scheme.rb +0 -0
- data/vendor/highline/examples/limit.rb +12 -0
- data/vendor/highline/examples/menus.rb +0 -0
- data/vendor/highline/examples/overwrite.rb +0 -0
- data/vendor/highline/examples/page_and_wrap.rb +0 -0
- data/vendor/highline/examples/password.rb +0 -0
- data/vendor/highline/examples/trapping_eof.rb +0 -0
- data/vendor/highline/examples/using_readline.rb +1 -1
- data/vendor/highline/lib/highline.rb +86 -32
- data/vendor/highline/lib/highline/color_scheme.rb +0 -0
- data/vendor/highline/lib/highline/compatibility.rb +17 -0
- data/vendor/highline/lib/highline/import.rb +0 -0
- data/vendor/highline/lib/highline/menu.rb +0 -0
- data/vendor/highline/lib/highline/question.rb +3 -2
- data/vendor/highline/lib/highline/system_extensions.rb +93 -25
- data/vendor/highline/setup.rb +0 -0
- data/vendor/highline/test/tc_color_scheme.rb +0 -0
- data/vendor/highline/test/tc_highline.rb +46 -3
- data/vendor/highline/test/tc_import.rb +0 -0
- data/vendor/highline/test/tc_menu.rb +0 -0
- data/vendor/highline/test/ts_all.rb +0 -0
- data/vendor/plugins/acts_as_tree/README +0 -0
- data/vendor/plugins/acts_as_tree/Rakefile +0 -0
- data/vendor/plugins/acts_as_tree/init.rb +0 -0
- data/vendor/plugins/acts_as_tree/lib/active_record/acts/tree.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/abstract_unit.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/acts_as_tree_test.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/database.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixin.rb +0 -0
- data/vendor/plugins/acts_as_tree/test/fixtures/mixins.yml +0 -0
- data/vendor/plugins/acts_as_tree/test/schema.rb +0 -0
- data/vendor/plugins/dataset/CHANGELOG +58 -0
- data/vendor/plugins/dataset/LICENSE +1 -1
- data/vendor/plugins/dataset/{README.txt → README} +0 -0
- data/vendor/plugins/dataset/Rakefile +16 -8
- data/vendor/plugins/dataset/TODO +2 -6
- data/vendor/plugins/dataset/VERSION.yml +4 -0
- data/vendor/plugins/dataset/dataset.gemspec +27 -0
- data/vendor/plugins/dataset/lib/dataset.rb +3 -1
- data/vendor/plugins/dataset/lib/dataset/base.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/collection.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/database/base.rb +1 -1
- data/vendor/plugins/dataset/lib/dataset/database/mysql.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/database/postgresql.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/database/sqlite3.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/cucumber.rb +20 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/rspec.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/extensions/test_unit.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/instance_methods.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/load.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/record/fixture.rb +28 -9
- data/vendor/plugins/dataset/lib/dataset/record/meta.rb +31 -7
- data/vendor/plugins/dataset/lib/dataset/record/model.rb +15 -6
- data/vendor/plugins/dataset/lib/dataset/resolver.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/session.rb +0 -0
- data/vendor/plugins/dataset/lib/dataset/session_binding.rb +56 -38
- data/vendor/plugins/dataset/lib/dataset/version.rb +0 -0
- data/vendor/plugins/dataset/spec/dataset/cucumber_spec.rb +54 -0
- data/vendor/plugins/dataset/spec/dataset/database/base_spec.rb +3 -3
- data/vendor/plugins/dataset/spec/dataset/record/meta_spec.rb +14 -0
- data/vendor/plugins/dataset/spec/dataset/resolver_spec.rb +1 -1
- data/vendor/plugins/dataset/spec/dataset/rspec_spec.rb +107 -111
- data/vendor/plugins/dataset/spec/dataset/session_binding_spec.rb +42 -4
- data/vendor/plugins/dataset/spec/dataset/session_spec.rb +1 -1
- data/vendor/plugins/dataset/spec/dataset/test_unit_spec.rb +2 -1
- data/vendor/plugins/dataset/spec/fixtures/datasets/constant_not_defined.rb +0 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/ending_with_dataset.rb +0 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/exact_name.rb +0 -0
- data/vendor/plugins/dataset/spec/fixtures/datasets/not_a_dataset_base.rb +0 -0
- data/vendor/plugins/dataset/spec/fixtures/more_datasets/in_another_directory.rb +0 -0
- data/vendor/plugins/dataset/spec/models.rb +14 -2
- data/vendor/plugins/dataset/spec/schema.rb +3 -1
- data/vendor/plugins/dataset/spec/spec.opts +0 -0
- data/vendor/plugins/dataset/spec/spec_helper.rb +7 -9
- data/vendor/plugins/dataset/spec/stubs/mini_rails.rb +18 -0
- data/vendor/plugins/dataset/spec/stubs/test_help.rb +1 -0
- data/vendor/plugins/dataset/tasks/dataset.rake +0 -0
- data/vendor/plugins/haml/FAQ +0 -0
- data/vendor/plugins/haml/MIT-LICENSE +0 -0
- data/vendor/plugins/haml/README.rdoc +4 -4
- data/vendor/plugins/haml/REVISION +0 -0
- data/vendor/plugins/haml/Rakefile +35 -1
- data/vendor/plugins/haml/VERSION +1 -1
- data/vendor/plugins/haml/bin/haml +2 -1
- data/vendor/plugins/haml/extra/haml-mode.el +331 -0
- data/vendor/plugins/haml/extra/sass-mode.el +89 -0
- data/vendor/plugins/haml/init.rb +1 -0
- data/vendor/plugins/haml/lib/haml.rb +58 -77
- data/vendor/plugins/haml/lib/haml/buffer.rb +12 -8
- data/vendor/plugins/haml/lib/haml/engine.rb +3 -2
- data/vendor/plugins/haml/lib/haml/error.rb +1 -1
- data/vendor/plugins/haml/lib/haml/exec.rb +33 -8
- data/vendor/plugins/haml/lib/haml/filters.rb +41 -29
- data/vendor/plugins/haml/lib/haml/helpers.rb +69 -36
- data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +0 -0
- data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +30 -20
- data/vendor/plugins/haml/lib/haml/html.rb +53 -19
- data/vendor/plugins/haml/lib/haml/precompiler.rb +38 -25
- data/vendor/plugins/haml/lib/haml/template.rb +0 -0
- data/vendor/plugins/haml/lib/haml/template/patch.rb +0 -0
- data/vendor/plugins/haml/lib/haml/template/plugin.rb +0 -0
- data/vendor/plugins/haml/lib/haml/util.rb +23 -0
- data/vendor/plugins/haml/lib/haml/version.rb +47 -0
- data/vendor/plugins/haml/lib/sass.rb +25 -8
- data/vendor/plugins/haml/lib/sass/constant.rb +3 -1
- data/vendor/plugins/haml/lib/sass/constant/color.rb +0 -0
- data/vendor/plugins/haml/lib/sass/constant/literal.rb +0 -0
- data/vendor/plugins/haml/lib/sass/constant/nil.rb +0 -0
- data/vendor/plugins/haml/lib/sass/constant/number.rb +1 -1
- data/vendor/plugins/haml/lib/sass/constant/operation.rb +0 -0
- data/vendor/plugins/haml/lib/sass/constant/string.rb +0 -0
- data/vendor/plugins/haml/lib/sass/css.rb +31 -30
- data/vendor/plugins/haml/lib/sass/engine.rb +13 -12
- data/vendor/plugins/haml/lib/sass/error.rb +1 -1
- data/vendor/plugins/haml/lib/sass/plugin.rb +11 -7
- data/vendor/plugins/haml/lib/sass/plugin/merb.rb +1 -1
- data/vendor/plugins/haml/lib/sass/plugin/rails.rb +0 -0
- data/vendor/plugins/haml/lib/sass/tree/attr_node.rb +4 -0
- data/vendor/plugins/haml/lib/sass/tree/comment_node.rb +0 -0
- data/vendor/plugins/haml/lib/sass/tree/directive_node.rb +0 -0
- data/vendor/plugins/haml/lib/sass/tree/node.rb +4 -0
- data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +4 -0
- data/vendor/plugins/haml/lib/sass/tree/value_node.rb +4 -0
- data/vendor/plugins/haml/rails/init.rb +1 -0
- data/vendor/plugins/haml/test/benchmark.rb +49 -32
- data/vendor/plugins/haml/test/haml/engine_test.rb +165 -113
- data/vendor/plugins/haml/test/haml/helper_test.rb +29 -8
- data/vendor/plugins/haml/test/haml/html2haml_test.rb +50 -16
- data/vendor/plugins/haml/test/haml/markaby/standard.mab +0 -0
- data/vendor/plugins/haml/test/haml/mocks/article.rb +0 -0
- data/vendor/plugins/haml/test/haml/results/content_for_layout.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/eval_suppressed.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/filters.xhtml +2 -28
- data/vendor/plugins/haml/test/haml/results/helpers.xhtml +20 -18
- data/vendor/plugins/haml/test/haml/results/helpful.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/just_stuff.xhtml +6 -0
- data/vendor/plugins/haml/test/haml/results/list.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/nuke_inner_whitespace.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/nuke_outer_whitespace.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/original_engine.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/partial_layout.xhtml +5 -0
- data/vendor/plugins/haml/test/haml/results/partials.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/render_layout.xhtml +3 -0
- data/vendor/plugins/haml/test/haml/results/silent_script.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/standard.xhtml +1 -1
- data/vendor/plugins/haml/test/haml/results/tag_parsing.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/very_basic.xhtml +0 -0
- data/vendor/plugins/haml/test/haml/results/whitespace_handling.xhtml +4 -1
- data/vendor/plugins/haml/test/haml/rhtml/_av_partial_1.rhtml +0 -0
- data/vendor/plugins/haml/test/haml/rhtml/_av_partial_2.rhtml +0 -0
- data/vendor/plugins/haml/test/haml/rhtml/action_view.rhtml +0 -0
- data/vendor/plugins/haml/test/haml/rhtml/standard.rhtml +3 -3
- data/vendor/plugins/haml/test/haml/template_test.rb +58 -5
- data/vendor/plugins/haml/test/haml/templates/_av_partial_1.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_1_ugly.haml +9 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_2.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/_av_partial_2_ugly.haml +5 -0
- data/vendor/plugins/haml/test/haml/templates/_layout.erb +3 -0
- data/vendor/plugins/haml/test/haml/templates/_layout_for_partial.haml +3 -0
- data/vendor/plugins/haml/test/haml/templates/_partial.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/_text_area.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/action_view.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/action_view_ugly.haml +47 -0
- data/vendor/plugins/haml/test/haml/templates/breakage.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/content_for_layout.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/eval_suppressed.haml +1 -1
- data/vendor/plugins/haml/test/haml/templates/filters.haml +0 -28
- data/vendor/plugins/haml/test/haml/templates/helpers.haml +46 -20
- data/vendor/plugins/haml/test/haml/templates/helpful.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/just_stuff.haml +7 -0
- data/vendor/plugins/haml/test/haml/templates/list.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/nuke_inner_whitespace.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/nuke_outer_whitespace.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/original_engine.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/partial_layout.haml +3 -0
- data/vendor/plugins/haml/test/haml/templates/partialize.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/partials.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/render_layout.haml +2 -0
- data/vendor/plugins/haml/test/haml/templates/silent_script.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/standard.haml +3 -3
- data/vendor/plugins/haml/test/haml/templates/standard_ugly.haml +42 -0
- data/vendor/plugins/haml/test/haml/templates/tag_parsing.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/very_basic.haml +0 -0
- data/vendor/plugins/haml/test/haml/templates/whitespace_handling.haml +2 -2
- data/vendor/plugins/haml/test/linked_rails.rb +12 -0
- data/vendor/plugins/haml/test/sass/css2sass_test.rb +193 -0
- data/vendor/plugins/haml/test/sass/engine_test.rb +14 -2
- data/vendor/plugins/haml/test/sass/plugin_test.rb +12 -6
- data/vendor/plugins/haml/test/sass/results/alt.css +0 -0
- data/vendor/plugins/haml/test/sass/results/basic.css +0 -0
- data/vendor/plugins/haml/test/sass/results/compact.css +0 -0
- data/vendor/plugins/haml/test/sass/results/complex.css +0 -0
- data/vendor/plugins/haml/test/sass/results/compressed.css +0 -0
- data/vendor/plugins/haml/test/sass/results/constants.css +0 -0
- data/vendor/plugins/haml/test/sass/results/expanded.css +0 -0
- data/vendor/plugins/haml/test/sass/results/import.css +0 -0
- data/vendor/plugins/haml/test/sass/results/mixins.css +0 -0
- data/vendor/plugins/haml/test/sass/results/multiline.css +0 -0
- data/vendor/plugins/haml/test/sass/results/nested.css +0 -0
- data/vendor/plugins/haml/test/sass/results/parent_ref.css +0 -0
- data/vendor/plugins/haml/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -0
- data/vendor/plugins/haml/test/sass/results/subdir/subdir.css +0 -0
- data/vendor/plugins/haml/test/sass/templates/_partial.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/alt.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/basic.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/bork.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/bork2.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/compact.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/complex.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/compressed.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/constants.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/expanded.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/import.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/importee.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/mixins.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/multiline.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/nested.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/parent_ref.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -0
- data/vendor/plugins/haml/test/sass/templates/subdir/subdir.sass +0 -0
- data/vendor/plugins/haml/test/test_helper.rb +11 -14
- data/vendor/rack-cache/CHANGES +128 -0
- data/vendor/rack-cache/COPYING +18 -0
- data/vendor/rack-cache/README +110 -0
- data/vendor/rack-cache/Rakefile +137 -0
- data/vendor/rack-cache/TODO +31 -0
- data/vendor/rack-cache/doc/configuration.markdown +86 -0
- data/vendor/rack-cache/doc/faq.markdown +141 -0
- data/vendor/rack-cache/doc/index.markdown +118 -0
- data/vendor/rack-cache/doc/layout.html.erb +34 -0
- data/vendor/rack-cache/doc/license.markdown +24 -0
- data/vendor/rack-cache/doc/rack-cache.css +362 -0
- data/vendor/rack-cache/doc/server.ru +34 -0
- data/vendor/rack-cache/doc/storage.markdown +162 -0
- data/vendor/rack-cache/example/sinatra/app.rb +25 -0
- data/vendor/rack-cache/example/sinatra/views/index.erb +44 -0
- data/vendor/rack-cache/lib/rack/cache.rb +45 -0
- data/vendor/rack-cache/lib/rack/cache/cachecontrol.rb +193 -0
- data/vendor/rack-cache/lib/rack/cache/context.rb +233 -0
- data/vendor/rack-cache/lib/rack/cache/entitystore.rb +253 -0
- data/vendor/rack-cache/lib/rack/cache/key.rb +52 -0
- data/vendor/rack-cache/lib/rack/cache/metastore.rb +328 -0
- data/vendor/rack-cache/lib/rack/cache/options.rb +150 -0
- data/vendor/rack-cache/lib/rack/cache/request.rb +33 -0
- data/vendor/rack-cache/lib/rack/cache/response.rb +267 -0
- data/vendor/rack-cache/lib/rack/cache/storage.rb +49 -0
- data/vendor/rack-cache/rack-cache.gemspec +69 -0
- data/vendor/rack-cache/test/cache_test.rb +38 -0
- data/vendor/rack-cache/test/cachecontrol_test.rb +139 -0
- data/vendor/rack-cache/test/context_test.rb +727 -0
- data/vendor/rack-cache/test/entitystore_test.rb +189 -0
- data/vendor/rack-cache/test/key_test.rb +50 -0
- data/vendor/rack-cache/test/metastore_test.rb +263 -0
- data/vendor/rack-cache/test/options_test.rb +78 -0
- data/vendor/rack-cache/test/pony.jpg +0 -0
- data/vendor/rack-cache/test/request_test.rb +19 -0
- data/vendor/rack-cache/test/response_test.rb +178 -0
- data/vendor/rack-cache/test/spec_setup.rb +202 -0
- data/vendor/rack-cache/test/storage_test.rb +94 -0
- data/vendor/radius/CHANGELOG +0 -0
- data/vendor/radius/QUICKSTART +0 -0
- data/vendor/radius/README +0 -0
- data/vendor/radius/ROADMAP +0 -0
- data/vendor/radius/Rakefile +0 -0
- data/vendor/radius/lib/radius.rb +0 -0
- data/vendor/radius/test/radius_test.rb +0 -0
- data/vendor/rails/actionmailer/CHANGELOG +23 -11
- data/vendor/rails/actionmailer/MIT-LICENSE +1 -1
- data/vendor/rails/actionmailer/README +0 -0
- data/vendor/rails/actionmailer/Rakefile +3 -5
- data/vendor/rails/actionmailer/install.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer.rb +30 -20
- data/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/base.rb +118 -60
- data/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +4 -2
- data/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -2
- data/vendor/rails/actionmailer/lib/action_mailer/part.rb +6 -9
- data/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +5 -1
- data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +1 -0
- data/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +10 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +2 -2
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +1 -1
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +2 -2
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +0 -0
- data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +17 -0
- data/vendor/rails/actionmailer/lib/action_mailer/version.rb +1 -1
- data/vendor/rails/actionmailer/lib/actionmailer.rb +0 -0
- data/vendor/rails/actionmailer/test/abstract_unit.rb +20 -11
- data/vendor/rails/actionmailer/test/asset_host_test.rb +54 -0
- data/vendor/rails/actionmailer/test/delivery_method_test.rb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb +1 -0
- data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -0
- data/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -0
- data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb +2 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/{signed_up.erb → signed_up.html.erb} +0 -0
- data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -0
- data/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -0
- data/vendor/rails/actionmailer/test/mail_layout_test.rb +123 -0
- data/vendor/rails/actionmailer/test/mail_render_test.rb +3 -9
- data/vendor/rails/actionmailer/test/mail_service_test.rb +126 -27
- data/vendor/rails/actionmailer/test/quoting_test.rb +4 -3
- data/vendor/rails/actionmailer/test/test_helper_test.rb +5 -5
- data/vendor/rails/actionmailer/test/tmail_test.rb +0 -0
- data/vendor/rails/actionmailer/test/url_test.rb +0 -0
- data/vendor/rails/actionpack/CHANGELOG +698 -364
- data/vendor/rails/actionpack/MIT-LICENSE +1 -1
- data/vendor/rails/actionpack/README +26 -86
- data/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -0
- data/vendor/rails/actionpack/Rakefile +11 -11
- data/vendor/rails/actionpack/install.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller.rb +86 -49
- data/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +1 -0
- data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +65 -87
- data/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +34 -34
- data/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +26 -17
- data/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +1 -4
- data/vendor/rails/actionpack/lib/action_controller/base.rb +350 -210
- data/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +39 -26
- data/vendor/rails/actionpack/lib/action_controller/caching.rb +9 -11
- data/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +45 -20
- data/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +38 -56
- data/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +13 -15
- data/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +4 -4
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -1
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +2 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +54 -200
- data/vendor/rails/actionpack/lib/action_controller/cookies.rb +23 -25
- data/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +57 -101
- data/vendor/rails/actionpack/lib/action_controller/failsafe.rb +52 -0
- data/vendor/rails/actionpack/lib/action_controller/filters.rb +48 -10
- data/vendor/rails/actionpack/lib/action_controller/flash.rb +38 -47
- data/vendor/rails/actionpack/lib/action_controller/headers.rb +16 -14
- data/vendor/rails/actionpack/lib/action_controller/helpers.rb +15 -11
- data/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +204 -24
- data/vendor/rails/actionpack/lib/action_controller/integration.rb +150 -97
- data/vendor/rails/actionpack/lib/action_controller/layout.rb +52 -81
- data/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +119 -0
- data/vendor/rails/actionpack/lib/action_controller/middlewares.rb +13 -0
- data/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +24 -5
- data/vendor/rails/actionpack/lib/action_controller/mime_type.rb +72 -42
- data/vendor/rails/actionpack/lib/action_controller/mime_types.rb +2 -1
- data/vendor/rails/actionpack/lib/action_controller/params_parser.rb +71 -0
- data/vendor/rails/actionpack/lib/action_controller/performance_test.rb +15 -0
- data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +44 -31
- data/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/reloader.rb +14 -0
- data/vendor/rails/actionpack/lib/action_controller/request.rb +237 -512
- data/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +9 -41
- data/vendor/rails/actionpack/lib/action_controller/rescue.rb +72 -147
- data/vendor/rails/actionpack/lib/action_controller/resources.rb +196 -90
- data/vendor/rails/actionpack/lib/action_controller/response.rb +190 -34
- data/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb +28 -0
- data/vendor/rails/actionpack/lib/action_controller/routing.rb +35 -37
- data/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +49 -55
- data/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +32 -22
- data/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +34 -29
- data/vendor/rails/actionpack/lib/action_controller/routing/route.rb +171 -146
- data/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +95 -43
- data/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +4 -1
- data/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +91 -31
- data/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +181 -0
- data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +198 -143
- data/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +36 -83
- data/vendor/rails/actionpack/lib/action_controller/session_management.rb +26 -130
- data/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/streaming.rb +37 -13
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +2 -2
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +2 -2
- data/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/test_case.rb +148 -27
- data/vendor/rails/actionpack/lib/action_controller/test_process.rb +190 -144
- data/vendor/rails/actionpack/lib/action_controller/translation.rb +13 -0
- data/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +44 -0
- data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +93 -19
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +16 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +9 -2
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +1 -1
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +3 -3
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb +89 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/adapter/camping.rb +22 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/handler.rb +37 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/request.rb +37 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/basic.rb +58 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/md5.rb +124 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/nonce.rb +51 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/params.rb +55 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/request.rb +40 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/openid.rb +480 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/builder.rb +63 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/cascade.rb +36 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/chunked.rb +49 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/commonlogger.rb +61 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/conditionalget.rb +45 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_length.rb +29 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_type.rb +23 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/deflater.rb +85 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/directory.rb +153 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/file.rb +88 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler.rb +48 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/cgi.rb +61 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/evented_mongrel.rb +8 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb +89 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb +55 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb +84 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/scgi.rb +59 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/swiftiplied_mongrel.rb +8 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/thin.rb +18 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb +67 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/head.rb +19 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lint.rb +462 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lobster.rb +65 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lock.rb +16 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb +27 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mime.rb +204 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mock.rb +160 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/recursive.rb +57 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/reloader.rb +64 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/request.rb +241 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/response.rb +179 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/abstract/id.rb +142 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/cookie.rb +91 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/memcache.rb +109 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/pool.rb +100 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showexceptions.rb +349 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showstatus.rb +106 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/static.rb +38 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb +55 -0
- data/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/utils.rb +392 -0
- data/vendor/rails/actionpack/lib/action_controller/verification.rb +3 -3
- data/vendor/rails/actionpack/lib/action_pack.rb +1 -1
- data/vendor/rails/actionpack/lib/action_pack/version.rb +1 -1
- data/vendor/rails/actionpack/lib/action_view.rb +32 -19
- data/vendor/rails/actionpack/lib/action_view/base.rb +164 -154
- data/vendor/rails/actionpack/lib/action_view/erb/util.rb +38 -0
- data/vendor/rails/actionpack/lib/action_view/helpers.rb +57 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +56 -27
- data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +194 -126
- data/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +75 -20
- data/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +27 -6
- data/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +1 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +19 -44
- data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +564 -299
- data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +20 -13
- data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +365 -93
- data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +168 -96
- data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +63 -40
- data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +80 -89
- data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +192 -75
- data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +218 -213
- data/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +4 -5
- data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +55 -33
- data/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +3 -2
- data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +41 -25
- data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +294 -223
- data/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +39 -0
- data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +124 -59
- data/vendor/rails/actionpack/lib/action_view/inline_template.rb +13 -14
- data/vendor/rails/actionpack/lib/action_view/locale/en.yml +110 -0
- data/vendor/rails/actionpack/lib/action_view/partials.rb +137 -55
- data/vendor/rails/actionpack/lib/action_view/paths.rb +69 -0
- data/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +117 -0
- data/vendor/rails/actionpack/lib/action_view/renderable.rb +95 -0
- data/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +47 -0
- data/vendor/rails/actionpack/lib/action_view/template.rb +223 -93
- data/vendor/rails/actionpack/lib/action_view/template_error.rb +18 -29
- data/vendor/rails/actionpack/lib/action_view/template_handler.rb +23 -23
- data/vendor/rails/actionpack/lib/action_view/template_handlers.rb +48 -0
- data/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +5 -15
- data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +11 -45
- data/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +3 -17
- data/vendor/rails/actionpack/lib/action_view/test_case.rb +34 -5
- data/vendor/rails/actionpack/lib/actionpack.rb +0 -0
- data/vendor/rails/actionpack/test/abstract_unit.rb +25 -16
- data/vendor/rails/actionpack/test/active_record_unit.rb +32 -33
- data/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +139 -106
- data/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +27 -30
- data/vendor/rails/actionpack/test/adv_attr_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +30 -57
- data/vendor/rails/actionpack/test/controller/addresses_render_test.rb +2 -8
- data/vendor/rails/actionpack/test/controller/assert_select_test.rb +125 -85
- data/vendor/rails/actionpack/test/controller/base_test.rb +15 -17
- data/vendor/rails/actionpack/test/controller/benchmark_test.rb +3 -3
- data/vendor/rails/actionpack/test/controller/caching_test.rb +161 -81
- data/vendor/rails/actionpack/test/controller/capture_test.rb +3 -26
- data/vendor/rails/actionpack/test/controller/content_type_test.rb +51 -22
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/vendor/rails/actionpack/test/controller/cookie_test.rb +32 -67
- data/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +9 -14
- data/vendor/rails/actionpack/test/controller/dispatcher_test.rb +26 -28
- data/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -0
- data/vendor/rails/actionpack/test/controller/fake_models.rb +8 -0
- data/vendor/rails/actionpack/test/controller/filter_params_test.rb +2 -2
- data/vendor/rails/actionpack/test/controller/filters_test.rb +19 -15
- data/vendor/rails/actionpack/test/controller/flash_test.rb +2 -6
- data/vendor/rails/actionpack/test/controller/header_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/helper_test.rb +15 -1
- data/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +15 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +1 -1
- data/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +21 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +15 -1
- data/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +88 -0
- data/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +178 -0
- data/vendor/rails/actionpack/test/controller/integration_test.rb +198 -33
- data/vendor/rails/actionpack/test/controller/layout_test.rb +53 -108
- data/vendor/rails/actionpack/test/controller/logging_test.rb +46 -0
- data/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +90 -0
- data/vendor/rails/actionpack/test/controller/mime_responds_test.rb +67 -69
- data/vendor/rails/actionpack/test/controller/mime_type_test.rb +14 -5
- data/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +241 -122
- data/vendor/rails/actionpack/test/controller/rack_test.rb +294 -0
- data/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -0
- data/vendor/rails/actionpack/test/controller/redirect_test.rb +78 -85
- data/vendor/rails/actionpack/test/controller/render_test.rb +1459 -234
- data/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +45 -0
- data/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +223 -0
- data/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +120 -0
- data/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +184 -0
- data/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +88 -0
- data/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +63 -130
- data/vendor/rails/actionpack/test/controller/request_test.rb +65 -586
- data/vendor/rails/actionpack/test/controller/rescue_test.rb +63 -44
- data/vendor/rails/actionpack/test/controller/resources_test.rb +505 -37
- data/vendor/rails/actionpack/test/controller/routing_test.rb +1570 -1477
- data/vendor/rails/actionpack/test/controller/selector_test.rb +3 -3
- data/vendor/rails/actionpack/test/controller/send_file_test.rb +30 -7
- data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +171 -190
- data/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +94 -148
- data/vendor/rails/actionpack/test/controller/session/test_session_test.rb +58 -0
- data/vendor/rails/actionpack/test/controller/test_test.rb +47 -50
- data/vendor/rails/actionpack/test/controller/translation_test.rb +26 -0
- data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +80 -31
- data/vendor/rails/actionpack/test/controller/verification_test.rb +1 -1
- data/vendor/rails/actionpack/test/controller/view_paths_test.rb +49 -48
- data/vendor/rails/actionpack/test/controller/webservice_test.rb +178 -147
- data/vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +3 -0
- data/vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/companies.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/company.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -0
- data/vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -0
- data/vendor/rails/actionpack/test/fixtures/developer.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/developers.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/developers/_developer.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/fun/games/_game.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs +6 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +5 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -0
- data/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/mascot.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/mascots.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/boundary_problem_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/empty +10 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/hello.txt +1 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/none +9 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -0
- data/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -0
- data/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/project.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/projects.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/projects/_project.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/404.html +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/500.da.html +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/500.html +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css +1 -0
- data/vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css +0 -0
- data/vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/replies.yml +1 -1
- data/vendor/rails/actionpack/test/fixtures/replies/_reply.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/reply.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/shared.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_counter.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer.erb +1 -1
- data/vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_form.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_one.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_raise.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/_two.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/dont_pick_me +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello.builder +1 -1
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder +2 -0
- data/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/nested_layout.erb +3 -0
- data/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +1 -1
- data/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/template.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +0 -0
- data/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb +1 -0
- data/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +2 -0
- data/vendor/rails/actionpack/test/fixtures/topic.rb +0 -0
- data/vendor/rails/actionpack/test/fixtures/topics.yml +0 -0
- data/vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb +0 -0
- data/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +44 -0
- data/vendor/rails/actionpack/test/template/active_record_helper_test.rb +58 -24
- data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +217 -29
- data/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +117 -10
- data/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +50 -24
- data/vendor/rails/actionpack/test/template/compiled_templates_test.rb +203 -0
- data/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +120 -0
- data/vendor/rails/actionpack/test/template/date_helper_test.rb +822 -144
- data/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -0
- data/vendor/rails/actionpack/test/template/form_helper_test.rb +454 -196
- data/vendor/rails/actionpack/test/template/form_options_helper_test.rb +653 -1235
- data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +89 -34
- data/vendor/rails/actionpack/test/template/javascript_helper_test.rb +16 -22
- data/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +69 -0
- data/vendor/rails/actionpack/test/template/number_helper_test.rb +44 -13
- data/vendor/rails/actionpack/test/template/prototype_helper_test.rb +101 -84
- data/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +24 -20
- data/vendor/rails/actionpack/test/template/render_test.rb +290 -0
- data/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +3 -3
- data/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -0
- data/vendor/rails/actionpack/test/template/tag_helper_test.rb +34 -14
- data/vendor/rails/actionpack/test/template/test_test.rb +4 -6
- data/vendor/rails/actionpack/test/template/text_helper_test.rb +210 -57
- data/vendor/rails/actionpack/test/template/translation_helper_test.rb +32 -0
- data/vendor/rails/actionpack/test/template/url_helper_test.rb +88 -18
- data/vendor/rails/actionpack/test/testing_sandbox.rb +0 -0
- data/vendor/rails/actionpack/test/view/test_case_test.rb +8 -0
- data/vendor/rails/activerecord/CHANGELOG +466 -394
- data/vendor/rails/activerecord/README +0 -0
- data/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -0
- data/vendor/rails/activerecord/Rakefile +12 -7
- data/vendor/rails/activerecord/examples/associations.png +0 -0
- data/vendor/rails/activerecord/install.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record.rb +56 -52
- data/vendor/rails/activerecord/lib/active_record/aggregations.rb +110 -38
- data/vendor/rails/activerecord/lib/active_record/association_preload.rb +135 -31
- data/vendor/rails/activerecord/lib/active_record/associations.rb +578 -421
- data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +136 -34
- data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +73 -14
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +2 -2
- data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +24 -8
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +30 -30
- data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +29 -27
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +35 -9
- data/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +3 -4
- data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +14 -5
- data/vendor/rails/activerecord/lib/active_record/autosave_association.rb +349 -0
- data/vendor/rails/activerecord/lib/active_record/base.rb +692 -281
- data/vendor/rails/activerecord/lib/active_record/batches.rb +73 -0
- data/vendor/rails/activerecord/lib/active_record/calculations.rb +46 -21
- data/vendor/rails/activerecord/lib/active_record/callbacks.rb +65 -17
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +371 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +45 -215
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +133 -20
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +8 -7
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +75 -31
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +10 -4
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +94 -29
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +124 -66
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +147 -91
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +1 -1
- data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +41 -21
- data/vendor/rails/activerecord/lib/active_record/dirty.rb +28 -10
- data/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +41 -0
- data/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +25 -0
- data/vendor/rails/activerecord/lib/active_record/fixtures.rb +196 -200
- data/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
- data/vendor/rails/activerecord/lib/active_record/locale/en.yml +54 -0
- data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +33 -0
- data/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record/migration.rb +55 -12
- data/vendor/rails/activerecord/lib/active_record/named_scope.rb +49 -20
- data/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +329 -0
- data/vendor/rails/activerecord/lib/active_record/observer.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record/query_cache.rb +25 -13
- data/vendor/rails/activerecord/lib/active_record/reflection.rb +132 -55
- data/vendor/rails/activerecord/lib/active_record/schema.rb +0 -0
- data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +15 -7
- data/vendor/rails/activerecord/lib/active_record/serialization.rb +3 -1
- data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +19 -0
- data/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +28 -13
- data/vendor/rails/activerecord/lib/active_record/session_store.rb +318 -0
- data/vendor/rails/activerecord/lib/active_record/test_case.rb +33 -14
- data/vendor/rails/activerecord/lib/active_record/timestamp.rb +2 -2
- data/vendor/rails/activerecord/lib/active_record/transactions.rb +145 -40
- data/vendor/rails/activerecord/lib/active_record/validations.rb +290 -195
- data/vendor/rails/activerecord/lib/active_record/version.rb +1 -1
- data/vendor/rails/activerecord/lib/activerecord.rb +0 -0
- data/vendor/rails/activerecord/test/assets/example.log +0 -0
- data/vendor/rails/activerecord/test/assets/flowers.jpg +0 -0
- data/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +5 -0
- data/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +0 -0
- data/vendor/rails/activerecord/test/cases/adapter_test.rb +6 -0
- data/vendor/rails/activerecord/test/cases/aggregations_test.rb +39 -0
- data/vendor/rails/activerecord/test/cases/ar_schema_test.rb +0 -1
- data/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +37 -123
- data/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +8 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +59 -12
- data/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/associations/eager_test.rb +190 -11
- data/vendor/rails/activerecord/test/cases/associations/extension_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +127 -11
- data/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +175 -147
- data/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +82 -3
- data/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +54 -90
- data/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +80 -1
- data/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +5 -7
- data/vendor/rails/activerecord/test/cases/associations_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +72 -5
- data/vendor/rails/activerecord/test/cases/autosave_association_test.rb +901 -0
- data/vendor/rails/activerecord/test/cases/base_test.rb +120 -28
- data/vendor/rails/activerecord/test/cases/batches_test.rb +61 -0
- data/vendor/rails/activerecord/test/cases/binary_test.rb +1 -5
- data/vendor/rails/activerecord/test/cases/calculations_test.rb +42 -17
- data/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +38 -0
- data/vendor/rails/activerecord/test/cases/callbacks_test.rb +43 -5
- data/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/column_alias_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/column_definition_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/connection_pool_test.rb +25 -0
- data/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +0 -0
- data/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +27 -1
- data/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +11 -0
- data/vendor/rails/activerecord/test/cases/database_statements_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +1 -0
- data/vendor/rails/activerecord/test/cases/date_time_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/default_test_firebird.rb +0 -0
- data/vendor/rails/activerecord/test/cases/defaults_test.rb +63 -21
- data/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/dirty_test.rb +52 -3
- data/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/finder_test.rb +224 -39
- data/vendor/rails/activerecord/test/cases/fixtures_test.rb +47 -22
- data/vendor/rails/activerecord/test/cases/helper.rb +32 -10
- data/vendor/rails/activerecord/test/cases/i18n_test.rb +41 -0
- data/vendor/rails/activerecord/test/cases/inheritance_test.rb +4 -4
- data/vendor/rails/activerecord/test/cases/invalid_date_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/json_serialization_test.rb +1 -1
- data/vendor/rails/activerecord/test/cases/lifecycle_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/locking_test.rb +27 -14
- data/vendor/rails/activerecord/test/cases/method_scoping_test.rb +239 -7
- data/vendor/rails/activerecord/test/cases/migration_test.rb +294 -243
- data/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +0 -0
- data/vendor/rails/activerecord/test/cases/mixin_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/modules_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/multiple_db_test.rb +25 -0
- data/vendor/rails/activerecord/test/cases/named_scope_test.rb +155 -2
- data/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +509 -0
- data/vendor/rails/activerecord/test/cases/pk_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +103 -0
- data/vendor/rails/activerecord/test/cases/query_cache_test.rb +0 -4
- data/vendor/rails/activerecord/test/cases/readonly_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/reflection_test.rb +21 -3
- data/vendor/rails/activerecord/test/cases/reload_models_test.rb +22 -0
- data/vendor/rails/activerecord/test/cases/repair_helper.rb +50 -0
- data/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +0 -0
- data/vendor/rails/activerecord/test/cases/sanitize_test.rb +25 -0
- data/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +2 -2
- data/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +0 -1
- data/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +0 -0
- data/vendor/rails/activerecord/test/cases/serialization_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +0 -0
- data/vendor/rails/activerecord/test/cases/transactions_test.rb +237 -22
- data/vendor/rails/activerecord/test/cases/unconnected_test.rb +0 -0
- data/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +915 -0
- data/vendor/rails/activerecord/test/cases/validations_test.rb +274 -213
- data/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +19 -1
- data/vendor/rails/activerecord/test/config.rb +0 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +18 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +26 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +26 -0
- data/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +25 -0
- data/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +1 -3
- data/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -0
- data/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -0
- data/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
- data/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/author_addresses.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/authors.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/binaries.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/books.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categories.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/clubs.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/comments.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/companies.yml +1 -0
- data/vendor/rails/activerecord/test/fixtures/computers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/courses.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/customers.yml +10 -1
- data/vendor/rails/activerecord/test/fixtures/developers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/edges.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
- data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/items.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/jobs.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/mateys.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/member_types.yml +6 -0
- data/vendor/rails/activerecord/test/fixtures/members.yml +3 -1
- data/vendor/rails/activerecord/test/fixtures/memberships.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/minimalistics.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/movies.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/organizations.yml +5 -0
- data/vendor/rails/activerecord/test/fixtures/owners.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/parrots.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/people.yml +10 -1
- data/vendor/rails/activerecord/test/fixtures/pets.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/pirates.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/posts.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/price_estimates.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/projects.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/readers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/references.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/ships.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/sponsors.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/subscribers.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/subscriptions.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/tags.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/topics.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/toys.yml +4 -0
- data/vendor/rails/activerecord/test/fixtures/treasures.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -0
- data/vendor/rails/activerecord/test/fixtures/warehouse-things.yml +0 -0
- data/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +10 -0
- data/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +0 -0
- data/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +0 -0
- data/vendor/rails/activerecord/test/models/author.rb +4 -0
- data/vendor/rails/activerecord/test/models/auto_id.rb +0 -0
- data/vendor/rails/activerecord/test/models/binary.rb +0 -0
- data/vendor/rails/activerecord/test/models/bird.rb +3 -0
- data/vendor/rails/activerecord/test/models/book.rb +0 -0
- data/vendor/rails/activerecord/test/models/categorization.rb +0 -0
- data/vendor/rails/activerecord/test/models/category.rb +4 -0
- data/vendor/rails/activerecord/test/models/citation.rb +0 -0
- data/vendor/rails/activerecord/test/models/club.rb +6 -0
- data/vendor/rails/activerecord/test/models/column_name.rb +0 -0
- data/vendor/rails/activerecord/test/models/comment.rb +0 -0
- data/vendor/rails/activerecord/test/models/company.rb +28 -1
- data/vendor/rails/activerecord/test/models/company_in_module.rb +0 -0
- data/vendor/rails/activerecord/test/models/computer.rb +0 -0
- data/vendor/rails/activerecord/test/models/contact.rb +0 -0
- data/vendor/rails/activerecord/test/models/course.rb +0 -0
- data/vendor/rails/activerecord/test/models/customer.rb +19 -1
- data/vendor/rails/activerecord/test/models/default.rb +0 -0
- data/vendor/rails/activerecord/test/models/developer.rb +12 -0
- data/vendor/rails/activerecord/test/models/edge.rb +0 -0
- data/vendor/rails/activerecord/test/models/entrant.rb +0 -0
- data/vendor/rails/activerecord/test/models/event.rb +3 -0
- data/vendor/rails/activerecord/test/models/guid.rb +0 -0
- data/vendor/rails/activerecord/test/models/item.rb +0 -0
- data/vendor/rails/activerecord/test/models/job.rb +0 -0
- data/vendor/rails/activerecord/test/models/joke.rb +0 -0
- data/vendor/rails/activerecord/test/models/keyboard.rb +0 -0
- data/vendor/rails/activerecord/test/models/legacy_thing.rb +0 -0
- data/vendor/rails/activerecord/test/models/matey.rb +0 -0
- data/vendor/rails/activerecord/test/models/member.rb +3 -0
- data/vendor/rails/activerecord/test/models/member_detail.rb +5 -0
- data/vendor/rails/activerecord/test/models/member_type.rb +3 -0
- data/vendor/rails/activerecord/test/models/membership.rb +0 -0
- data/vendor/rails/activerecord/test/models/minimalistic.rb +0 -0
- data/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +0 -0
- data/vendor/rails/activerecord/test/models/movie.rb +0 -0
- data/vendor/rails/activerecord/test/models/order.rb +0 -0
- data/vendor/rails/activerecord/test/models/organization.rb +4 -0
- data/vendor/rails/activerecord/test/models/owner.rb +2 -1
- data/vendor/rails/activerecord/test/models/parrot.rb +3 -0
- data/vendor/rails/activerecord/test/models/person.rb +6 -0
- data/vendor/rails/activerecord/test/models/pet.rb +2 -1
- data/vendor/rails/activerecord/test/models/pirate.rb +55 -1
- data/vendor/rails/activerecord/test/models/post.rb +15 -0
- data/vendor/rails/activerecord/test/models/price_estimate.rb +0 -0
- data/vendor/rails/activerecord/test/models/project.rb +1 -0
- data/vendor/rails/activerecord/test/models/reader.rb +0 -0
- data/vendor/rails/activerecord/test/models/reference.rb +0 -0
- data/vendor/rails/activerecord/test/models/reply.rb +6 -0
- data/vendor/rails/activerecord/test/models/ship.rb +8 -1
- data/vendor/rails/activerecord/test/models/ship_part.rb +5 -0
- data/vendor/rails/activerecord/test/models/sponsor.rb +0 -0
- data/vendor/rails/activerecord/test/models/subject.rb +0 -0
- data/vendor/rails/activerecord/test/models/subscriber.rb +0 -0
- data/vendor/rails/activerecord/test/models/subscription.rb +0 -0
- data/vendor/rails/activerecord/test/models/tag.rb +0 -0
- data/vendor/rails/activerecord/test/models/tagging.rb +0 -0
- data/vendor/rails/activerecord/test/models/task.rb +0 -0
- data/vendor/rails/activerecord/test/models/topic.rb +16 -1
- data/vendor/rails/activerecord/test/models/toy.rb +4 -0
- data/vendor/rails/activerecord/test/models/treasure.rb +0 -0
- data/vendor/rails/activerecord/test/models/vertex.rb +0 -0
- data/vendor/rails/activerecord/test/models/warehouse_thing.rb +0 -0
- data/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +0 -0
- data/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +0 -0
- data/vendor/rails/activerecord/test/schema/schema.rb +47 -3
- data/vendor/rails/activerecord/test/schema/schema2.rb +0 -0
- data/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +0 -0
- data/vendor/rails/activeresource/CHANGELOG +35 -24
- data/vendor/rails/activeresource/README +1 -1
- data/vendor/rails/activeresource/Rakefile +5 -4
- data/vendor/rails/activeresource/lib/active_resource.rb +7 -10
- data/vendor/rails/activeresource/lib/active_resource/base.rb +177 -121
- data/vendor/rails/activeresource/lib/active_resource/connection.rb +28 -17
- data/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +14 -13
- data/vendor/rails/activeresource/lib/active_resource/formats.rb +0 -0
- data/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +7 -7
- data/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +9 -9
- data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +29 -39
- data/vendor/rails/activeresource/lib/active_resource/validations.rb +16 -30
- data/vendor/rails/activeresource/lib/active_resource/version.rb +1 -1
- data/vendor/rails/activeresource/lib/activeresource.rb +0 -0
- data/vendor/rails/activeresource/test/abstract_unit.rb +5 -8
- data/vendor/rails/activeresource/test/authorization_test.rb +12 -12
- data/vendor/rails/activeresource/test/base/custom_methods_test.rb +3 -2
- data/vendor/rails/activeresource/test/base/equality_test.rb +9 -0
- data/vendor/rails/activeresource/test/base/load_test.rb +2 -2
- data/vendor/rails/activeresource/test/base_errors_test.rb +0 -0
- data/vendor/rails/activeresource/test/base_test.rb +144 -101
- data/vendor/rails/activeresource/test/connection_test.rb +14 -8
- data/vendor/rails/activeresource/test/fixtures/beast.rb +0 -0
- data/vendor/rails/activeresource/test/fixtures/customer.rb +0 -0
- data/vendor/rails/activeresource/test/fixtures/person.rb +0 -0
- data/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -0
- data/vendor/rails/activeresource/test/format_test.rb +40 -11
- data/vendor/rails/activeresource/test/setter_trap.rb +2 -3
- data/vendor/rails/activesupport/CHANGELOG +194 -83
- data/vendor/rails/activesupport/README +0 -0
- data/vendor/rails/activesupport/lib/active_support.rb +30 -32
- data/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +72 -0
- data/vendor/rails/activesupport/lib/active_support/base64.rb +13 -2
- data/vendor/rails/activesupport/lib/active_support/basic_object.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +27 -21
- data/vendor/rails/activesupport/lib/active_support/cache.rb +128 -47
- data/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +7 -2
- data/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +2 -3
- data/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +7 -5
- data/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +53 -21
- data/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +16 -2
- data/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +104 -0
- data/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +47 -0
- data/vendor/rails/activesupport/lib/active_support/callbacks.rb +34 -30
- data/vendor/rails/activesupport/lib/active_support/core_ext.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +2 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +30 -12
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +53 -10
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +24 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +3 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +13 -6
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +18 -22
- data/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +14 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +24 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +20 -19
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +39 -39
- data/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +3 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +24 -9
- data/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +3 -3
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +19 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +6 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +51 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +12 -8
- data/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +4 -20
- data/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +46 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +2 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +27 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +2 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +33 -55
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +23 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +6 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +12 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +15 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +2 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +45 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +4 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +136 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +11 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +71 -67
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +4 -4
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +24 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +60 -3
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +81 -66
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +8 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +39 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -10
- data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +2 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +29 -7
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +52 -21
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +29 -24
- data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +6 -2
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +5 -5
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +13 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +22 -3
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +3 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +81 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +39 -12
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +2 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +36 -0
- data/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +16 -0
- data/vendor/rails/activesupport/lib/active_support/dependencies.rb +196 -124
- data/vendor/rails/activesupport/lib/active_support/deprecation.rb +33 -60
- data/vendor/rails/activesupport/lib/active_support/duration.rb +3 -1
- data/vendor/rails/activesupport/lib/active_support/gzip.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/inflections.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/inflector.rb +131 -38
- data/vendor/rails/activesupport/lib/active_support/json.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +23 -4
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +9 -2
- data/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +9 -2
- data/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +10 -11
- data/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +10 -3
- data/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +23 -29
- data/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/locale/en.yml +33 -0
- data/vendor/rails/activesupport/lib/active_support/memoizable.rb +100 -0
- data/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +70 -0
- data/vendor/rails/activesupport/lib/active_support/message_verifier.rb +46 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte.rb +31 -7
- data/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +686 -122
- data/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +8 -0
- data/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +71 -0
- data/vendor/rails/activesupport/lib/active_support/option_merger.rb +6 -8
- data/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +81 -18
- data/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/rescuable.rb +108 -0
- data/vendor/rails/activesupport/lib/active_support/secure_random.rb +199 -0
- data/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +11 -1
- data/vendor/rails/activesupport/lib/active_support/test_case.rb +33 -7
- data/vendor/rails/activesupport/lib/active_support/{core_ext/test/unit → testing}/assertions.rb +14 -13
- data/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +21 -0
- data/vendor/rails/activesupport/lib/active_support/testing/default.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +55 -0
- data/vendor/rails/activesupport/lib/active_support/testing/performance.rb +452 -0
- data/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +66 -68
- data/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +80 -50
- data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +12 -4
- data/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor.rb +12 -9
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +20 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +5 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +27 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +199 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +214 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +53 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +5 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +100 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +125 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +1 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +3 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +568 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{memcache-client-1.5.0 → memcache-client-1.6.5}/memcache.rb +383 -297
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/data_timezone.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/data_timezone_info.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Algiers.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Cairo.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Casablanca.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Harare.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Johannesburg.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Monrovia.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Africa/Nairobi.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Bogota.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Caracas.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Chicago.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Chihuahua.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Denver.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Godthab.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Guatemala.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Halifax.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Juneau.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/La_Paz.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Lima.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Los_Angeles.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Mazatlan.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Mexico_City.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Monterrey.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/New_York.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Phoenix.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Regina.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Santiago.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Sao_Paulo.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/St_Johns.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/America/Tijuana.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Almaty.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Baghdad.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Baku.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Bangkok.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Chongqing.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Dhaka.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Hong_Kong.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Irkutsk.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Jakarta.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Jerusalem.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Kabul.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Kamchatka.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Karachi.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Katmandu.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Kolkata.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Kuwait.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Magadan.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Muscat.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Novosibirsk.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Rangoon.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Riyadh.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Seoul.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Shanghai.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Singapore.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Taipei.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Tashkent.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Tbilisi.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Tehran.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Tokyo.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Urumqi.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Vladivostok.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Yakutsk.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Asia/Yerevan.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Atlantic/Azores.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Adelaide.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Brisbane.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Darwin.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Hobart.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Melbourne.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Perth.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Australia/Sydney.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Etc/UTC.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Amsterdam.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Athens.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Belgrade.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Berlin.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Bratislava.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Brussels.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Bucharest.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Budapest.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Copenhagen.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Dublin.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Helsinki.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Istanbul.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Kiev.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Lisbon.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Ljubljana.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/London.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Madrid.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Minsk.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Moscow.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Paris.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Prague.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Riga.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Rome.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Sarajevo.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Skopje.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Sofia.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Stockholm.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Tallinn.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Vienna.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Vilnius.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Warsaw.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Europe/Zagreb.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Auckland.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Fiji.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Guam.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Honolulu.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Majuro.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Midway.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Noumea.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/definitions/Pacific/Tongatapu.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/info_timezone.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/linked_timezone.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/linked_timezone_info.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/offset_rationals.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/ruby_core_support.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/time_or_datetime.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone_definition.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone_info.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone_offset_info.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone_period.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/vendor/{tzinfo-0.3.11 → tzinfo-0.3.12}/tzinfo/timezone_transition_info.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/version.rb +1 -1
- data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini.rb +31 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +133 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +77 -0
- data/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +108 -0
- data/vendor/rails/activesupport/lib/activesupport.rb +0 -0
- data/vendor/rails/railties/CHANGELOG +297 -188
- data/vendor/rails/railties/MIT-LICENSE +1 -1
- data/vendor/rails/railties/README +6 -19
- data/vendor/rails/railties/Rakefile +33 -20
- data/vendor/rails/railties/bin/rails +1 -0
- data/vendor/rails/railties/builtin/rails_info/rails/info.rb +12 -8
- data/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -0
- data/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -0
- data/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -0
- data/vendor/rails/railties/configs/databases/frontbase.yml +0 -0
- data/vendor/rails/railties/configs/databases/ibm_db.yml +62 -0
- data/vendor/rails/railties/configs/databases/mysql.yml +6 -0
- data/vendor/rails/railties/configs/databases/oracle.yml +0 -0
- data/vendor/rails/railties/configs/databases/postgresql.yml +3 -0
- data/vendor/rails/railties/configs/databases/sqlite2.yml +3 -0
- data/vendor/rails/railties/configs/databases/sqlite3.yml +3 -0
- data/vendor/rails/railties/configs/empty.log +0 -0
- data/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +7 -0
- data/vendor/rails/railties/configs/initializers/inflections.rb +0 -0
- data/vendor/rails/railties/configs/initializers/mime_types.rb +0 -0
- data/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +2 -0
- data/vendor/rails/railties/configs/initializers/session_store.rb +15 -0
- data/vendor/rails/railties/configs/locales/en.yml +5 -0
- data/vendor/rails/railties/configs/routes.rb +0 -0
- data/vendor/rails/railties/dispatches/config.ru +7 -0
- data/vendor/rails/railties/dispatches/dispatch.fcgi +1 -1
- data/vendor/rails/railties/dispatches/dispatch.rb +2 -2
- data/vendor/rails/railties/dispatches/gateway.cgi +2 -2
- data/vendor/rails/railties/doc/README_FOR_APP +0 -0
- data/vendor/rails/railties/environments/boot.rb +3 -2
- data/vendor/rails/railties/environments/development.rb +0 -0
- data/vendor/rails/railties/environments/environment.rb +16 -42
- data/vendor/rails/railties/environments/production.rb +10 -4
- data/vendor/rails/railties/environments/test.rb +6 -0
- data/vendor/rails/railties/helpers/application_controller.rb +10 -0
- data/vendor/rails/railties/helpers/application_helper.rb +0 -0
- data/vendor/rails/railties/helpers/performance_test.rb +9 -0
- data/vendor/rails/railties/helpers/test_helper.rb +1 -1
- data/vendor/rails/railties/html/404.html +0 -0
- data/vendor/rails/railties/html/422.html +0 -0
- data/vendor/rails/railties/html/500.html +1 -1
- data/vendor/rails/railties/html/favicon.ico +0 -0
- data/vendor/rails/railties/html/images/rails.png +0 -0
- data/vendor/rails/railties/html/index.html +1 -0
- data/vendor/rails/railties/html/javascripts/application.js +0 -0
- data/vendor/rails/railties/html/javascripts/controls.js +72 -72
- data/vendor/rails/railties/html/javascripts/dragdrop.js +165 -164
- data/vendor/rails/railties/html/javascripts/effects.js +173 -165
- data/vendor/rails/railties/html/javascripts/prototype.js +362 -267
- data/vendor/rails/railties/html/robots.txt +0 -0
- data/vendor/rails/railties/lib/code_statistics.rb +0 -0
- data/vendor/rails/railties/lib/commands.rb +0 -0
- data/vendor/rails/railties/lib/commands/about.rb +1 -1
- data/vendor/rails/railties/lib/commands/console.rb +13 -0
- data/vendor/rails/railties/lib/commands/dbconsole.rb +20 -4
- data/vendor/rails/railties/lib/commands/destroy.rb +0 -0
- data/vendor/rails/railties/lib/commands/ncgi/listener +2 -2
- data/vendor/rails/railties/lib/commands/ncgi/tracker +2 -2
- data/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -0
- data/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -0
- data/vendor/rails/railties/lib/commands/plugin.rb +43 -25
- data/vendor/rails/railties/lib/commands/runner.rb +13 -7
- data/vendor/rails/railties/lib/commands/server.rb +100 -25
- data/vendor/rails/railties/lib/commands/update.rb +0 -0
- data/vendor/rails/railties/lib/console_app.rb +4 -4
- data/vendor/rails/railties/lib/console_sandbox.rb +0 -0
- data/vendor/rails/railties/lib/console_with_helpers.rb +2 -23
- data/vendor/rails/railties/lib/dispatcher.rb +1 -1
- data/vendor/rails/railties/lib/fcgi_handler.rb +13 -13
- data/vendor/rails/railties/lib/initializer.rb +256 -66
- data/vendor/rails/railties/lib/performance_test_help.rb +5 -0
- data/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +54 -0
- data/vendor/rails/railties/lib/rails/gem_builder.rb +3 -3
- data/vendor/rails/railties/lib/rails/gem_dependency.rb +209 -56
- data/vendor/rails/railties/lib/rails/plugin.rb +59 -8
- data/vendor/rails/railties/lib/rails/plugin/loader.rb +66 -27
- data/vendor/rails/railties/lib/rails/plugin/locator.rb +1 -1
- data/vendor/rails/railties/lib/rails/rack.rb +8 -0
- data/vendor/rails/railties/lib/rails/rack/debugger.rb +21 -0
- data/vendor/rails/railties/lib/rails/rack/log_tailer.rb +35 -0
- data/vendor/rails/railties/lib/rails/rack/metal.rb +51 -0
- data/vendor/rails/railties/lib/rails/rack/static.rb +46 -0
- data/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +140 -0
- data/vendor/rails/railties/lib/rails/version.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/base.rb +3 -0
- data/vendor/rails/railties/lib/rails_generator/commands.rb +16 -17
- data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +213 -133
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +7 -0
- data/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +401 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +12 -11
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +7 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/USAGE +24 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +25 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +2 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +2 -3
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +12 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/USAGE +8 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +16 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +9 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +11 -11
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +1 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +3 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +4 -4
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +4 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +9 -5
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +12 -3
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +11 -11
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +4 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +2 -2
- data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +1 -1
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/options.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/scripts.rb +1 -1
- data/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +6 -7
- data/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +7 -147
- data/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -0
- data/vendor/rails/railties/lib/rails_generator/spec.rb +0 -0
- data/vendor/rails/railties/lib/railties_path.rb +0 -0
- data/vendor/rails/railties/lib/ruby_version_check.rb +0 -0
- data/vendor/rails/railties/lib/rubyprof_ext.rb +0 -0
- data/vendor/rails/railties/lib/source_annotation_extractor.rb +0 -0
- data/vendor/rails/railties/lib/tasks/annotations.rake +8 -11
- data/vendor/rails/railties/lib/tasks/databases.rake +55 -21
- data/vendor/rails/railties/lib/tasks/documentation.rake +8 -0
- data/vendor/rails/railties/lib/tasks/framework.rake +31 -2
- data/vendor/rails/railties/lib/tasks/gems.rake +41 -40
- data/vendor/rails/railties/lib/tasks/log.rake +0 -0
- data/vendor/rails/railties/lib/tasks/middleware.rake +7 -0
- data/vendor/rails/railties/lib/tasks/misc.rake +10 -4
- data/vendor/rails/railties/lib/tasks/rails.rb +0 -0
- data/vendor/rails/railties/lib/tasks/routes.rake +0 -0
- data/vendor/rails/railties/lib/tasks/statistics.rake +0 -1
- data/vendor/rails/railties/lib/tasks/testing.rake +30 -9
- data/vendor/rails/railties/lib/test_help.rb +17 -10
- data/vendor/rails/railties/lib/webrick_server.rb +2 -11
- data/vendor/redcloth/Rakefile +0 -0
- data/vendor/redcloth/bin/redcloth +0 -0
- data/vendor/redcloth/doc/CHANGELOG +0 -0
- data/vendor/redcloth/doc/COPYING +0 -0
- data/vendor/redcloth/doc/README +0 -0
- data/vendor/redcloth/doc/REFERENCE +0 -0
- data/vendor/redcloth/doc/make.rb +0 -0
- data/vendor/redcloth/lib/rctodb.rb +0 -0
- data/vendor/redcloth/lib/redcloth.rb +0 -0
- data/vendor/redcloth/run-tests.rb +0 -0
- data/vendor/redcloth/setup.rb +0 -0
- data/vendor/redcloth/tests/code.yml +0 -0
- data/vendor/redcloth/tests/images.yml +0 -0
- data/vendor/redcloth/tests/instiki.yml +0 -0
- data/vendor/redcloth/tests/links.yml +0 -0
- data/vendor/redcloth/tests/lists.yml +0 -0
- data/vendor/redcloth/tests/markdown.yml +0 -0
- data/vendor/redcloth/tests/poignant.yml +0 -0
- data/vendor/redcloth/tests/table.yml +0 -0
- data/vendor/redcloth/tests/textism.yml +0 -0
- metadata +514 -315
- data/app/controllers/admin/abstract_model_controller.rb +0 -134
- data/app/models/response_cache.rb +0 -187
- data/lib/plugins/extension_patches/lib/fixture_loading_extension.rb +0 -76
- data/lib/plugins/extension_patches/lib/mailer_view_paths_extension.rb +0 -93
- data/lib/radiant/compat.rb +0 -10
- data/spec/integration/admin/content_negotiation_spec.rb +0 -27
- data/spec/integration/admin/pages_integration_spec.rb +0 -124
- data/spec/integration/admin/permission_integration_spec.rb +0 -24
- data/spec/integration/admin/snippets_integration_spec.rb +0 -73
- data/spec/integration/admin/user_management_integration_spec.rb +0 -80
- data/spec/integration/admin/user_preferences_integration_spec.rb +0 -19
- data/spec/integration/page_serving_spec.rb +0 -37
- data/spec/models/response_cache_spec.rb +0 -286
- data/stories/all.rb +0 -4
- data/stories/helper.rb +0 -3
- data/vendor/highline/AUTHORS +0 -2
- data/vendor/highline/COPYING +0 -340
- data/vendor/highline/site/highline.css +0 -65
- data/vendor/highline/site/images/logo.png +0 -0
- data/vendor/highline/site/index.html +0 -59
- data/vendor/plugins/dataset/History.txt +0 -9
- data/vendor/plugins/dataset/Manifest.txt +0 -21
- data/vendor/plugins/default_order/README +0 -35
- data/vendor/plugins/default_order/Rakefile +0 -22
- data/vendor/plugins/default_order/init.rb +0 -1
- data/vendor/plugins/default_order/lib/default_order.rb +0 -32
- data/vendor/plugins/default_order/test/default_order_test.rb +0 -5
- data/vendor/plugins/spec_integration/LICENSE +0 -19
- data/vendor/plugins/spec_integration/README +0 -117
- data/vendor/plugins/spec_integration/Rakefile +0 -10
- data/vendor/plugins/spec_integration/lib/spec/integration.rb +0 -10
- data/vendor/plugins/spec_integration/lib/spec/integration/dsl.rb +0 -11
- data/vendor/plugins/spec_integration/lib/spec/integration/dsl/form.rb +0 -157
- data/vendor/plugins/spec_integration/lib/spec/integration/dsl/integration_example_group.rb +0 -97
- data/vendor/plugins/spec_integration/lib/spec/integration/dsl/navigation.rb +0 -102
- data/vendor/plugins/spec_integration/lib/spec/integration/extensions.rb +0 -8
- data/vendor/plugins/spec_integration/lib/spec/integration/extensions/action_controller.rb +0 -25
- data/vendor/plugins/spec_integration/lib/spec/integration/extensions/hash.rb +0 -48
- data/vendor/plugins/spec_integration/lib/spec/integration/matchers.rb +0 -1
- data/vendor/plugins/spec_integration/lib/spec/integration/matchers/display_object.rb +0 -41
- data/vendor/plugins/spec_integration/lib/spec/integration/matchers/have_link_to.rb +0 -35
- data/vendor/plugins/spec_integration/lib/spec/integration/matchers/navigate_successfully.rb +0 -60
- data/vendor/plugins/spec_integration/lib/spec/integration/matchers/showing.rb +0 -44
- data/vendor/plugins/spec_integration/spec/application.rb +0 -3
- data/vendor/plugins/spec_integration/spec/dispatcher.rb +0 -24
- data/vendor/plugins/spec_integration/spec/dsl/form_spec.rb +0 -130
- data/vendor/plugins/spec_integration/spec/dsl/integration_spec_spec.rb +0 -38
- data/vendor/plugins/spec_integration/spec/dsl/navigation_spec.rb +0 -35
- data/vendor/plugins/spec_integration/spec/integration_dsl_controller.rb +0 -5
- data/vendor/plugins/spec_integration/spec/spec.opts +0 -7
- data/vendor/plugins/spec_integration/spec/spec_helper.rb +0 -10
- data/vendor/plugins/spec_integration/tasks/integration.rake +0 -14
- data/vendor/plugins/vizres/CHANGELOG +0 -15
- data/vendor/plugins/vizres/MIT-LICENSE +0 -16
- data/vendor/plugins/vizres/README +0 -80
- data/vendor/plugins/vizres/Rakefile +0 -22
- data/vendor/plugins/vizres/init.rb +0 -1
- data/vendor/plugins/vizres/lib/vizres.rb +0 -33
- data/vendor/plugins/vizres/lib/vizres/browser.rb +0 -36
- data/vendor/plugins/vizres/lib/vizres/scm.rb +0 -27
- data/vendor/plugins/vizres/test/vizres/browser_test.rb +0 -76
- data/vendor/plugins/vizres/test/vizres/scm_test.rb +0 -41
- data/vendor/plugins/vizres/test/vizres_test.rb +0 -55
- data/vendor/plugins/vizres/vizres.gemspec +0 -26
- data/vendor/rails/actionmailer/lib/action_mailer/vendor.rb +0 -14
- data/vendor/rails/actionpack/lib/action_controller/assertions.rb +0 -69
- data/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb +0 -18
- data/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb +0 -73
- data/vendor/rails/actionpack/lib/action_controller/components.rb +0 -166
- data/vendor/rails/actionpack/lib/action_controller/request_profiler.rb +0 -169
- data/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb +0 -340
- data/vendor/rails/actionpack/lib/action_controller/session/drb_server.rb +0 -32
- data/vendor/rails/actionpack/lib/action_controller/session/drb_store.rb +0 -35
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/controls.js +0 -963
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/dragdrop.js +0 -972
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/effects.js +0 -1120
- data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/prototype.js +0 -4225
- data/vendor/rails/actionpack/lib/action_view/partial_template.rb +0 -70
- data/vendor/rails/actionpack/lib/action_view/template_finder.rb +0 -177
- data/vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb +0 -128
- data/vendor/rails/actionpack/test/controller/cgi_test.rb +0 -116
- data/vendor/rails/actionpack/test/controller/components_test.rb +0 -140
- data/vendor/rails/actionpack/test/controller/custom_handler_test.rb +0 -45
- data/vendor/rails/actionpack/test/controller/http_authentication_test.rb +0 -54
- data/vendor/rails/actionpack/test/controller/integration_upload_test.rb +0 -43
- data/vendor/rails/actionpack/test/controller/new_render_test.rb +0 -945
- data/vendor/rails/actionpack/test/controller/session_fixation_test.rb +0 -89
- data/vendor/rails/actionpack/test/controller/session_management_test.rb +0 -178
- data/vendor/rails/actionpack/test/fixtures/test/block_content_for.erb +0 -2
- data/vendor/rails/actionpack/test/fixtures/test/erb_content_for.erb +0 -2
- data/vendor/rails/actionpack/test/template/deprecated_erb_variable_test.rb +0 -9
- data/vendor/rails/actionpack/test/template/template_finder_test.rb +0 -73
- data/vendor/rails/actionpack/test/template/template_object_test.rb +0 -95
- data/vendor/rails/activerecord/lib/active_record/vendor/mysql.rb +0 -1214
- data/vendor/rails/activerecord/test/cases/adapter_test_sqlserver.rb +0 -95
- data/vendor/rails/activerecord/test/cases/table_name_test_sqlserver.rb +0 -23
- data/vendor/rails/activerecord/test/cases/threaded_connections_test.rb +0 -48
- data/vendor/rails/activerecord/test/schema/sqlserver_specific_schema.rb +0 -5
- data/vendor/rails/activesupport/lib/active_support/clean_logger.rb +0 -127
- data/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb +0 -66
- data/vendor/rails/activesupport/lib/active_support/core_ext/test.rb +0 -1
- data/vendor/rails/activesupport/lib/active_support/multibyte/generators/generate_tables.rb +0 -149
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb +0 -9
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb +0 -564
- data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb +0 -43
- data/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.11/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -170
- data/vendor/rails/activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb +0 -1021
- data/vendor/rails/railties/bin/performance/request +0 -3
- data/vendor/rails/railties/bin/process/inspector +0 -3
- data/vendor/rails/railties/bin/process/reaper +0 -3
- data/vendor/rails/railties/bin/process/spawner +0 -3
- data/vendor/rails/railties/configs/apache.conf +0 -40
- data/vendor/rails/railties/configs/lighttpd.conf +0 -54
- data/vendor/rails/railties/helpers/application.rb +0 -15
- data/vendor/rails/railties/lib/commands/performance/request.rb +0 -6
- data/vendor/rails/railties/lib/commands/process/inspector.rb +0 -68
- data/vendor/rails/railties/lib/commands/process/reaper.rb +0 -149
- data/vendor/rails/railties/lib/commands/process/spawner.rb +0 -219
- data/vendor/rails/railties/lib/commands/process/spinner.rb +0 -57
- data/vendor/rails/railties/lib/commands/servers/base.rb +0 -31
- data/vendor/rails/railties/lib/commands/servers/lighttpd.rb +0 -94
- data/vendor/rails/railties/lib/commands/servers/mongrel.rb +0 -69
- data/vendor/rails/railties/lib/commands/servers/new_mongrel.rb +0 -16
- data/vendor/rails/railties/lib/commands/servers/webrick.rb +0 -66
- data/vendor/rails/railties/lib/rails/mongrel_server/commands.rb +0 -342
- data/vendor/rails/railties/lib/rails/mongrel_server/handler.rb +0 -55
@@ -1,6 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require 'abstract_unit'
|
3
|
-
require 'tmail'
|
4
3
|
require 'tempfile'
|
5
4
|
|
6
5
|
class QuotingTest < Test::Unit::TestCase
|
@@ -49,8 +48,10 @@ class QuotingTest < Test::Unit::TestCase
|
|
49
48
|
|
50
49
|
result = execute_in_sandbox(<<-CODE)
|
51
50
|
$:.unshift(File.dirname(__FILE__) + "/../lib/")
|
52
|
-
|
53
|
-
|
51
|
+
if RUBY_VERSION < '1.9'
|
52
|
+
$KCODE = 'u'
|
53
|
+
require 'jcode'
|
54
|
+
end
|
54
55
|
require 'action_mailer/quoting'
|
55
56
|
include ActionMailer::Quoting
|
56
57
|
quoted_printable(#{original.inspect}, "UTF-8")
|
@@ -26,7 +26,7 @@ class TestHelperMailerTest < ActionMailer::TestCase
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def test_determine_default_mailer_raises_correct_error
|
29
|
-
|
29
|
+
assert_raise(ActionMailer::NonInferrableMailerError) do
|
30
30
|
self.class.determine_default_mailer("NotAMailerTest")
|
31
31
|
end
|
32
32
|
end
|
@@ -36,7 +36,7 @@ class TestHelperMailerTest < ActionMailer::TestCase
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def test_encode
|
39
|
-
assert_equal "=?utf-8?Q?=
|
39
|
+
assert_equal "=?utf-8?Q?=0Aasdf=0A?=", encode("\nasdf\n")
|
40
40
|
end
|
41
41
|
|
42
42
|
def test_assert_emails
|
@@ -84,7 +84,7 @@ class TestHelperMailerTest < ActionMailer::TestCase
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def test_assert_emails_too_few_sent
|
87
|
-
error =
|
87
|
+
error = assert_raise ActiveSupport::TestCase::Assertion do
|
88
88
|
assert_emails 2 do
|
89
89
|
TestHelperMailer.deliver_test
|
90
90
|
end
|
@@ -94,7 +94,7 @@ class TestHelperMailerTest < ActionMailer::TestCase
|
|
94
94
|
end
|
95
95
|
|
96
96
|
def test_assert_emails_too_many_sent
|
97
|
-
error =
|
97
|
+
error = assert_raise ActiveSupport::TestCase::Assertion do
|
98
98
|
assert_emails 1 do
|
99
99
|
TestHelperMailer.deliver_test
|
100
100
|
TestHelperMailer.deliver_test
|
@@ -105,7 +105,7 @@ class TestHelperMailerTest < ActionMailer::TestCase
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def test_assert_no_emails_failure
|
108
|
-
error =
|
108
|
+
error = assert_raise ActiveSupport::TestCase::Assertion do
|
109
109
|
assert_no_emails do
|
110
110
|
TestHelperMailer.deliver_test
|
111
111
|
end
|
File without changes
|
File without changes
|
@@ -1,26 +1,360 @@
|
|
1
|
-
*2.
|
1
|
+
*2.3.2 [Final] (March 15, 2009)*
|
2
2
|
|
3
|
-
*
|
3
|
+
* Fixed that redirection would just log the options, not the final url (which lead to "Redirected to #<Post:0x23150b8>") [DHH]
|
4
|
+
|
5
|
+
* Added ability to pass in :public => true to fresh_when, stale?, and expires_in to make the request proxy cachable #2095 [Gregg Pollack]
|
6
|
+
|
7
|
+
* Fixed that passing a custom form builder would be forwarded to nested fields_for calls #2023 [Eloy Duran/Nate Wiger]
|
8
|
+
|
9
|
+
* Form option helpers now support disabled option tags and the use of lambdas for selecting/disabling option tags from collections #837 [Tekin]
|
10
|
+
|
11
|
+
* Added partial scoping to TranslationHelper#translate, so if you call translate(".foo") from the people/index.html.erb template, you'll actually be calling I18n.translate("people.index.foo") [DHH]
|
12
|
+
|
13
|
+
* Fix a syntax error in current_page?() that was prevent matches against URL's with multiple query parameters #1385, #1868 [chris finne/Andrew White]
|
14
|
+
|
15
|
+
* Added localized rescue template when I18n.locale is set (ex: public/404.da.html) #1835 [José Valim]
|
16
|
+
|
17
|
+
* Make the form_for and fields_for helpers support the new Active Record nested update options. #1202 [Eloy Duran]
|
18
|
+
|
19
|
+
<% form_for @person do |person_form| %>
|
20
|
+
...
|
21
|
+
<% person_form.fields_for :projects do |project_fields| %>
|
22
|
+
<% if project_fields.object.active? %>
|
23
|
+
Name: <%= project_fields.text_field :name %>
|
24
|
+
<% end %>
|
25
|
+
<% end %>
|
26
|
+
<% end %>
|
27
|
+
|
28
|
+
|
29
|
+
* Added grouped_options_for_select helper method for wrapping option tags in optgroups. #977 [Jon Crawford]
|
30
|
+
|
31
|
+
* Implement HTTP Digest authentication. #1230 [Gregg Kellogg, Pratik Naik] Example :
|
32
|
+
|
33
|
+
class DummyDigestController < ActionController::Base
|
34
|
+
USERS = { "lifo" => 'world' }
|
35
|
+
|
36
|
+
before_filter :authenticate
|
37
|
+
|
38
|
+
def index
|
39
|
+
render :text => "Hello Secret"
|
40
|
+
end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def authenticate
|
45
|
+
authenticate_or_request_with_http_digest("Super Secret") do |username|
|
46
|
+
# Return the user's password
|
47
|
+
USERS[username]
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
* Improved i18n support for the number_to_human_size helper. Changes the storage_units translation data; update your translations accordingly. #1634 [Yaroslav Markin]
|
53
|
+
storage_units:
|
54
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
55
|
+
format: "%n %u"
|
56
|
+
units:
|
57
|
+
byte:
|
58
|
+
one: "Byte"
|
59
|
+
other: "Bytes"
|
60
|
+
kb: "KB"
|
61
|
+
mb: "MB"
|
62
|
+
gb: "GB"
|
63
|
+
tb: "TB"
|
64
|
+
|
65
|
+
* Added :silence option to BenchmarkHelper#benchmark and turned log_level into a hash parameter and deprecated the old use [DHH]
|
66
|
+
|
67
|
+
* Fixed the AssetTagHelper cache to use the computed asset host as part of the cache key instead of just assuming the its a string #1299 [DHH]
|
68
|
+
|
69
|
+
* Make ActionController#render(string) work as a shortcut for render :file/:template/:action => string. [#1435] [Pratik Naik] Examples:
|
70
|
+
|
71
|
+
# Instead of render(:action => 'other_action')
|
72
|
+
render('other_action') # argument has no '/'
|
73
|
+
render(:other_action)
|
74
|
+
|
75
|
+
# Instead of render(:template => 'controller/action')
|
76
|
+
render('controller/action') # argument must not begin with a '/', but contain a '/'
|
77
|
+
|
78
|
+
# Instead of render(:file => '/Users/lifo/home.html.erb')
|
79
|
+
render('/Users/lifo/home.html.erb') # argument must begin with a '/'
|
80
|
+
|
81
|
+
* Add :prompt option to date/time select helpers. #561 [Sam Oliver]
|
82
|
+
|
83
|
+
* Fixed that send_file shouldn't set an etag #1578 [Hongli Lai]
|
84
|
+
|
85
|
+
* Allow users to opt out of the spoofing checks in Request#remote_ip. Useful for sites whose traffic regularly triggers false positives. [Darren Boyd]
|
86
|
+
|
87
|
+
* Deprecated formatted_polymorphic_url. [Jeremy Kemper]
|
88
|
+
|
89
|
+
* Added the option to declare an asset_host as an object that responds to call (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [David Heinemeier Hansson]
|
90
|
+
|
91
|
+
* Added support for multiple routes.rb files (useful for plugin engines). This also means that draw will no longer clear the route set, you have to do that by hand (shouldn't make a difference to you unless you're doing some funky stuff) [David Heinemeier Hansson]
|
92
|
+
|
93
|
+
* Dropped formatted_* routes in favor of just passing in :format as an option. This cuts resource routes generation in half #1359 [aaronbatalion]
|
94
|
+
|
95
|
+
* Remove support for old double-encoded cookies from the cookie store. These values haven't been generated since before 2.1.0, and any users who have visited the app in the intervening 6 months will have had their cookie upgraded. [Michael Koziarski]
|
96
|
+
|
97
|
+
* Allow helpers directory to be overridden via ActionController::Base.helpers_dir #1424 [Sam Pohlenz]
|
98
|
+
|
99
|
+
* Remove deprecated ActionController::Base#assign_default_content_type_and_charset
|
100
|
+
|
101
|
+
* Changed the default of ActionView#render to assume partials instead of files when not given an options hash [David Heinemeier Hansson]. Examples:
|
102
|
+
|
103
|
+
# Instead of <%= render :partial => "account" %>
|
104
|
+
<%= render "account" %>
|
105
|
+
|
106
|
+
# Instead of <%= render :partial => "account", :locals => { :account => @buyer } %>
|
107
|
+
<%= render "account", :account => @buyer %>
|
108
|
+
|
109
|
+
# @account is an Account instance, so it uses the RecordIdentifier to replace
|
110
|
+
# <%= render :partial => "accounts/account", :locals => { :account => @account } %>
|
111
|
+
<%= render(@account) %>
|
112
|
+
|
113
|
+
# @posts is an array of Post instances, so it uses the RecordIdentifier to replace
|
114
|
+
# <%= render :partial => "posts/post", :collection => @posts %>
|
115
|
+
<%= render(@posts) %>
|
116
|
+
|
117
|
+
* Remove deprecated render_component. Please use the plugin from http://github.com/rails/render_component/tree/master [Pratik Naik]
|
118
|
+
|
119
|
+
* Fixed RedCloth and BlueCloth shouldn't preload. Instead just assume that they're available if you want to use textilize and markdown and let autoload require them [David Heinemeier Hansson]
|
120
|
+
|
121
|
+
|
122
|
+
*2.2.2 (November 21st, 2008)*
|
123
|
+
|
124
|
+
* I18n: translate number_to_human_size. Add storage_units: [Bytes, KB, MB, GB, TB] to your translations. #1448 [Yaroslav Markin]
|
125
|
+
|
126
|
+
* Restore backwards compatible functionality for setting relative_url_root. Include deprecation
|
127
|
+
|
128
|
+
* Switched the CSRF module to use the request content type to decide if the request is forgeable. #1145 [Jeff Cohen]
|
129
|
+
|
130
|
+
* Added :only and :except to map.resources to let people cut down on the number of redundant routes in an application. Typically only useful for huge routesets. #1215 [Tom Stuart]
|
131
|
+
|
132
|
+
map.resources :products, :only => :show do |product|
|
133
|
+
product.resources :images, :except => :destroy
|
134
|
+
end
|
135
|
+
|
136
|
+
* Added render :js for people who want to render inline JavaScript replies without using RJS [David Heinemeier Hansson]
|
137
|
+
|
138
|
+
* Fixed that polymorphic_url should compact given array #1317 [hiroshi]
|
139
|
+
|
140
|
+
* Fixed the sanitize helper to avoid double escaping already properly escaped entities #683 [antonmos/Ryan McGeary]
|
141
|
+
|
142
|
+
* Fixed that FormTagHelper generated illegal html if name contained square brackets #1238 [Vladimir Dobriakov]
|
143
|
+
|
144
|
+
* Fix regression bug that made date_select and datetime_select raise a Null Pointer Exception when a nil date/datetime was passed and only month and year were displayed #1289 [Bernardo Padua/Tor Erik]
|
145
|
+
|
146
|
+
* Simplified the logging format for parameters (don't include controller, action, and format as duplicates) [David Heinemeier Hansson]
|
147
|
+
|
148
|
+
* Remove the logging of the Session ID when the session store is CookieStore [David Heinemeier Hansson]
|
149
|
+
|
150
|
+
* Fixed regex in redirect_to to fully support URI schemes #1247 [Seth Fitzsimmons]
|
151
|
+
|
152
|
+
* Fixed bug with asset timestamping when using relative_url_root #1265 [Joe Goldwasser]
|
153
|
+
|
154
|
+
|
155
|
+
*2.2.0 [RC1] (October 24th, 2008)*
|
156
|
+
|
157
|
+
* Fix incorrect closing CDATA delimiter and that HTML::Node.parse would blow up on unclosed CDATA sections [packagethief]
|
158
|
+
|
159
|
+
* Added stale? and fresh_when methods to provide a layer of abstraction above request.fresh? and friends [David Heinemeier Hansson]. Example:
|
160
|
+
|
161
|
+
class ArticlesController < ApplicationController
|
162
|
+
def show_with_respond_to_block
|
163
|
+
@article = Article.find(params[:id])
|
164
|
+
|
165
|
+
|
166
|
+
# If the request sends headers that differs from the options provided to stale?, then
|
167
|
+
# the request is indeed stale and the respond_to block is triggered (and the options
|
168
|
+
# to the stale? call is set on the response).
|
169
|
+
#
|
170
|
+
# If the request headers match, then the request is fresh and the respond_to block is
|
171
|
+
# not triggered. Instead the default render will occur, which will check the last-modified
|
172
|
+
# and etag headers and conclude that it only needs to send a "304 Not Modified" instead
|
173
|
+
# of rendering the template.
|
174
|
+
if stale?(:last_modified => @article.published_at.utc, :etag => @article)
|
175
|
+
respond_to do |wants|
|
176
|
+
# normal response processing
|
177
|
+
end
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
def show_with_implied_render
|
182
|
+
@article = Article.find(params[:id])
|
183
|
+
|
184
|
+
# Sets the response headers and checks them against the request, if the request is stale
|
185
|
+
# (i.e. no match of either etag or last-modified), then the default render of the template happens.
|
186
|
+
# If the request is fresh, then the default render will return a "304 Not Modified"
|
187
|
+
# instead of rendering the template.
|
188
|
+
fresh_when(:last_modified => @article.published_at.utc, :etag => @article)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
|
193
|
+
* Added inline builder yield to atom_feed_helper tags where appropriate [Sam Ruby]. Example:
|
194
|
+
|
195
|
+
entry.summary :type => 'xhtml' do |xhtml|
|
196
|
+
xhtml.p pluralize(order.line_items.count, "line item")
|
197
|
+
xhtml.p "Shipped to #{order.address}"
|
198
|
+
xhtml.p "Paid by #{order.pay_type}"
|
199
|
+
end
|
200
|
+
|
201
|
+
* Make PrototypeHelper#submit_to_remote a wrapper around PrototypeHelper#button_to_remote. [Tarmo Tänav]
|
202
|
+
|
203
|
+
* Set HttpOnly for the cookie session store's cookie. #1046
|
204
|
+
|
205
|
+
* Added FormTagHelper#image_submit_tag confirm option #784 [Alastair Brunton]
|
4
206
|
|
5
207
|
* Fixed FormTagHelper#submit_tag with :disable_with option wouldn't submit the button's value when was clicked #633 [Jose Fernandez]
|
6
208
|
|
209
|
+
* Stopped logging template compiles as it only clogs up the log [David Heinemeier Hansson]
|
210
|
+
|
211
|
+
* Changed the X-Runtime header to report in milliseconds [David Heinemeier Hansson]
|
212
|
+
|
213
|
+
* Changed BenchmarkHelper#benchmark to report in milliseconds [David Heinemeier Hansson]
|
214
|
+
|
215
|
+
* Changed logging format to be millisecond based and skip misleading stats [David Heinemeier Hansson]. Went from:
|
216
|
+
|
217
|
+
Completed in 0.10000 (4 reqs/sec) | Rendering: 0.04000 (40%) | DB: 0.00400 (4%) | 200 OK [http://example.com]
|
218
|
+
|
219
|
+
...to:
|
220
|
+
|
221
|
+
Completed in 100ms (View: 40, DB: 4) | 200 OK [http://example.com]
|
222
|
+
|
223
|
+
* Add support for shallow nesting of routes. #838 [S. Brent Faulkner]
|
224
|
+
|
225
|
+
Example :
|
226
|
+
|
227
|
+
map.resources :users, :shallow => true do |user|
|
228
|
+
user.resources :posts
|
229
|
+
end
|
230
|
+
|
231
|
+
- GET /users/1/posts (maps to PostsController#index action as usual)
|
232
|
+
named route "user_posts" is added as usual.
|
233
|
+
|
234
|
+
- GET /posts/2 (maps to PostsController#show action as if it were not nested)
|
235
|
+
Additionally, named route "post" is added too.
|
236
|
+
|
237
|
+
* Added button_to_remote helper. #3641 [Donald Piret, Tarmo Tänav]
|
238
|
+
|
239
|
+
* Deprecate render_component. Please use render_component plugin from http://github.com/rails/render_component/tree/master [Pratik Naik]
|
240
|
+
|
241
|
+
* Routes may be restricted to lists of HTTP methods instead of a single method or :any. #407 [Brennan Dunn, Gaius Centus Novus]
|
242
|
+
map.resource :posts, :collection => { :search => [:get, :post] }
|
243
|
+
map.session 'session', :requirements => { :method => [:get, :post, :delete] }
|
244
|
+
|
245
|
+
* Deprecated implicit local assignments when rendering partials [Josh Peek]
|
246
|
+
|
247
|
+
* Introduce current_cycle helper method to return the current value without bumping the cycle. #417 [Ken Collins]
|
248
|
+
|
249
|
+
* Allow polymorphic_url helper to take url options. #880 [Tarmo Tänav]
|
250
|
+
|
251
|
+
* Switched integration test runner to use Rack processor instead of CGI [Josh Peek]
|
252
|
+
|
253
|
+
* Made AbstractRequest.if_modified_sense return nil if the header could not be parsed [Jamis Buck]
|
254
|
+
|
255
|
+
* Added back ActionController::Base.allow_concurrency flag [Josh Peek]
|
256
|
+
|
257
|
+
* AbstractRequest.relative_url_root is no longer automatically configured by a HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root [Josh Peek]
|
258
|
+
|
259
|
+
* Update Prototype to 1.6.0.2 #599 [Patrick Joyce]
|
260
|
+
|
261
|
+
* Conditional GET utility methods. [Jeremy Kemper]
|
262
|
+
response.last_modified = @post.updated_at
|
263
|
+
response.etag = [:admin, @post, current_user]
|
7
264
|
|
8
|
-
|
265
|
+
if request.fresh?(response)
|
266
|
+
head :not_modified
|
267
|
+
else
|
268
|
+
# render ...
|
269
|
+
end
|
9
270
|
|
10
271
|
* All 2xx requests are considered successful [Josh Peek]
|
11
272
|
|
12
|
-
*
|
273
|
+
* Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host along with the source or per-request proc's won't run [David Heinemeier Hansson]
|
274
|
+
|
275
|
+
* Removed config.action_view.cache_template_loading, use config.cache_classes instead [Josh Peek]
|
276
|
+
|
277
|
+
* Get buffer for fragment cache from template's @output_buffer [Josh Peek]
|
278
|
+
|
279
|
+
* Set config.action_view.warn_cache_misses = true to receive a warning if you perform an action that results in an expensive disk operation that could be cached [Josh Peek]
|
280
|
+
|
281
|
+
* Refactor template preloading. New abstractions include Renderable mixins and a refactored Template class [Josh Peek]
|
282
|
+
|
283
|
+
* Changed ActionView::TemplateHandler#render API method signature to render(template, local_assigns = {}) [Josh Peek]
|
284
|
+
|
285
|
+
* Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote to stay consistent with link_to_remote (submit_to_remote still works as an alias) #8994 [clemens]
|
286
|
+
|
287
|
+
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to be used along with :all. #480 [Damian Janowski]
|
288
|
+
|
289
|
+
* Allow users to disable the use of the Accept header [Michael Koziarski]
|
290
|
+
|
291
|
+
The accept header is poorly implemented by browsers and causes strange
|
292
|
+
errors when used on public sites where crawlers make requests too. You
|
293
|
+
can use formatted urls (e.g. /people/1.xml) to support API clients in a
|
294
|
+
much simpler way.
|
295
|
+
|
296
|
+
To disable the header you need to set:
|
297
|
+
|
298
|
+
config.action_controller.use_accept_header = false
|
299
|
+
|
300
|
+
* Do not stat template files in production mode before rendering. You will no longer be able to modify templates in production mode without restarting the server [Josh Peek]
|
301
|
+
|
302
|
+
* Deprecated TemplateHandler line offset [Josh Peek]
|
303
|
+
|
304
|
+
* Allow caches_action to accept cache store options. #416. [José Valim]. Example:
|
305
|
+
|
306
|
+
caches_action :index, :redirected, :if => Proc.new { |c| !c.request.format.json? }, :expires_in => 1.hour
|
307
|
+
|
308
|
+
* Remove define_javascript_functions, javascript_include_tag and friends are far superior. [Michael Koziarski]
|
309
|
+
|
310
|
+
* Deprecate :use_full_path render option. The supplying the option no longer has an effect [Josh Peek]
|
13
311
|
|
14
|
-
*
|
312
|
+
* Add :as option to render a collection of partials with a custom local variable name. #509 [Simon Jefford, Pratik Naik]
|
15
313
|
|
16
|
-
|
314
|
+
render :partial => 'other_people', :collection => @people, :as => :person
|
315
|
+
|
316
|
+
This will let you access objects of @people as 'person' local variable inside 'other_people' partial template.
|
317
|
+
|
318
|
+
* time_zone_select: support for regexp matching of priority zones. Resolves #195 [Ernie Miller]
|
319
|
+
|
320
|
+
* Made ActionView::Base#render_file private [Josh Peek]
|
321
|
+
|
322
|
+
* Refactor and simplify the implementation of assert_redirected_to. Arguments are now normalised relative to the controller being tested, not the root of the application. [Michael Koziarski]
|
323
|
+
|
324
|
+
This could cause some erroneous test failures if you were redirecting between controllers
|
325
|
+
in different namespaces and wrote your assertions relative to the root of the application.
|
326
|
+
|
327
|
+
* Remove follow_redirect from controller functional tests.
|
328
|
+
|
329
|
+
If you want to follow redirects you can use integration tests. The functional test
|
330
|
+
version was only useful if you were using redirect_to :id=>...
|
17
331
|
|
18
332
|
* Fix polymorphic_url with singleton resources. #461 [Tammer Saleh]
|
19
333
|
|
20
|
-
*
|
334
|
+
* Replaced TemplateFinder abstraction with ViewLoadPaths [Josh Peek]
|
335
|
+
|
336
|
+
* Added block-call style to link_to [Sam Stephenson/David Heinemeier Hansson]. Example:
|
337
|
+
|
338
|
+
<% link_to(@profile) do %>
|
339
|
+
<strong><%= @profile.name %></strong> -- <span>Check it out!!</span>
|
340
|
+
<% end %>
|
341
|
+
|
342
|
+
* Performance: integration test benchmarking and profiling. [Jeremy Kemper]
|
343
|
+
|
344
|
+
* Make caching more aware of mime types. Ensure request format is not considered while expiring cache. [Jonathan del Strother]
|
345
|
+
|
346
|
+
* Drop ActionController::Base.allow_concurrency flag [Josh Peek]
|
347
|
+
|
348
|
+
* More efficient concat and capture helpers. Remove ActionView::Base.erb_variable. [Jeremy Kemper]
|
349
|
+
|
350
|
+
* Added page.reload functionality. Resolves #277. [Sean Huber]
|
21
351
|
|
22
352
|
* Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR doesn't match (not just if they're both present) [Mark Imbriaco, Bradford Folkens]
|
23
353
|
|
354
|
+
* Allow caches_action to accept a layout option [José Valim]
|
355
|
+
|
356
|
+
* Added Rack processor [Ezra Zygmuntowicz, Josh Peek]
|
357
|
+
|
24
358
|
|
25
359
|
*2.1.0 (May 31st, 2008)*
|
26
360
|
|
@@ -30,30 +364,30 @@
|
|
30
364
|
|
31
365
|
* Added session(:on) to turn session management back on in a controller subclass if the superclass turned it off (Peter Jones) [#136]
|
32
366
|
|
33
|
-
* Change the request forgery protection to go by Content-Type instead of request.format so that you can't bypass it by POSTing to "#{request.uri}.xml" [
|
367
|
+
* Change the request forgery protection to go by Content-Type instead of request.format so that you can't bypass it by POSTing to "#{request.uri}.xml" [Rick Olson]
|
34
368
|
* InstanceTag#default_time_from_options with hash args uses Time.current as default; respects hash settings when time falls in system local spring DST gap [Geoff Buesing]
|
35
369
|
|
36
370
|
* select_date defaults to Time.zone.today when config.time_zone is set [Geoff Buesing]
|
37
371
|
|
38
372
|
* Fixed that TextHelper#text_field would corrypt when raw HTML was used as the value (mchenryc, Kevin Glowacz) [#80]
|
39
373
|
|
40
|
-
* Added ActionController::TestCase#rescue_action_in_public! to control whether the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [
|
374
|
+
* Added ActionController::TestCase#rescue_action_in_public! to control whether the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [David Heinemeier Hansson]
|
41
375
|
|
42
|
-
* Reduce number of instance variables being copied from controller to view. [Pratik]
|
376
|
+
* Reduce number of instance variables being copied from controller to view. [Pratik Naik]
|
43
377
|
|
44
378
|
* select_datetime and select_time default to Time.zone.now when config.time_zone is set [Geoff Buesing]
|
45
379
|
|
46
380
|
* datetime_select defaults to Time.zone.now when config.time_zone is set [Geoff Buesing]
|
47
381
|
|
48
|
-
* Remove ActionController::Base#view_controller_internals flag. [Pratik]
|
382
|
+
* Remove ActionController::Base#view_controller_internals flag. [Pratik Naik]
|
49
383
|
|
50
384
|
* Add conditional options to caches_page method. [Paul Horsfall]
|
51
385
|
|
52
|
-
* Move missing template logic to ActionView. [Pratik]
|
386
|
+
* Move missing template logic to ActionView. [Pratik Naik]
|
53
387
|
|
54
|
-
* Introduce ActionView::InlineTemplate class. [Pratik]
|
388
|
+
* Introduce ActionView::InlineTemplate class. [Pratik Naik]
|
55
389
|
|
56
|
-
* Automatically parse posted JSON content for Mime::JSON requests. [
|
390
|
+
* Automatically parse posted JSON content for Mime::JSON requests. [Rick Olson]
|
57
391
|
|
58
392
|
POST /posts
|
59
393
|
{"post": {"title": "Breaking News"}}
|
@@ -63,14 +397,14 @@
|
|
63
397
|
# ...
|
64
398
|
end
|
65
399
|
|
66
|
-
* add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [
|
400
|
+
* add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [Rick Olson]
|
67
401
|
|
68
402
|
* Provide a helper proxy to access helper methods from outside views. Closes #10839 [Josh Peek]
|
69
403
|
e.g. ApplicationController.helpers.simple_format(text)
|
70
404
|
|
71
405
|
* Improve documentation. [Xavier Noria, leethal, jerome]
|
72
406
|
|
73
|
-
* Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546 [
|
407
|
+
* Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546 [Josh Peek, eventualbuddha, Pratik Naik]
|
74
408
|
|
75
409
|
* Support render :partial => collection of heterogeneous elements. #11491 [Zach Dennis]
|
76
410
|
|
@@ -82,17 +416,17 @@
|
|
82
416
|
|
83
417
|
* Fixed HTML::Tokenizer (used in sanitize helper) didn't handle unclosed CDATA tags #10071 [esad, packagethief]
|
84
418
|
|
85
|
-
* Improve documentation. [
|
419
|
+
* Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
|
86
420
|
|
87
421
|
* Fixed that FormHelper#radio_button would produce invalid ids #11298 [harlancrystal]
|
88
422
|
|
89
|
-
* Added :confirm option to submit_tag #11415 [
|
423
|
+
* Added :confirm option to submit_tag #11415 [Emilio Tagua]
|
90
424
|
|
91
425
|
* Fixed NumberHelper#number_with_precision to properly round in a way that works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi]
|
92
426
|
|
93
|
-
* Allow the #simple_format text_helper to take an html_options hash for each paragraph. #2448 [
|
427
|
+
* Allow the #simple_format text_helper to take an html_options hash for each paragraph. #2448 [François Beausoleil, Chris O'Sullivan]
|
94
428
|
|
95
|
-
* Fix regression from filter refactoring where re-adding a skipped filter resulted in it being called twice. [
|
429
|
+
* Fix regression from filter refactoring where re-adding a skipped filter resulted in it being called twice. [Rick Olson]
|
96
430
|
|
97
431
|
* Refactor filters to use Active Support callbacks. #11235 [Josh Peek]
|
98
432
|
|
@@ -108,43 +442,43 @@
|
|
108
442
|
|
109
443
|
* Fix nested parameter hash parsing bug. #10797 [thomas.lee]
|
110
444
|
|
111
|
-
* Allow using named routes in ActionController::TestCase before any request has been made. Closes #11273 [
|
445
|
+
* Allow using named routes in ActionController::TestCase before any request has been made. Closes #11273 [Eloy Duran]
|
112
446
|
|
113
|
-
* Fixed that sweepers defined by cache_sweeper will be added regardless of the perform_caching setting. Instead, control whether the sweeper should be run with the perform_caching setting. This makes testing easier when you want to turn perform_caching on/off [
|
447
|
+
* Fixed that sweepers defined by cache_sweeper will be added regardless of the perform_caching setting. Instead, control whether the sweeper should be run with the perform_caching setting. This makes testing easier when you want to turn perform_caching on/off [David Heinemeier Hansson]
|
114
448
|
|
115
449
|
* Make MimeResponds::Responder#any work without explicit types. Closes #11140 [jaw6]
|
116
450
|
|
117
451
|
* Better error message for type conflicts when parsing params. Closes #7962 [spicycode, matt]
|
118
452
|
|
119
|
-
* Remove unused ActionController::Base.template_class. Closes #10787 [Pratik]
|
453
|
+
* Remove unused ActionController::Base.template_class. Closes #10787 [Pratik Naik]
|
120
454
|
|
121
|
-
* Moved template handlers related code from ActionView::Base to ActionView::Template. [Pratik]
|
455
|
+
* Moved template handlers related code from ActionView::Base to ActionView::Template. [Pratik Naik]
|
122
456
|
|
123
|
-
* Tests for div_for and content_tag_for helpers. Closes #11223 [
|
457
|
+
* Tests for div_for and content_tag_for helpers. Closes #11223 [Chris O'Sullivan]
|
124
458
|
|
125
459
|
* Allow file uploads in Integration Tests. Closes #11091 [RubyRedRick]
|
126
460
|
|
127
|
-
* Refactor partial rendering into a PartialTemplate class. [Pratik]
|
461
|
+
* Refactor partial rendering into a PartialTemplate class. [Pratik Naik]
|
128
462
|
|
129
|
-
* Added that requests with JavaScript as the priority mime type in the accept 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 [
|
463
|
+
* Added that requests with JavaScript as the priority mime type in the accept 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 [David Heinemeier Hansson]
|
130
464
|
|
131
|
-
* Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [
|
465
|
+
* Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [Ernesto Jimenez]
|
132
466
|
|
133
467
|
* Remove support for multivalued (e.g., '&'-delimited) cookies. [Jamis Buck]
|
134
468
|
|
135
469
|
* Fix problem with render :partial collections, records, and locals. #11057 [lotswholetime]
|
136
470
|
|
137
|
-
* Added support for naming concrete classes in sweeper declarations [
|
471
|
+
* Added support for naming concrete classes in sweeper declarations [David Heinemeier Hansson]
|
138
472
|
|
139
|
-
* Remove ERB trim variables from trace template in case ActionView::Base.erb_trim_mode is changed in the application. #10098 [
|
473
|
+
* Remove ERB trim variables from trace template in case ActionView::Base.erb_trim_mode is changed in the application. #10098 [Tim Pope, Chris Kampmeier]
|
140
474
|
|
141
|
-
* Fix typo in form_helper documentation. #10650 [
|
475
|
+
* Fix typo in form_helper documentation. #10650 [Xavier Shay, Chris Kampmeier]
|
142
476
|
|
143
477
|
* Fix bug with setting Request#format= after the getter has cached the value. #10889 [cch1]
|
144
478
|
|
145
|
-
* Correct inconsistencies in RequestForgeryProtection docs. #11032 [
|
479
|
+
* Correct inconsistencies in RequestForgeryProtection docs. #11032 [Mislav Marohnić]
|
146
480
|
|
147
|
-
* Introduce a Template class to ActionView. #11024 [
|
481
|
+
* Introduce a Template class to ActionView. #11024 [Pratik Naik]
|
148
482
|
|
149
483
|
* Introduce the :index option for form_for and fields_for to simplify multi-model forms (see http://railscasts.com/episodes/75). #9883 [rmm5t]
|
150
484
|
|
@@ -160,7 +494,7 @@
|
|
160
494
|
e.g. map.dashboard '/dashboard', :controller=>'dashboard'
|
161
495
|
map.root :dashboard
|
162
496
|
|
163
|
-
* Handle corner case with image_tag when passed 'messed up' image names. #9018 [
|
497
|
+
* Handle corner case with image_tag when passed 'messed up' image names. #9018 [Duncan Beevers, mpalmer]
|
164
498
|
|
165
499
|
* Add label_tag helper for generating elements. #10802 [DefV]
|
166
500
|
|
@@ -168,15 +502,15 @@
|
|
168
502
|
|
169
503
|
* Performance: optimize route recognition. Large speedup for apps with many resource routes. #10835 [oleganza]
|
170
504
|
|
171
|
-
* Make render :partial recognise form builders and use the _form partial. #10814 [
|
505
|
+
* Make render :partial recognise form builders and use the _form partial. #10814 [Damian Janowski]
|
172
506
|
|
173
507
|
* Allow users to declare other namespaces when using the atom feed helpers. #10304 [david.calavera]
|
174
508
|
|
175
509
|
* Introduce send_file :x_sendfile => true to send an X-Sendfile response header. [Jeremy Kemper]
|
176
510
|
|
177
|
-
* Fixed ActionView::Helpers::ActiveRecordHelper::form for when protect_from_forgery is used #10739 [
|
511
|
+
* Fixed ActionView::Helpers::ActiveRecordHelper::form for when protect_from_forgery is used #10739 [Jeremy Evans]
|
178
512
|
|
179
|
-
* Provide nicer access to HTTP Headers. Instead of request.env["HTTP_REFERRER"] you can now use request.headers["Referrer"]. [
|
513
|
+
* Provide nicer access to HTTP Headers. Instead of request.env["HTTP_REFERRER"] you can now use request.headers["Referrer"]. [Michael Koziarski]
|
180
514
|
|
181
515
|
* UrlWriter respects relative_url_root. #10748 [Cheah Chu Yeow]
|
182
516
|
|
@@ -186,26 +520,26 @@
|
|
186
520
|
|
187
521
|
* assert_response failures include the exception message. #10688 [Seth Rasmussen]
|
188
522
|
|
189
|
-
* All fragment cache keys are now by default prefixed with the "views/" namespace [
|
523
|
+
* All fragment cache keys are now by default prefixed with the "views/" namespace [David Heinemeier Hansson]
|
190
524
|
|
191
|
-
* Moved the caching stores from ActionController::Caching::Fragments::* to ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [
|
525
|
+
* Moved the caching stores from ActionController::Caching::Fragments::* to ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [David Heinemeier Hansson]
|
192
526
|
|
193
|
-
* Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [
|
527
|
+
* Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [David Heinemeier Hansson]
|
194
528
|
|
195
|
-
* Made fragment caching in views work for rjs and builder as well #6642 [
|
529
|
+
* Made fragment caching in views work for rjs and builder as well #6642 [Dee Zsombor]
|
196
530
|
|
197
531
|
* Fixed rendering of partials with layout when done from site layout #9209 [antramm]
|
198
532
|
|
199
|
-
* Fix atom_feed_helper to comply with the atom spec. Closes #10672 [
|
533
|
+
* Fix atom_feed_helper to comply with the atom spec. Closes #10672 [Xavier Shay]
|
200
534
|
|
201
535
|
* The tags created do not contain a date (http://feedvalidator.org/docs/error/InvalidTAG.html)
|
202
536
|
* IDs are not guaranteed unique
|
203
537
|
* A default self link was not provided, contrary to the documentation
|
204
538
|
* NOTE: This changes tags for existing atom entries, but at least they validate now.
|
205
539
|
|
206
|
-
* Correct indentation in tests. Closes #10671 [
|
540
|
+
* Correct indentation in tests. Closes #10671 [Luca Guidi]
|
207
541
|
|
208
|
-
* Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [
|
542
|
+
* Fix that auto_link looks for ='s in url paths (Amazon urls have them). Closes #10640 [Brad Greenlee]
|
209
543
|
|
210
544
|
* Ensure that test case setup is run even if overridden. #10382 [Josh Peek]
|
211
545
|
|
@@ -222,7 +556,7 @@
|
|
222
556
|
|
223
557
|
* Added OPTIONS to list of default accepted HTTP methods #10449 [holoway]
|
224
558
|
|
225
|
-
* Added option to pass proc to ActionController::Base.asset_host for maximum configurability #10521 [
|
559
|
+
* Added option to pass proc to ActionController::Base.asset_host for maximum configurability #10521 [Cheah Chu Yeow]. Example:
|
226
560
|
|
227
561
|
ActionController::Base.asset_host = Proc.new { |source|
|
228
562
|
if source.starts_with?('/images')
|
@@ -251,45 +585,45 @@
|
|
251
585
|
|
252
586
|
* Fixed send_file/binary_content for testing #8044 [tolsen]
|
253
587
|
|
254
|
-
* When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [
|
588
|
+
* When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [Jack Danger Canty]
|
255
589
|
|
256
590
|
* Update Prototype to 1.6.0.1. [sam]
|
257
591
|
|
258
592
|
* Update script.aculo.us to 1.8.0.1. [madrobby]
|
259
593
|
|
260
|
-
* Add 'disabled' attribute to <OPTION> separators used in time zone and country selects. Closes #10354 [
|
594
|
+
* Add 'disabled' attribute to <OPTION> separators used in time zone and country selects. Closes #10354 [Josh Susser]
|
261
595
|
|
262
|
-
* Added the same record identification guessing rules to fields_for as form_for has [
|
596
|
+
* Added the same record identification guessing rules to fields_for as form_for has [David Heinemeier Hansson]
|
263
597
|
|
264
|
-
* Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [
|
598
|
+
* Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [David Heinemeier Hansson]
|
265
599
|
|
266
600
|
* Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 [Tarmo Tänav]
|
267
601
|
|
268
602
|
* Update to Prototype -r8232. [sam]
|
269
603
|
|
270
|
-
* Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager,
|
604
|
+
* Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager, Michael Koziarski] #10292
|
271
605
|
|
272
606
|
* Added protection from trailing slashes on page caching #10229 [devrieda]
|
273
607
|
|
274
|
-
* Asset timestamps are appended, not prepended. Closes #10276 [
|
608
|
+
* Asset timestamps are appended, not prepended. Closes #10276 [Mike Naberezny]
|
275
609
|
|
276
610
|
* Minor inconsistency in description of render example. Closes #10029 [ScottSchram]
|
277
611
|
|
278
|
-
* Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods. [
|
612
|
+
* Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods. [Rick Olson]
|
279
613
|
|
280
|
-
* Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations. Closes #10129. [
|
614
|
+
* Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations. Closes #10129. [Rick Olson]
|
281
615
|
|
282
|
-
* Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial [
|
616
|
+
* Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial [Rick Olson]
|
283
617
|
|
284
|
-
* Fix TemplateError so it doesn't bomb on exceptions while running tests [
|
618
|
+
* Fix TemplateError so it doesn't bomb on exceptions while running tests [Rick Olson]
|
285
619
|
|
286
|
-
* Fixed that named routes living under resources shouldn't have double slashes #10198 [
|
620
|
+
* Fixed that named routes living under resources shouldn't have double slashes #10198 [Isaac Feliu]
|
287
621
|
|
288
|
-
* Make sure that cookie sessions use a secret that is at least 30 chars in length. [
|
622
|
+
* Make sure that cookie sessions use a secret that is at least 30 chars in length. [Michael Koziarski]
|
289
623
|
|
290
624
|
* Fixed that partial rendering should look at the type of the first render to determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) #10130 [java]
|
291
625
|
|
292
|
-
* Fixed that has_many :through associations should render as collections too #9051 [mathie/
|
626
|
+
* Fixed that has_many :through associations should render as collections too #9051 [mathie/Jack Danger Canty]
|
293
627
|
|
294
628
|
* Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image swaps #6893 [joost]
|
295
629
|
|
@@ -297,7 +631,7 @@
|
|
297
631
|
|
298
632
|
* Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
|
299
633
|
|
300
|
-
* Document :with option for link_to_remote. Closes #8765 [
|
634
|
+
* Document :with option for link_to_remote. Closes #8765 [Ryan Bates]
|
301
635
|
|
302
636
|
* Document :minute_step option for time_select. Closes #8814 [brupm]
|
303
637
|
|
@@ -307,7 +641,7 @@
|
|
307
641
|
|
308
642
|
* Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]
|
309
643
|
|
310
|
-
* Add documentation for route conditions. Closes #9041 [innu,
|
644
|
+
* Add documentation for route conditions. Closes #9041 [innu, Manfred Stienstra]
|
311
645
|
|
312
646
|
* Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N]
|
313
647
|
|
@@ -315,23 +649,23 @@
|
|
315
649
|
|
316
650
|
* Update Prototype to 1.6.0 and script.aculo.us to 1.8.0. [sam, madrobby]
|
317
651
|
|
318
|
-
* Expose the cookie jar as a helper method (before the view would just get the raw cookie hash) [
|
652
|
+
* Expose the cookie jar as a helper method (before the view would just get the raw cookie hash) [David Heinemeier Hansson]
|
319
653
|
|
320
654
|
* Integration tests: get_ and post_via_redirect take a headers hash. #9130 [simonjefford]
|
321
655
|
|
322
|
-
* Simplfy #view_paths implementation. ActionView templates get the exact object, not a dup. [Rick]
|
656
|
+
* Simplfy #view_paths implementation. ActionView templates get the exact object, not a dup. [Rick Olson]
|
323
657
|
|
324
|
-
* Update tests for ActiveSupport's JSON escaping change. [
|
658
|
+
* Update tests for ActiveSupport's JSON escaping change. [Rick Olson]
|
325
659
|
|
326
660
|
* FormHelper's auto_index should use #to_param instead of #id_before_type_cast. Closes #9994 [mattly]
|
327
661
|
|
328
662
|
* Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]
|
329
663
|
|
330
|
-
* Make example parameters in restful routing docs idiomatic. Closes #9993 [
|
664
|
+
* Make example parameters in restful routing docs idiomatic. Closes #9993 [Jack Danger Canty]
|
331
665
|
|
332
666
|
* Make documentation comment for mime responders match documentation example. Closes #9357 [yon]
|
333
667
|
|
334
|
-
* Introduce a new test case class for functional tests. ActionController::TestCase. [
|
668
|
+
* Introduce a new test case class for functional tests. ActionController::TestCase. [Michael Koziarski]
|
335
669
|
|
336
670
|
* Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
|
337
671
|
|
@@ -347,13 +681,13 @@
|
|
347
681
|
|
348
682
|
* Disabled checkboxes don't submit a form value. #9301 [vladr, robinjfisher]
|
349
683
|
|
350
|
-
* Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong,
|
684
|
+
* Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong, Mislav Marohnić]
|
351
685
|
|
352
|
-
* Changed before_filter halting to happen automatically on render or redirect but no longer on simply returning false [
|
686
|
+
* Changed before_filter halting to happen automatically on render or redirect but no longer on simply returning false [David Heinemeier Hansson]
|
353
687
|
|
354
688
|
* Ensure that cookies handle array values correctly. Closes #9937 [queso]
|
355
689
|
|
356
|
-
* Make sure resource routes don't clash with internal helpers like javascript_path, image_path etc. #9928 [
|
690
|
+
* Make sure resource routes don't clash with internal helpers like javascript_path, image_path etc. #9928 [Geoff Buesing]
|
357
691
|
|
358
692
|
* caches_page uses a single after_filter instead of one per action. #9891 [Pratik Naik]
|
359
693
|
|
@@ -365,15 +699,15 @@
|
|
365
699
|
|
366
700
|
* error_messages_for also takes :message and :header_message options which defaults to the old "There were problems with the following fields:" and "<count> errors prohibited this <object_name> from being saved". #8270 [rmm5t, zach-inglis-lt3]
|
367
701
|
|
368
|
-
* Make sure that custom inflections are picked up by map.resources. #9815 [
|
702
|
+
* Make sure that custom inflections are picked up by map.resources. #9815 [Mislav Marohnić]
|
369
703
|
|
370
|
-
* Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [
|
704
|
+
* Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [David Heinemeier Hansson]
|
371
705
|
|
372
|
-
* Extracted sanitization methods from TextHelper to SanitizeHelper [
|
706
|
+
* Extracted sanitization methods from TextHelper to SanitizeHelper [David Heinemeier Hansson]
|
373
707
|
|
374
708
|
* rescue_from accepts :with => lambda { |exception| ... } or a normal block. #9827 [Pratik Naik]
|
375
709
|
|
376
|
-
* Add :status to redirect_to allowing users to choose their own response code without manually setting headers. #8297 [
|
710
|
+
* Add :status to redirect_to allowing users to choose their own response code without manually setting headers. #8297 [Coda Hale, chasgrundy]
|
377
711
|
|
378
712
|
* Add link_to :back which uses your referrer with a fallback to a javascript link. #7366 [eventualbuddha, Tarmo Tänav]
|
379
713
|
|
@@ -381,13 +715,13 @@
|
|
381
715
|
|
382
716
|
* Fix url_for, redirect_to, etc. with :controller => :symbol instead of 'string'. #8562, #9525 [Justin Lynn, Tarmo Tänav, shoe]
|
383
717
|
|
384
|
-
* Use #require_library_or_gem to load the memcache library for the MemCache session and fragment cache stores. Closes #8662. [Rick]
|
718
|
+
* Use #require_library_or_gem to load the memcache library for the MemCache session and fragment cache stores. Closes #8662. [Rick Olson]
|
385
719
|
|
386
|
-
* Move ActionController::Routing.optimise_named_routes to ActionController::Base.optimise_named_routes. Now you can set it in the config. [Rick]
|
720
|
+
* Move ActionController::Routing.optimise_named_routes to ActionController::Base.optimise_named_routes. Now you can set it in the config. [Rick Olson]
|
387
721
|
|
388
722
|
config.action_controller.optimise_named_routes = false
|
389
723
|
|
390
|
-
* ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape. [Rick]
|
724
|
+
* ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape. [Rick Olson]
|
391
725
|
|
392
726
|
* Only accept session ids from cookies, prevents session fixation attacks. [bradediger]
|
393
727
|
|
@@ -396,7 +730,7 @@
|
|
396
730
|
|
397
731
|
* Fixed that render template did not honor exempt_from_layout #9698 [pezra]
|
398
732
|
|
399
|
-
* Better error messages if you leave out the :secret option for request forgery protection. Closes #9670 [
|
733
|
+
* Better error messages if you leave out the :secret option for request forgery protection. Closes #9670 [Rick Olson]
|
400
734
|
|
401
735
|
* Allow ability to disable request forgery protection, disable it in test mode by default. Closes #9693 [Pratik Naik]
|
402
736
|
|
@@ -408,40 +742,40 @@
|
|
408
742
|
|
409
743
|
* Cache asset ids. [Jeremy Kemper]
|
410
744
|
|
411
|
-
* Optimized named routes respect AbstractRequest.relative_url_root. #9612 [
|
745
|
+
* Optimized named routes respect AbstractRequest.relative_url_root. #9612 [Daniel Morrison, Jeremy Kemper]
|
412
746
|
|
413
747
|
* Introduce ActionController::Base.rescue_from to declare exception-handling methods. Cleaner style than the case-heavy rescue_action_in_public. #9449 [Norbert Crombach]
|
414
748
|
|
415
|
-
* Rename some RequestForgeryProtection methods. The class method is now #protect_from_forgery, and the default parameter is now 'authenticity_token'. [Rick]
|
749
|
+
* Rename some RequestForgeryProtection methods. The class method is now #protect_from_forgery, and the default parameter is now 'authenticity_token'. [Rick Olson]
|
416
750
|
|
417
|
-
* Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model that verifies session-specific _tokens for non-GET requests. [Rick]
|
751
|
+
* Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model that verifies session-specific _tokens for non-GET requests. [Rick Olson]
|
418
752
|
|
419
|
-
* Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks. Closes #8877. [Rick, Pratik Naik, Jacques Distler]
|
753
|
+
* Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks. Closes #8877. [Rick Olson, Pratik Naik, Jacques Distler]
|
420
754
|
|
421
755
|
This merges and renames the popular white_list helper (along with some css sanitizing from Jacques Distler version of the same plugin).
|
422
756
|
Also applied updated versions of #strip_tags and #strip_links from #8877.
|
423
757
|
|
424
758
|
* Remove use of & logic operator. Closes #8114. [watson]
|
425
759
|
|
426
|
-
* Fixed JavaScriptHelper#escape_javascript to also escape closing tags #8023 [
|
760
|
+
* Fixed JavaScriptHelper#escape_javascript to also escape closing tags #8023 [Ruy Asan]
|
427
761
|
|
428
762
|
* Fixed TextHelper#word_wrap for multiline strings with extra carrier returns #8663 [seth]
|
429
763
|
|
430
764
|
* Fixed that setting the :host option in url_for would automatically turn off :only_path (since :host would otherwise not be shown) #9586 [Bounga]
|
431
765
|
|
432
|
-
* Added FormHelper#label. #8641, #9850 [jcoglan,
|
766
|
+
* Added FormHelper#label. #8641, #9850 [jcoglan, Jarkko Laine]
|
433
767
|
|
434
|
-
* Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [
|
768
|
+
* Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [David Heinemeier Hansson]
|
435
769
|
|
436
|
-
* Prevent errors when generating routes for uncountable resources, (i.e. sheep where plural == singluar). map.resources :sheep now creates sheep_index_url for the collection and sheep_url for the specific item. [
|
770
|
+
* Prevent errors when generating routes for uncountable resources, (i.e. sheep where plural == singluar). map.resources :sheep now creates sheep_index_url for the collection and sheep_url for the specific item. [Michael Koziarski]
|
437
771
|
|
438
|
-
* Added support for HTTP Only cookies (works in IE6+ and FF 2.0.5+) as an improvement for XSS attacks #8895 [Pratik Naik,
|
772
|
+
* Added support for HTTP Only cookies (works in IE6+ and FF 2.0.5+) as an improvement for XSS attacks #8895 [Pratik Naik, Mark Somerville]
|
439
773
|
|
440
774
|
* Don't warn when a path segment precedes a required segment. Closes #9615. [Nicholas Seckar]
|
441
775
|
|
442
776
|
* Fixed CaptureHelper#content_for to work with the optional content parameter instead of just the block #9434 [sandofsky/wildchild].
|
443
777
|
|
444
|
-
* Added Mime::Type.register_alias for dealing with different formats using the same mime type [
|
778
|
+
* Added Mime::Type.register_alias for dealing with different formats using the same mime type [David Heinemeier Hansson]. Example:
|
445
779
|
|
446
780
|
class PostsController < ApplicationController
|
447
781
|
before_filter :adjust_format_for_iphone
|
@@ -464,7 +798,7 @@
|
|
464
798
|
end
|
465
799
|
end
|
466
800
|
|
467
|
-
* Added that render :json will automatically call .to_json unless it's being passed a string [
|
801
|
+
* Added that render :json will automatically call .to_json unless it's being passed a string [David Heinemeier Hansson].
|
468
802
|
|
469
803
|
* Autolink behaves well with emails embedded in URLs. #7313 [Jeremy McAnally, Tarmo Tänav]
|
470
804
|
|
@@ -476,7 +810,7 @@
|
|
476
810
|
|
477
811
|
* root_path returns '/' not ''. #9563 [Pratik Naik]
|
478
812
|
|
479
|
-
* Fixed that setting request.format should also affect respond_to blocks [
|
813
|
+
* Fixed that setting request.format should also affect respond_to blocks [David Heinemeier Hansson]
|
480
814
|
|
481
815
|
* Add option to force binary mode on tempfile used for fixture_file_upload. #6380 [Jonathan Viney]
|
482
816
|
|
@@ -486,20 +820,20 @@
|
|
486
820
|
|
487
821
|
* Moved ActionController::Macros::InPlaceEditing into the in_place_editor plugin on the official Rails svn. #9513 [Pratik Naik]
|
488
822
|
|
489
|
-
* Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb [
|
823
|
+
* Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb [David Heinemeier Hansson]
|
490
824
|
|
491
|
-
* Removed deprecated methods [
|
825
|
+
* Removed deprecated methods [David Heinemeier Hansson]:
|
492
826
|
|
493
827
|
- ActionController::Base#keep_flash (use flash.keep instead)
|
494
828
|
- ActionController::Base#expire_matched_fragments (just call expire_fragment with a regular expression)
|
495
829
|
- ActionController::Base.template_root/= methods (use ActionController#Base.view_paths/= instead)
|
496
830
|
- ActionController::Base.cookie (use ActionController#Base.cookies[]= instead)
|
497
831
|
|
498
|
-
* Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [
|
832
|
+
* Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [David Heinemeier Hansson]
|
499
833
|
|
500
|
-
* Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [
|
834
|
+
* Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [David Heinemeier Hansson]
|
501
835
|
|
502
|
-
* Optimise named route generation when using positional arguments. [
|
836
|
+
* Optimise named route generation when using positional arguments. [Michael Koziarski]
|
503
837
|
|
504
838
|
This change delivers significant performance benefits for the most
|
505
839
|
common usage scenarios for modern rails applications by avoiding the
|
@@ -510,9 +844,9 @@
|
|
510
844
|
|
511
845
|
* Fix layout overriding response status. #9476 [lotswholetime]
|
512
846
|
|
513
|
-
* Add field_set_tag for generating field_sets, closes #9477. [
|
847
|
+
* Add field_set_tag for generating field_sets, closes #9477. [Damian Janowski]
|
514
848
|
|
515
|
-
* Allow additional parameters to be passed to named route helpers when using positional arguments. Closes #8930 [
|
849
|
+
* Allow additional parameters to be passed to named route helpers when using positional arguments. Closes #8930 [Ian White]
|
516
850
|
|
517
851
|
* Make render :partial work with a :collection of Hashes, previously this wasn't possible due to backwards compatibility restrictions. [Pratik Naik]
|
518
852
|
|
@@ -522,15 +856,15 @@
|
|
522
856
|
|
523
857
|
* Find layouts even if they're not in the first view_paths directory. Closes #9258 [caio]
|
524
858
|
|
525
|
-
* Major improvement to the documentation for the options / select form helpers. Closes #9038 [
|
859
|
+
* Major improvement to the documentation for the options / select form helpers. Closes #9038 [Chris Kampmeier, jardeon, wesg]
|
526
860
|
|
527
861
|
* Fix number_to_human_size when using different precisions. Closes #7536. [RichardStrand, mpalmer]
|
528
862
|
|
529
|
-
* Added partial layouts (see example in action_view/lib/partials.rb) [
|
863
|
+
* Added partial layouts (see example in action_view/lib/partials.rb) [David Heinemeier Hansson]
|
530
864
|
|
531
|
-
* Allow you to set custom :conditions on resource routes. [Rick]
|
865
|
+
* Allow you to set custom :conditions on resource routes. [Rick Olson]
|
532
866
|
|
533
|
-
* Fixed that file.content_type for uploaded files would include a trailing \r #9053 [
|
867
|
+
* Fixed that file.content_type for uploaded files would include a trailing \r #9053 [Brad Greenlee]
|
534
868
|
|
535
869
|
* url_for now accepts a series of symbols representing the namespace of the record [Josh Knowles]
|
536
870
|
|
@@ -538,7 +872,7 @@
|
|
538
872
|
|
539
873
|
* Make sure missing template exceptions actually say which template they were looking for. Closes #8683 [dasil003]
|
540
874
|
|
541
|
-
* Fix errors with around_filters which do not yield, restore 1.1 behaviour with after filters. Closes #8891 [
|
875
|
+
* Fix errors with around_filters which do not yield, restore 1.1 behaviour with after filters. Closes #8891 [Stefan Kaes]
|
542
876
|
|
543
877
|
After filters will *no longer* be run if an around_filter fails to yield, users relying on
|
544
878
|
this behaviour are advised to put the code in question after a yield statement in an around filter.
|
@@ -550,13 +884,13 @@
|
|
550
884
|
|
551
885
|
render :partial => 'show.html.erb'
|
552
886
|
|
553
|
-
* Improve capture helper documentation. #8796 [
|
887
|
+
* Improve capture helper documentation. #8796 [Chris Kampmeier]
|
554
888
|
|
555
889
|
* Prefix nested resource named routes with their action name, e.g. new_group_user_path(@group) instead of group_new_user_path(@group). The old nested action named route is deprecated in Rails 1.2.4. #8558 [David Chelimsky]
|
556
890
|
|
557
|
-
* Allow sweepers to be created solely for expiring after controller actions, not model changes [
|
891
|
+
* Allow sweepers to be created solely for expiring after controller actions, not model changes [David Heinemeier Hansson]
|
558
892
|
|
559
|
-
* Added assigns method to ActionController::Caching::Sweeper to easily access instance variables on the controller [
|
893
|
+
* Added assigns method to ActionController::Caching::Sweeper to easily access instance variables on the controller [David Heinemeier Hansson]
|
560
894
|
|
561
895
|
* Give the legacy X-POST_DATA_FORMAT header greater precedence during params parsing for backward compatibility. [Jeremy Kemper]
|
562
896
|
|
@@ -564,11 +898,11 @@
|
|
564
898
|
|
565
899
|
* Fixed that radio_button_tag should generate unique ids #3353 [Bob Silva, Rebecca, Josh Peek]
|
566
900
|
|
567
|
-
* Fixed that HTTP authentication should work if the header is called REDIRECT_X_HTTP_AUTHORIZATION as well #6754 [
|
901
|
+
* Fixed that HTTP authentication should work if the header is called REDIRECT_X_HTTP_AUTHORIZATION as well #6754 [Mislav Marohnić]
|
568
902
|
|
569
903
|
* Don't mistakenly interpret the request uri as the query string. #8731 [Pratik Naik, Jeremy Kemper]
|
570
904
|
|
571
|
-
* Make ActionView#view_paths an attr_accessor for real this time. Also, don't perform an unnecessary #compact on the @view_paths array in #initialize. Closes #8582 [dasil003, julik,
|
905
|
+
* Make ActionView#view_paths an attr_accessor for real this time. Also, don't perform an unnecessary #compact on the @view_paths array in #initialize. Closes #8582 [dasil003, julik, Rick Olson]
|
572
906
|
|
573
907
|
* Tolerate missing content type on multipart file uploads. Fix for Safari 3. [Jeremy Kemper]
|
574
908
|
|
@@ -584,7 +918,7 @@
|
|
584
918
|
|
585
919
|
* Resources: url_for([parent, child]) generates /parents/1/children/2 for the nested resource. Likewise with the other simply helpful methods like form_for and link_to. #6432 [mhw, Jonathan Vaught, lotswholetime]
|
586
920
|
|
587
|
-
* Assume html format when rendering partials in RJS. #8076 [Rick]
|
921
|
+
* Assume html format when rendering partials in RJS. #8076 [Rick Olson]
|
588
922
|
|
589
923
|
* Don't double-escape url_for in views. #8144 [Rich Collins, Josh Peek]
|
590
924
|
|
@@ -604,13 +938,13 @@
|
|
604
938
|
|
605
939
|
* Reduce file stat calls when checking for template changes. #7736 [alex]
|
606
940
|
|
607
|
-
* Added custom path cache_page/expire_page parameters in addition to the options hashes [
|
941
|
+
* Added custom path cache_page/expire_page parameters in addition to the options hashes [David Heinemeier Hansson]. Example:
|
608
942
|
|
609
943
|
def index
|
610
944
|
caches_page(response.body, "/index.html")
|
611
945
|
end
|
612
946
|
|
613
|
-
* Action Caching speedup. #8231 [
|
947
|
+
* Action Caching speedup. #8231 [Stefan Kaes]
|
614
948
|
|
615
949
|
* Wordsmith resources documentation. #8484 [marclove]
|
616
950
|
|
@@ -628,21 +962,21 @@
|
|
628
962
|
|
629
963
|
* Added option to suppress :size when using :maxlength for FormTagHelper#text_field #3112 [Tim Pope]
|
630
964
|
|
631
|
-
* catch possible WSOD when trying to render a missing partial. Closes #8454 [
|
965
|
+
* catch possible WSOD when trying to render a missing partial. Closes #8454 [Jonathan del Strother]
|
632
966
|
|
633
967
|
* Rewind request body after reading it, if possible. #8438 [s450r1]
|
634
968
|
|
635
|
-
* Resource namespaces are inherited by their has_many subresources. #8280 [marclove,
|
969
|
+
* Resource namespaces are inherited by their has_many subresources. #8280 [marclove, Geoff Garside]
|
636
970
|
|
637
971
|
* Fix filtered parameter logging with nil parameter values. #8422 [choonkeat]
|
638
972
|
|
639
|
-
* Integration tests: alias xhr to xml_http_request and add a request_method argument instead of always using POST. #7124 [Nik Wakelin,
|
973
|
+
* Integration tests: alias xhr to xml_http_request and add a request_method argument instead of always using POST. #7124 [Nik Wakelin, François Beausoleil, Wizard]
|
640
974
|
|
641
975
|
* Document caches_action. #5419 [Jarkko Laine]
|
642
976
|
|
643
977
|
* Update to Prototype 1.5.1. [Sam Stephenson]
|
644
978
|
|
645
|
-
* Allow routes to be decalred under namespaces [Tobias
|
979
|
+
* Allow routes to be decalred under namespaces [Tobias Lütke]:
|
646
980
|
|
647
981
|
map.namespace :admin do |admin|
|
648
982
|
admin.root :controller => "products"
|
@@ -651,13 +985,13 @@
|
|
651
985
|
|
652
986
|
* Update to script.aculo.us 1.7.1_beta3. [Thomas Fuchs]
|
653
987
|
|
654
|
-
* observe_form always sends the serialized form. #5271 [
|
988
|
+
* observe_form always sends the serialized form. #5271 [Manfred Stienstra, normelton@gmail.com]
|
655
989
|
|
656
990
|
* Parse url-encoded and multipart requests ourselves instead of delegating to CGI. [Jeremy Kemper]
|
657
991
|
|
658
992
|
* select :include_blank option can be set to a string instead of true, which just uses an empty string. #7664 [Wizard]
|
659
993
|
|
660
|
-
* Added url_for usage on render :location, which allows for record identification [
|
994
|
+
* Added url_for usage on render :location, which allows for record identification [David Heinemeier Hansson]. Example:
|
661
995
|
|
662
996
|
render :xml => person, :status => :created, :location => person
|
663
997
|
|
@@ -683,7 +1017,7 @@
|
|
683
1017
|
end
|
684
1018
|
end
|
685
1019
|
|
686
|
-
* Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [
|
1020
|
+
* Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [David Heinemeier Hansson]. Examples:
|
687
1021
|
|
688
1022
|
<% form_for(@post) do |f| %>
|
689
1023
|
...
|
@@ -707,28 +1041,28 @@
|
|
707
1041
|
...
|
708
1042
|
<% end %>
|
709
1043
|
|
710
|
-
* Rationalize route path escaping according to RFC 2396 section 3.3. #7544, #8307. [Jeremy Kemper,
|
1044
|
+
* Rationalize route path escaping according to RFC 2396 section 3.3. #7544, #8307. [Jeremy Kemper, Chris Roos, begemot, jugend]
|
711
1045
|
|
712
|
-
* Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [
|
1046
|
+
* Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [David Heinemeier Hansson]. Examples:
|
713
1047
|
|
714
1048
|
redirect_to(post) # => redirect_to(posts_url(post)) => Location: http://example.com/posts/1
|
715
1049
|
link_to(post.title, post) # => link_to(post.title, posts_url(post)) => <a href="/posts/1">Hello world</a>
|
716
1050
|
|
717
1051
|
Any method that calls url_for on its parameters will automatically benefit from this.
|
718
1052
|
|
719
|
-
* Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [
|
1053
|
+
* Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [David Heinemeier Hansson]
|
720
1054
|
|
721
1055
|
* Add ActionController::Routing::Helpers, a module to contain common URL helpers such as polymorphic_url. [Nicholas Seckar]
|
722
1056
|
|
723
|
-
* Included the HttpAuthentication plugin as part of core (ActionController::HttpAuthentication::Basic) [
|
1057
|
+
* Included the HttpAuthentication plugin as part of core (ActionController::HttpAuthentication::Basic) [David Heinemeier Hansson]
|
724
1058
|
|
725
|
-
* Modernize documentation for form helpers. [
|
1059
|
+
* Modernize documentation for form helpers. [Jeremy McAnally]
|
726
1060
|
|
727
1061
|
* Add brief introduction to REST to the resources documentation. [fearoffish]
|
728
1062
|
|
729
1063
|
* Fix various documentation typos throughout ActionPack. [Henrik N]
|
730
1064
|
|
731
|
-
* Enhance documentation and add examples for url_for. [
|
1065
|
+
* Enhance documentation and add examples for url_for. [Jeremy McAnally]
|
732
1066
|
|
733
1067
|
* Fix documentation typo in routes. [Norbert Crombach, pam]
|
734
1068
|
|
@@ -738,24 +1072,24 @@
|
|
738
1072
|
|
739
1073
|
* Replace the current block/continuation filter chain handling by an implementation based on a simple loop. #8226 [Stefan Kaes]
|
740
1074
|
|
741
|
-
* Update UrlWriter to accept :anchor parameter. Closes #6771. [
|
1075
|
+
* Update UrlWriter to accept :anchor parameter. Closes #6771. [Chris McGrath]
|
742
1076
|
|
743
|
-
* Added RecordTagHelper for using RecordIdentifier conventions on divs and other container elements [
|
1077
|
+
* Added RecordTagHelper for using RecordIdentifier conventions on divs and other container elements [David Heinemeier Hansson]. Example:
|
744
1078
|
|
745
1079
|
<% div_for(post) do %> <div id="post_45" class="post">
|
746
1080
|
<%= post.body %> What a wonderful world!
|
747
1081
|
<% end %> </div>
|
748
1082
|
|
749
|
-
* Added page[record] accessor to JavaScriptGenerator that relies on RecordIdentifier to find the right dom id [
|
1083
|
+
* Added page[record] accessor to JavaScriptGenerator that relies on RecordIdentifier to find the right dom id [David Heinemeier Hansson]. Example:
|
750
1084
|
|
751
1085
|
format.js do
|
752
1086
|
# Calls: new Effect.fade('post_45');
|
753
1087
|
render(:update) { |page| page[post].visual_effect(:fade) }
|
754
1088
|
end
|
755
1089
|
|
756
|
-
* Added RecordIdentifier to enforce view conventions on records for dom ids, classes, and partial paths [
|
1090
|
+
* Added RecordIdentifier to enforce view conventions on records for dom ids, classes, and partial paths [David Heinemeier Hansson]
|
757
1091
|
|
758
|
-
* Added map.namespace to deal with the common situation of admin sections and the like [
|
1092
|
+
* Added map.namespace to deal with the common situation of admin sections and the like [David Heinemeier Hansson]
|
759
1093
|
|
760
1094
|
Before:
|
761
1095
|
|
@@ -773,7 +1107,7 @@
|
|
773
1107
|
:has_many => [ :tags, :images, :variants ]
|
774
1108
|
end
|
775
1109
|
|
776
|
-
* Added :name_prefix as standard for nested resources [
|
1110
|
+
* Added :name_prefix as standard for nested resources [David Heinemeier Hansson]. WARNING: May be backwards incompatible with your app
|
777
1111
|
|
778
1112
|
Before:
|
779
1113
|
|
@@ -791,7 +1125,7 @@
|
|
791
1125
|
|
792
1126
|
This does mean that if you intended to have comments_url go to /emails/5/comments, then you'll have to set :name_prefix to nil explicitly.
|
793
1127
|
|
794
|
-
* Added :has_many and :has_one for declaring plural and singular resources beneath the current [
|
1128
|
+
* Added :has_many and :has_one for declaring plural and singular resources beneath the current [David Heinemeier Hansson]
|
795
1129
|
|
796
1130
|
Before:
|
797
1131
|
|
@@ -805,28 +1139,28 @@
|
|
805
1139
|
|
806
1140
|
map.resources :notes, :has_many => [ :comments, :attachments ], :has_one => :author
|
807
1141
|
|
808
|
-
* Added that render :xml will try to call to_xml if it can [
|
1142
|
+
* Added that render :xml will try to call to_xml if it can [David Heinemeier Hansson]. Makes these work:
|
809
1143
|
|
810
1144
|
render :xml => post
|
811
1145
|
render :xml => comments
|
812
1146
|
|
813
|
-
* Added :location option to render so that the common pattern of rendering a response after creating a new resource is now a 1-liner [
|
1147
|
+
* Added :location option to render so that the common pattern of rendering a response after creating a new resource is now a 1-liner [David Heinemeier Hansson]
|
814
1148
|
|
815
1149
|
render :xml => post.to_xml, :status => :created, :location => post_url(post)
|
816
1150
|
|
817
|
-
* Ensure that render_text only adds string content to the body of the response [
|
1151
|
+
* Ensure that render_text only adds string content to the body of the response [David Heinemeier Hansson]
|
818
1152
|
|
819
1153
|
* Return the string representation from an Xml Builder when rendering a partial. Closes #5044 [Tim Pope]
|
820
1154
|
|
821
|
-
* Fixed that parameters from XML should also be presented in a hash with indifferent access [
|
1155
|
+
* Fixed that parameters from XML should also be presented in a hash with indifferent access [David Heinemeier Hansson]
|
822
1156
|
|
823
|
-
* Tweak template format rules so that the ACCEPT header is only used if it's text/javascript. This is so ajax actions without a :format param get recognized as Mime::JS. [Rick]
|
1157
|
+
* Tweak template format rules so that the ACCEPT header is only used if it's text/javascript. This is so ajax actions without a :format param get recognized as Mime::JS. [Rick Olson]
|
824
1158
|
|
825
|
-
* The default respond_to blocks don't set a specific extension anymore, so that both 'show.rjs' and 'show.js.rjs' will work. [Rick]
|
1159
|
+
* The default respond_to blocks don't set a specific extension anymore, so that both 'show.rjs' and 'show.js.rjs' will work. [Rick Olson]
|
826
1160
|
|
827
1161
|
* Allow layouts with extension of .html.erb. Closes #8032 [Josh Knowles]
|
828
1162
|
|
829
|
-
* Change default respond_to templates for xml and rjs formats. [Rick]
|
1163
|
+
* Change default respond_to templates for xml and rjs formats. [Rick Olson]
|
830
1164
|
|
831
1165
|
* Default xml template goes from #{action_name}.rxml => #{action_name}.xml.builder.
|
832
1166
|
* Default rjs template goes from #{action_name}.rjs => #{action_name}.js.rjs.
|
@@ -839,21 +1173,21 @@
|
|
839
1173
|
end
|
840
1174
|
end
|
841
1175
|
|
842
|
-
* Fix WSOD due to modification of a formatted template extension so that requests to templates like 'foo.html.erb' fail on the second hit. [Rick]
|
1176
|
+
* Fix WSOD due to modification of a formatted template extension so that requests to templates like 'foo.html.erb' fail on the second hit. [Rick Olson]
|
843
1177
|
|
844
|
-
* Fix WSOD when template compilation fails [Rick]
|
1178
|
+
* Fix WSOD when template compilation fails [Rick Olson]
|
845
1179
|
|
846
|
-
* Change ActionView template defaults. Look for templates using the request format first, such as "show.html.erb" or "show.xml.builder", before looking for the old defaults like "show.erb" or "show.builder" [Rick]
|
1180
|
+
* Change ActionView template defaults. Look for templates using the request format first, such as "show.html.erb" or "show.xml.builder", before looking for the old defaults like "show.erb" or "show.builder" [Rick Olson]
|
847
1181
|
|
848
1182
|
* Highlight helper highlights one or many terms in a single pass. [Jeremy Kemper]
|
849
1183
|
|
850
|
-
* Dropped the use of ; as a separator of non-crud actions on resources and went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [
|
1184
|
+
* Dropped the use of ; as a separator of non-crud actions on resources and went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [David Heinemeier Hansson]
|
851
1185
|
|
852
|
-
* Added that FormTagHelper#submit_tag will return to its original state if the submit fails and you're using :disable_with [
|
1186
|
+
* Added that FormTagHelper#submit_tag will return to its original state if the submit fails and you're using :disable_with [David Heinemeier Hansson]
|
853
1187
|
|
854
|
-
* Cleaned up, corrected, and mildly expanded ActionPack documentation. Closes #7190 [
|
1188
|
+
* Cleaned up, corrected, and mildly expanded ActionPack documentation. Closes #7190 [Jeremy McAnally]
|
855
1189
|
|
856
|
-
* Small collection of ActionController documentation cleanups. Closes #7319 [
|
1190
|
+
* Small collection of ActionController documentation cleanups. Closes #7319 [Jeremy McAnally]
|
857
1191
|
|
858
1192
|
* Make sure the route expiry hash is constructed by comparing the to_param-ized values of each hash. [Jamis Buck]
|
859
1193
|
|
@@ -883,19 +1217,19 @@
|
|
883
1217
|
* Allow array and hash query parameters. Array route parameters are converted/to/a/path as before. #6765, #7047, #7462 [bgipsy, Jeremy McAnally, Dan Kubb, brendan]
|
884
1218
|
|
885
1219
|
# Add a #dbman attr_reader for CGI::Session and make CGI::Session::CookieStore#generate_digest public so it's easy to generate digests
|
886
|
-
using the cookie store's secret. [Rick]
|
1220
|
+
using the cookie store's secret. [Rick Olson]
|
887
1221
|
|
888
|
-
* Added Request#url that returns the complete URL used for the request [
|
1222
|
+
* Added Request#url that returns the complete URL used for the request [David Heinemeier Hansson]
|
889
1223
|
|
890
1224
|
* Extract dynamic scaffolding into a plugin. #7700 [Josh Peek]
|
891
1225
|
|
892
|
-
* Added user/password options for url_for to add http authentication in a URL [
|
1226
|
+
* Added user/password options for url_for to add http authentication in a URL [David Heinemeier Hansson]
|
893
1227
|
|
894
1228
|
* Fixed that FormTagHelper#text_area_tag should disregard :size option if it's not a string [Brendon Davidson]
|
895
1229
|
|
896
1230
|
* Set the original button value in an attribute of the button when using the :disable_with key with submit_tag, so that the original can be restored later. [Jamis Buck]
|
897
1231
|
|
898
|
-
* session_enabled? works with session :off. #6680 [
|
1232
|
+
* session_enabled? works with session :off. #6680 [Jonathan del Strother]
|
899
1233
|
|
900
1234
|
* Added :port and :host handling to UrlRewriter (which unified url_for usage, regardless of whether it's called in view or controller) #7616 [alancfrancis]
|
901
1235
|
|
@@ -907,7 +1241,7 @@ using the cookie store's secret. [Rick]
|
|
907
1241
|
|
908
1242
|
* Cookie session store: empty and unchanged sessions don't write a cookie. [Jeremy Kemper]
|
909
1243
|
|
910
|
-
* Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb in ApplicationController [
|
1244
|
+
* Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb in ApplicationController [David Heinemeier Hansson]
|
911
1245
|
|
912
1246
|
* Integration tests: introduce methods for other HTTP methods. #6353 [caboose]
|
913
1247
|
|
@@ -928,7 +1262,7 @@ Roos]
|
|
928
1262
|
|
929
1263
|
* Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
|
930
1264
|
|
931
|
-
* Added caching option to AssetTagHelper#stylesheet_link_tag and AssetTagHelper#javascript_include_tag [
|
1265
|
+
* Added caching option to AssetTagHelper#stylesheet_link_tag and AssetTagHelper#javascript_include_tag [David Heinemeier Hansson]. Examples:
|
932
1266
|
|
933
1267
|
stylesheet_link_tag :all, :cache => true # when ActionController::Base.perform_caching is false =>
|
934
1268
|
<link href="/stylesheets/style1.css" media="screen" rel="Stylesheet" type="text/css" />
|
@@ -943,13 +1277,13 @@ Roos]
|
|
943
1277
|
|
944
1278
|
* Work around the two connection per host browser limit: use asset%d.myapp.com to distribute asset requests among asset[0123].myapp.com. Use a DNS wildcard or CNAMEs to map these hosts to your asset server. See http://www.die.net/musings/page_load_time/ for background. [Jeremy Kemper]
|
945
1279
|
|
946
|
-
* Added default mime type for CSS (Mime::CSS) [
|
1280
|
+
* Added default mime type for CSS (Mime::CSS) [David Heinemeier Hansson]
|
947
1281
|
|
948
|
-
* Added that rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [
|
1282
|
+
* Added that rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [David Heinemeier Hansson]
|
949
1283
|
|
950
|
-
* Added X-Runtime to all responses with the request run time [
|
1284
|
+
* Added X-Runtime to all responses with the request run time [David Heinemeier Hansson]
|
951
1285
|
|
952
|
-
* Add Mime::Type convenience methods to check the current mime type. [Rick]
|
1286
|
+
* Add Mime::Type convenience methods to check the current mime type. [Rick Olson]
|
953
1287
|
|
954
1288
|
request.format.html? # => true if Mime::HTML
|
955
1289
|
request.format.jpg? # => true if Mime::JPG
|
@@ -962,16 +1296,16 @@ Roos]
|
|
962
1296
|
|
963
1297
|
* Add a :url_based_filename => true option to ActionController::Streaming::send_file, which allows URL-based filenames. [Thomas Fuchs]
|
964
1298
|
|
965
|
-
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the onsubmit handler of its form if available [
|
1299
|
+
* Fix that FormTagHelper#submit_tag using :disable_with should trigger the onsubmit handler of its form if available [David Heinemeier Hansson]
|
966
1300
|
|
967
|
-
* Fix #render_file so that TemplateError is called with the correct params and you don't get the WSOD. [Rick]
|
1301
|
+
* Fix #render_file so that TemplateError is called with the correct params and you don't get the WSOD. [Rick Olson]
|
968
1302
|
|
969
1303
|
* Fix issue with deprecation messing up #template_root= usage. Add #prepend_view_path and #append_view_path to allow modification of a copy of the
|
970
|
-
superclass' view_paths. [Rick]
|
1304
|
+
superclass' view_paths. [Rick Olson]
|
971
1305
|
|
972
1306
|
* Allow Controllers to have multiple view_paths instead of a single template_root. Closes #2754 [John Long]
|
973
1307
|
|
974
|
-
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]
|
1308
|
+
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick Olson]
|
975
1309
|
|
976
1310
|
* improve error message for Routing for named routes. Closes #7346 [Rob Sanheim]
|
977
1311
|
|
@@ -979,15 +1313,15 @@ superclass' view_paths. [Rick]
|
|
979
1313
|
|
980
1314
|
* fix form_for example in ActionController::Resources documentation. Closes #7362 [gnarg]
|
981
1315
|
|
982
|
-
* Make sure that the string returned by TextHelper#truncate is actually a string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [
|
1316
|
+
* Make sure that the string returned by TextHelper#truncate is actually a string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [David Heinemeier Hansson]
|
983
1317
|
|
984
|
-
* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [
|
1318
|
+
* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [David Heinemeier Hansson]
|
985
1319
|
|
986
1320
|
* Allow Routes to generate all urls for a set of options by specifying :generate_all => true. Allows caching to properly set or expire all paths for a resource. References #1739. [Nicholas Seckar]
|
987
1321
|
|
988
1322
|
* Change the query parser to map empty GET params to "" rather than nil. Closes #5694. [Nicholas Seckar]
|
989
1323
|
|
990
|
-
* date_select and datetime_select take a :default option. #7052 [
|
1324
|
+
* date_select and datetime_select take a :default option. #7052 [Nik Wakelin]
|
991
1325
|
date_select "post", "written_on", :default => 3.days.from_now
|
992
1326
|
date_select "credit_card", "bill_due", :default => { :day => 20 }
|
993
1327
|
|
@@ -1003,7 +1337,7 @@ superclass' view_paths. [Rick]
|
|
1003
1337
|
|
1004
1338
|
* Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar]
|
1005
1339
|
|
1006
|
-
* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [
|
1340
|
+
* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [Anthony Eden]
|
1007
1341
|
|
1008
1342
|
* Fix overly greedy rescues when loading helpers. Fixes #6268. [Nicholas Seckar]
|
1009
1343
|
|
@@ -1023,7 +1357,7 @@ superclass' view_paths. [Rick]
|
|
1023
1357
|
|
1024
1358
|
* Fix #distance_of_time_in_words to report accurately against the Duration class. #7114 [eventualbuddha]
|
1025
1359
|
|
1026
|
-
* Refactor #form_tag to allow easy extending. [Rick]
|
1360
|
+
* Refactor #form_tag to allow easy extending. [Rick Olson]
|
1027
1361
|
|
1028
1362
|
* Update to Prototype 1.5.0. [Sam Stephenson]
|
1029
1363
|
|
@@ -1035,11 +1369,11 @@ superclass' view_paths. [Rick]
|
|
1035
1369
|
|
1036
1370
|
* Allow exempt_from_layout :rhtml. #6742, #7026 [Dan Manges, Squeegy]
|
1037
1371
|
|
1038
|
-
* Recognize the .txt extension as Mime::TEXT [Rick]
|
1372
|
+
* Recognize the .txt extension as Mime::TEXT [Rick Olson]
|
1039
1373
|
|
1040
1374
|
* Fix parsing of array[] CGI parameters so extra empty values aren't included. #6252 [Nicholas Seckar, aiwilliams, brentrowland]
|
1041
1375
|
|
1042
|
-
* link_to_unless_current works with full URLs as well as paths. #6891 [Jarkko Laine,
|
1376
|
+
* link_to_unless_current works with full URLs as well as paths. #6891 [Jarkko Laine, Manfred Stienstra, idrifter]
|
1043
1377
|
|
1044
1378
|
* Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. Closes #6941 [Josh Peek]
|
1045
1379
|
|
@@ -1085,7 +1419,7 @@ superclass' view_paths. [Rick]
|
|
1085
1419
|
|
1086
1420
|
* Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500. [Jeremy Kemper]
|
1087
1421
|
|
1088
|
-
* Improved auto_link to match more valid urls correctly [Tobias
|
1422
|
+
* Improved auto_link to match more valid urls correctly [Tobias Lütke]
|
1089
1423
|
|
1090
1424
|
* Add singleton resources. [Rick Olson]
|
1091
1425
|
|
@@ -1108,7 +1442,7 @@ superclass' view_paths. [Rick]
|
|
1108
1442
|
|
1109
1443
|
* Add :index and @auto_index capability to model driven date/time selects. #847, #2655 [moriq, Doug Fales, Bob Silva]
|
1110
1444
|
|
1111
|
-
* Add :order to datetime_select, select_datetime, and select_date. #1427 [Timothee Peignier,
|
1445
|
+
* Add :order to datetime_select, select_datetime, and select_date. #1427 [Timothee Peignier, Patrick Lenz, Bob Silva]
|
1112
1446
|
|
1113
1447
|
* Added time_select to work with time values in models. Update scaffolding. #2489, #2833 [Justin Palmer, Andre Caum, Bob Silva]
|
1114
1448
|
|
@@ -1118,15 +1452,15 @@ superclass' view_paths. [Rick]
|
|
1118
1452
|
|
1119
1453
|
* Adds :time_separator to select_time and :date_separator to select_datetime. Preserves BC. #3811 [Bob Silva]
|
1120
1454
|
|
1121
|
-
* Added map.root as an alias for map.connect '' [
|
1455
|
+
* Added map.root as an alias for map.connect '' [David Heinemeier Hansson]
|
1122
1456
|
|
1123
|
-
* Added Request#format to return the format used for the request as a mime type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [
|
1457
|
+
* Added Request#format to return the format used for the request as a mime type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [David Heinemeier Hansson]. Examples:
|
1124
1458
|
|
1125
1459
|
GET /posts/5.xml | request.format => Mime::XML
|
1126
1460
|
GET /posts/5.xhtml | request.format => Mime::HTML
|
1127
1461
|
GET /posts/5 | request.format => request.accepts.first (usually Mime::HTML for browsers)
|
1128
1462
|
|
1129
|
-
* Added the option for extension aliases to mime type registration [
|
1463
|
+
* Added the option for extension aliases to mime type registration [David Heinemeier Hansson]. Example (already in the default routes):
|
1130
1464
|
|
1131
1465
|
Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml )
|
1132
1466
|
|
@@ -1136,9 +1470,9 @@ superclass' view_paths. [Rick]
|
|
1136
1470
|
|
1137
1471
|
* Added CSV to Mime::SET so that respond_to csv will work [Cody Fauser]
|
1138
1472
|
|
1139
|
-
* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [
|
1473
|
+
* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [David Heinemeier Hansson]
|
1140
1474
|
|
1141
|
-
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [
|
1475
|
+
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [David Heinemeier Hansson]
|
1142
1476
|
|
1143
1477
|
* Update Routing to complain when :controller is not specified by a route. Closes #6669. [Nicholas Seckar]
|
1144
1478
|
|
@@ -1187,13 +1521,13 @@ superclass' view_paths. [Rick]
|
|
1187
1521
|
|
1188
1522
|
* Update to latest Prototype, which doesn't serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
|
1189
1523
|
|
1190
|
-
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from now on. [Rick]
|
1524
|
+
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from now on. [Rick Olson]
|
1191
1525
|
|
1192
|
-
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick]
|
1526
|
+
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick Olson]
|
1193
1527
|
|
1194
|
-
* Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs. [Rick]
|
1528
|
+
* Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs. [Rick Olson]
|
1195
1529
|
|
1196
|
-
* Added block-usage to TagHelper#content_tag [
|
1530
|
+
* Added block-usage to TagHelper#content_tag [David Heinemeier Hansson]. Example:
|
1197
1531
|
|
1198
1532
|
<% content_tag :div, :class => "strong" %>
|
1199
1533
|
Hello world!
|
@@ -1202,13 +1536,13 @@ superclass' view_paths. [Rick]
|
|
1202
1536
|
Will output:
|
1203
1537
|
<div class="strong">Hello world!</div>
|
1204
1538
|
|
1205
|
-
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [
|
1539
|
+
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [Bob Silva]
|
1206
1540
|
|
1207
|
-
* Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [
|
1541
|
+
* Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [Bob Silva]
|
1208
1542
|
|
1209
|
-
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash after assets #6454 [
|
1543
|
+
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash after assets #6454 [Bob Silva/chrismear]
|
1210
1544
|
|
1211
|
-
* Force *_url named routes to show the host in ActionView [Rick]
|
1545
|
+
* Force *_url named routes to show the host in ActionView [Rick Olson]
|
1212
1546
|
|
1213
1547
|
<%= url_for ... %> # no host
|
1214
1548
|
<%= foo_path %> # no host
|
@@ -1218,9 +1552,9 @@ superclass' view_paths. [Rick]
|
|
1218
1552
|
|
1219
1553
|
* Add JavaScriptGenerator#literal for wrapping a string in an object whose #to_json is the string itself. [Sam Stephenson]
|
1220
1554
|
|
1221
|
-
* Add <%= escape_once html %> to escape html while leaving any currently escaped entities alone. Fix button_to double-escaping issue. [Rick]
|
1555
|
+
* Add <%= escape_once html %> to escape html while leaving any currently escaped entities alone. Fix button_to double-escaping issue. [Rick Olson]
|
1222
1556
|
|
1223
|
-
* Fix double-escaped entities, such as &amp;, &#123;, etc. [Rick]
|
1557
|
+
* Fix double-escaped entities, such as &amp;, &#123;, etc. [Rick Olson]
|
1224
1558
|
|
1225
1559
|
* Fix deprecation warnings when rendering the template error template. [Nicholas Seckar]
|
1226
1560
|
|
@@ -1246,7 +1580,7 @@ superclass' view_paths. [Rick]
|
|
1246
1580
|
|
1247
1581
|
* Rename test assertion to prevent shadowing. Closes #6306. [psross]
|
1248
1582
|
|
1249
|
-
* Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits #6231 [
|
1583
|
+
* Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits #6231 [Philip Hallstrom]
|
1250
1584
|
|
1251
1585
|
* Fixed that FormHelper#radio_button didn't respect an :id being passed in #6266 [evansj]
|
1252
1586
|
|
@@ -1260,7 +1594,7 @@ superclass' view_paths. [Rick]
|
|
1260
1594
|
|
1261
1595
|
Which is needed for dealing with the IE6 DOM when it's not yet fully loaded.
|
1262
1596
|
|
1263
|
-
* Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [
|
1597
|
+
* Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [Mike Naberezny]
|
1264
1598
|
|
1265
1599
|
* Fixed escaping of backslashes in JavaScriptHelper#escape_javascript #6302 [sven@c3d2.de]
|
1266
1600
|
|
@@ -1301,7 +1635,7 @@ superclass' view_paths. [Rick]
|
|
1301
1635
|
|
1302
1636
|
* Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. Improves SCGI reliability. #3368, #6226 [sdsykes, fhanshaw@vesaria.com]
|
1303
1637
|
|
1304
|
-
* Added that respond_to blocks will automatically set the content type to be the same as is requested [
|
1638
|
+
* Added that respond_to blocks will automatically set the content type to be the same as is requested [David Heinemeier Hansson]. Examples:
|
1305
1639
|
|
1306
1640
|
respond_to do |format|
|
1307
1641
|
format.html { render :text => "I'm being sent as text/html" }
|
@@ -1309,9 +1643,9 @@ superclass' view_paths. [Rick]
|
|
1309
1643
|
format.atom { render :text => "I'm being sent as application/xml", :content_type => Mime::XML }
|
1310
1644
|
end
|
1311
1645
|
|
1312
|
-
* Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [
|
1646
|
+
* Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [David Heinemeier Hansson]
|
1313
1647
|
|
1314
|
-
* Added proper getters and setters for content type and charset [
|
1648
|
+
* Added proper getters and setters for content type and charset [David Heinemeier Hansson]. Example of what we used to do:
|
1315
1649
|
|
1316
1650
|
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
|
1317
1651
|
|
@@ -1346,7 +1680,7 @@ superclass' view_paths. [Rick]
|
|
1346
1680
|
|
1347
1681
|
* Load helpers in alphabetical order for consistency. Resolve cyclic javascript_helper dependency. #6132, #6178 [choonkeat@gmail.com]
|
1348
1682
|
|
1349
|
-
* Skip params with empty names, such as the &=Save query string from <input type="submit"/>. #2569 [
|
1683
|
+
* Skip params with empty names, such as the &=Save query string from <input type="submit"/>. #2569 [Manfred Stienstra, raphinou@yahoo.com]
|
1350
1684
|
|
1351
1685
|
* Fix assert_tag so that :content => "foo" does not match substrings, but only exact strings. Use :content => /foo/ to match substrings. #2799 [Eric Hodel]
|
1352
1686
|
|
@@ -1356,7 +1690,7 @@ superclass' view_paths. [Rick]
|
|
1356
1690
|
|
1357
1691
|
* Update UrlWriter to support :only_path. [Nicholas Seckar, Dave Thomas]
|
1358
1692
|
|
1359
|
-
* Fixed JavaScriptHelper#link_to_function and JavaScriptHelper#button_to_function to have the script argument be optional [
|
1693
|
+
* Fixed JavaScriptHelper#link_to_function and JavaScriptHelper#button_to_function to have the script argument be optional [David Heinemeier Hansson]. So what used to require a nil, like this:
|
1360
1694
|
|
1361
1695
|
link_to("Hider", nil, :class => "hider_link") { |p| p[:something].hide }
|
1362
1696
|
|
@@ -1377,7 +1711,7 @@ superclass' view_paths. [Rick]
|
|
1377
1711
|
|
1378
1712
|
* Fixed that AssetTagHelper#image_tag and others using compute_public_path should not modify the incoming source argument (closes #5102) [eule@space.ch]
|
1379
1713
|
|
1380
|
-
* Deprecated the auto-appending of .png to AssetTagHelper#image_tag calls that doesn't have an extension [
|
1714
|
+
* Deprecated the auto-appending of .png to AssetTagHelper#image_tag calls that doesn't have an extension [David Heinemeier Hansson]
|
1381
1715
|
|
1382
1716
|
* Fixed FormOptionsHelper#select to respect :selected value #5813
|
1383
1717
|
|
@@ -1387,16 +1721,16 @@ superclass' view_paths. [Rick]
|
|
1387
1721
|
|
1388
1722
|
* Improved resolution of DateHelper#distance_of_time_in_words for better precision #5994 [Bob Silva]
|
1389
1723
|
|
1390
|
-
* Changed that uncaught exceptions raised any where in the application will cause RAILS_ROOT/public/500.html to be read and shown instead of just the static "Application error (Rails)" [
|
1724
|
+
* Changed that uncaught exceptions raised any where in the application will cause RAILS_ROOT/public/500.html to be read and shown instead of just the static "Application error (Rails)" [David Heinemeier Hansson]
|
1391
1725
|
|
1392
1726
|
* Integration tests: thoroughly test ActionController::Integration::Session. #6022 [Kevin Clark]
|
1393
1727
|
(tests skipped unless you `gem install mocha`)
|
1394
1728
|
|
1395
|
-
* Added deprecation language for pagination which will become a plugin by Rails 2.0 [
|
1729
|
+
* Added deprecation language for pagination which will become a plugin by Rails 2.0 [David Heinemeier Hansson]
|
1396
1730
|
|
1397
|
-
* Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [
|
1731
|
+
* Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [David Heinemeier Hansson]
|
1398
1732
|
|
1399
|
-
* Deprecated all of ActionController::Dependencies. All dependency loading is now handled from Active Support [
|
1733
|
+
* Deprecated all of ActionController::Dependencies. All dependency loading is now handled from Active Support [David Heinemeier Hansson]
|
1400
1734
|
|
1401
1735
|
* Added assert_select* for CSS selector-based testing (deprecates assert_tag) #5936 [assaf.arkin@gmail.com]
|
1402
1736
|
|
@@ -1414,7 +1748,7 @@ superclass' view_paths. [Rick]
|
|
1414
1748
|
|
1415
1749
|
* Add routing tests to assert that RoutingError is raised when conditions aren't met. Closes #6016 [Nathan Witmer]
|
1416
1750
|
|
1417
|
-
* Deprecation: update docs. #5998 [
|
1751
|
+
* Deprecation: update docs. #5998 [Jakob Skjerning, Kevin Clark]
|
1418
1752
|
|
1419
1753
|
* Make auto_link parse a greater subset of valid url formats. [Jamis Buck]
|
1420
1754
|
|
@@ -1424,15 +1758,15 @@ superclass' view_paths. [Rick]
|
|
1424
1758
|
|
1425
1759
|
* Fix send_data documentation typo. #5982 [brad@madriska.com]
|
1426
1760
|
|
1427
|
-
* Switch to using FormEncodedPairParser for parsing request parameters. [Nicholas Seckar,
|
1761
|
+
* Switch to using FormEncodedPairParser for parsing request parameters. [Nicholas Seckar, David Heinemeier Hansson]
|
1428
1762
|
|
1429
|
-
* respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority. Custom mime types require a block and throw proper error now. [Tobias
|
1763
|
+
* respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority. Custom mime types require a block and throw proper error now. [Tobias Lütke]
|
1430
1764
|
|
1431
1765
|
* Deprecation: test deprecated instance vars in partials. [Jeremy Kemper]
|
1432
1766
|
|
1433
1767
|
* Add UrlWriter to allow writing urls from Mailers and scripts. [Nicholas Seckar]
|
1434
1768
|
|
1435
|
-
* Clean up and run the Active Record integration tests by default. #5854 [
|
1769
|
+
* Clean up and run the Active Record integration tests by default. #5854 [Kevin Clark, Jeremy Kemper]
|
1436
1770
|
|
1437
1771
|
* Correct example in cookies docs. #5832 [jessemerriman@warpmail.net]
|
1438
1772
|
|
@@ -1460,7 +1794,7 @@ superclass' view_paths. [Rick]
|
|
1460
1794
|
|
1461
1795
|
* Deprecation! @params, @session, @flash will be removed after 1.2. Use the corresponding instance methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly. [Jeremy Kemper]
|
1462
1796
|
|
1463
|
-
* Make Routing noisy when an anchor regexp is assigned to a segment. #5674 [
|
1797
|
+
* Make Routing noisy when an anchor regexp is assigned to a segment. #5674 [François Beausoleil]
|
1464
1798
|
|
1465
1799
|
* Added months and years to the resolution of DateHelper#distance_of_time_in_words, such that "60 days ago" becomes "2 months ago" #5611 [pjhyett@gmail.com]
|
1466
1800
|
|
@@ -1480,7 +1814,7 @@ superclass' view_paths. [Rick]
|
|
1480
1814
|
|
1481
1815
|
* Fixed the new_#{resource}_url route and added named route tests for Simply Restful. [Rick Olson]
|
1482
1816
|
|
1483
|
-
* Added map.resources from the Simply Restful plugin [
|
1817
|
+
* Added map.resources from the Simply Restful plugin [David Heinemeier Hansson]. Examples (the API has changed to use plurals!):
|
1484
1818
|
|
1485
1819
|
map.resources :messages
|
1486
1820
|
map.resources :messages, :comments
|
@@ -1488,13 +1822,13 @@ superclass' view_paths. [Rick]
|
|
1488
1822
|
|
1489
1823
|
* Fixed that integration simulation of XHRs should set Accept header as well [Edward Frederick]
|
1490
1824
|
|
1491
|
-
* TestRequest#reset_session should restore a TestSession, not a hash [
|
1825
|
+
* TestRequest#reset_session should restore a TestSession, not a hash [Michael Koziarski]
|
1492
1826
|
|
1493
1827
|
* Don't search a load-path of '.' for controller files [Jamis Buck]
|
1494
1828
|
|
1495
1829
|
* Update integration.rb to require test_process explicitly instead of via Dependencies. [Nicholas Seckar]
|
1496
1830
|
|
1497
|
-
* Fixed that you can still access the flash after the flash has been reset in reset_session. Closes #5584 [lmarlow
|
1831
|
+
* Fixed that you can still access the flash after the flash has been reset in reset_session. Closes #5584 [lmarlow]
|
1498
1832
|
|
1499
1833
|
* Allow form_for and fields_for to work with indexed form inputs. [Jeremy Kemper, Matt Lyon]
|
1500
1834
|
|
@@ -1503,13 +1837,13 @@ superclass' view_paths. [Rick]
|
|
1503
1837
|
|
1504
1838
|
* Remove leak in development mode by replacing define_method with module_eval. [Nicholas Seckar]
|
1505
1839
|
|
1506
|
-
* Provide support for decimal columns to form helpers. Closes #5672. [
|
1840
|
+
* Provide support for decimal columns to form helpers. Closes #5672. [Dave Thomas]
|
1507
1841
|
|
1508
1842
|
* Update documentation for erb trim syntax. #5651 [matt@mattmargolis.net]
|
1509
1843
|
|
1510
1844
|
* Pass :id => nil or :class => nil to error_messages_for to supress that html attribute. #3586 [olivier_ansaldi@yahoo.com, sebastien@goetzilla.info]
|
1511
1845
|
|
1512
|
-
* Reset @html_document between requests so assert_tag works. #4810 [
|
1846
|
+
* Reset @html_document between requests so assert_tag works. #4810 [Jarkko Laine, easleydp@gmail.com]
|
1513
1847
|
|
1514
1848
|
* Update render :partial documentation. #5646 [matt@mattmargolis.net]
|
1515
1849
|
|
@@ -1519,21 +1853,21 @@ superclass' view_paths. [Rick]
|
|
1519
1853
|
|
1520
1854
|
* Fixed that real files and symlinks should be treated the same when compiling templates #5438 [zachary@panandscan.com]
|
1521
1855
|
|
1522
|
-
* Fixed that the flash should be reset when reset_session is called #5584 [
|
1856
|
+
* Fixed that the flash should be reset when reset_session is called #5584 [Shugo Maeda]
|
1523
1857
|
|
1524
1858
|
* Added special case for "1 Byte" in NumberHelper#number_to_human_size #5593 [murpyh@rubychan.de]
|
1525
1859
|
|
1526
|
-
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [
|
1860
|
+
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [David Heinemeier Hansson]
|
1527
1861
|
|
1528
1862
|
* Add route_name_path method to generate only the path for a named routes. For example, map.person will add person_path. [Nicholas Seckar]
|
1529
1863
|
|
1530
1864
|
* Avoid naming collision among compiled view methods. [Jeremy Kemper]
|
1531
1865
|
|
1532
|
-
* Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [
|
1866
|
+
* Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [Mislav Marohnić]
|
1533
1867
|
|
1534
1868
|
* Determine the correct template_root for deeply nested components. #2841 [s.brink@web.de]
|
1535
1869
|
|
1536
|
-
* Fix that routes with *path segments in the recall can generate URLs. [Rick]
|
1870
|
+
* Fix that routes with *path segments in the recall can generate URLs. [Rick Olson]
|
1537
1871
|
|
1538
1872
|
* Fix strip_links so that it doesn't hang on multiline <acronym> tags [Jamis Buck]
|
1539
1873
|
|
@@ -1551,11 +1885,11 @@ superclass' view_paths. [Rick]
|
|
1551
1885
|
|
1552
1886
|
* Rewind readable CGI params so others may reread them (such as CGI::Session when passing the session id in a multipart form). #210 [mklame@atxeu.com, matthew@walker.wattle.id.au]
|
1553
1887
|
|
1554
|
-
* Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default types [
|
1888
|
+
* Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default types [David Heinemeier Hansson]
|
1555
1889
|
|
1556
|
-
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [
|
1890
|
+
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [David Heinemeier Hansson]. Example: Mime::Type.register("image/gif", :gif)
|
1557
1891
|
|
1558
|
-
* Added support for Mime objects in render :content_type option [
|
1892
|
+
* Added support for Mime objects in render :content_type option [David Heinemeier Hansson]. Example: render :text => some_atom, :content_type => Mime::ATOM
|
1559
1893
|
|
1560
1894
|
* Add :status option to send_data and send_file. Defaults to '200 OK'. #5243 [Manfred Stienstra <m.stienstra@fngtps.com>]
|
1561
1895
|
|
@@ -1569,7 +1903,7 @@ superclass' view_paths. [Rick]
|
|
1569
1903
|
|
1570
1904
|
* Accept multipart PUT parameters. #5235 [guy.naor@famundo.com]
|
1571
1905
|
|
1572
|
-
* Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [
|
1906
|
+
* Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [David Heinemeier Hansson]. Example:
|
1573
1907
|
|
1574
1908
|
class WeblogController < ActionController::Base
|
1575
1909
|
def index
|
@@ -1602,13 +1936,13 @@ superclass' view_paths. [Rick]
|
|
1602
1936
|
|
1603
1937
|
All this relies on the fact that you have a route that includes .:format.
|
1604
1938
|
|
1605
|
-
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [
|
1939
|
+
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [David Heinemeier Hansson]
|
1606
1940
|
|
1607
|
-
* Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [
|
1941
|
+
* Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [David Heinemeier Hansson]
|
1608
1942
|
|
1609
1943
|
* follow_redirect doesn't complain about being redirected to the same controller. #5153 [dymo@mk.ukrtelecom.ua]
|
1610
1944
|
|
1611
|
-
* Add layout attribute to response object with the name of the layout that was rendered, or nil if none rendered. [Kevin Clark
|
1945
|
+
* Add layout attribute to response object with the name of the layout that was rendered, or nil if none rendered. [Kevin Clark]
|
1612
1946
|
|
1613
1947
|
* Fix NoMethodError when parsing params like &&. [Adam Greenfield]
|
1614
1948
|
|
@@ -1618,7 +1952,7 @@ superclass' view_paths. [Rick]
|
|
1618
1952
|
|
1619
1953
|
* Excise ingrown code from FormOptionsHelper#options_for_select. #5008 [anonymous]
|
1620
1954
|
|
1621
|
-
* Small fix in routing to allow dynamic routes (broken after [4242]) [Rick]
|
1955
|
+
* Small fix in routing to allow dynamic routes (broken after [4242]) [Rick Olson]
|
1622
1956
|
|
1623
1957
|
map.connect '*path', :controller => 'files', :action => 'show'
|
1624
1958
|
|
@@ -1630,7 +1964,7 @@ superclass' view_paths. [Rick]
|
|
1630
1964
|
|
1631
1965
|
* Documentation fix: integration test scripts don't require integration_test. Closes #4914. [Frederick Ros <sl33p3r@free.fr>]
|
1632
1966
|
|
1633
|
-
* ActionController::Base Summary documentation rewrite. Closes #4900. [
|
1967
|
+
* ActionController::Base Summary documentation rewrite. Closes #4900. [Kevin Clark]
|
1634
1968
|
|
1635
1969
|
* Fix text_helper.rb documentation rendering. Closes #4725. [Frederick Ros]
|
1636
1970
|
|
@@ -1642,9 +1976,9 @@ superclass' view_paths. [Rick]
|
|
1642
1976
|
|
1643
1977
|
* Enhance documentation for setting headers in integration tests. Skip auto HTTP prepending when its already there. Closes #4079. [Rick Olson]
|
1644
1978
|
|
1645
|
-
* Documentation for AbstractRequest. Closes #4895. [
|
1979
|
+
* Documentation for AbstractRequest. Closes #4895. [Kevin Clark]
|
1646
1980
|
|
1647
|
-
* Refactor various InstanceTag instance method to class methods. Closes #4800. [
|
1981
|
+
* Refactor various InstanceTag instance method to class methods. Closes #4800. [Stefan Kaes]
|
1648
1982
|
|
1649
1983
|
* Remove all remaining references to @params in the documentation. [Marcel Molina Jr.]
|
1650
1984
|
|
@@ -1652,25 +1986,25 @@ superclass' view_paths. [Rick]
|
|
1652
1986
|
|
1653
1987
|
* Update layout and content_for documentation to use yield rather than magic @content_for instance variables. [Marcel Molina Jr.]
|
1654
1988
|
|
1655
|
-
* Fix assert_redirected_to tests according to real-world usage. Also, don't fail if you add an extra :controller option: [Rick]
|
1989
|
+
* Fix assert_redirected_to tests according to real-world usage. Also, don't fail if you add an extra :controller option: [Rick Olson]
|
1656
1990
|
|
1657
1991
|
redirect_to :action => 'new'
|
1658
1992
|
assert_redirected_to :controller => 'monkeys', :action => 'new'
|
1659
1993
|
|
1660
|
-
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse multipart data. [Rick]
|
1994
|
+
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse multipart data. [Rick Olson]
|
1661
1995
|
|
1662
|
-
* Diff compared routing options. Allow #assert_recognizes to take a second arg as a hash to specify optional request method [Rick]
|
1996
|
+
* Diff compared routing options. Allow #assert_recognizes to take a second arg as a hash to specify optional request method [Rick Olson]
|
1663
1997
|
|
1664
1998
|
assert_recognizes({:controller => 'users', :action => 'index'}, 'users')
|
1665
1999
|
assert_recognizes({:controller => 'users', :action => 'create'}, {:path => 'users', :method => :post})
|
1666
2000
|
|
1667
|
-
* Diff compared options with #assert_redirected_to [Rick]
|
2001
|
+
* Diff compared options with #assert_redirected_to [Rick Olson]
|
1668
2002
|
|
1669
2003
|
* Add support in routes for semicolon delimited "subpaths", like /books/:id;:action [Jamis Buck]
|
1670
2004
|
|
1671
2005
|
* Change link_to_function and button_to_function to (optionally) take an update_page block instead of a JavaScript string. Closes #4804. [zraii@comcast.net, Sam Stephenson]
|
1672
2006
|
|
1673
|
-
* Fixed that remote_form_for can leave out the object parameter and default to the instance variable of the object_name, just like form_for [
|
2007
|
+
* Fixed that remote_form_for can leave out the object parameter and default to the instance variable of the object_name, just like form_for [David Heinemeier Hansson]
|
1674
2008
|
|
1675
2009
|
* Modify routing so that you can say :require => { :method => :post } for a route, and the route will never be selected unless the request method is POST. Only works for route recognition, not for route generation. [Jamis Buck]
|
1676
2010
|
|
@@ -1686,14 +2020,14 @@ superclass' view_paths. [Rick]
|
|
1686
2020
|
|
1687
2021
|
* Apply [5709] to stable.
|
1688
2022
|
|
1689
|
-
* session_enabled? works with session :off. #6680 [
|
2023
|
+
* session_enabled? works with session :off. #6680 [Jonathan del Strother]
|
1690
2024
|
|
1691
2025
|
* Performance: patch cgi/session to require digest/md5 once rather than per #create_new_id. [Stefan Kaes]
|
1692
2026
|
|
1693
2027
|
|
1694
2028
|
*1.13.2* (February 5th, 2007)
|
1695
2029
|
|
1696
|
-
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]
|
2030
|
+
* Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick Olson]
|
1697
2031
|
|
1698
2032
|
* improve error message for Routing for named routes. [Rob Sanheim]
|
1699
2033
|
|
@@ -1715,7 +2049,7 @@ superclass' view_paths. [Rick]
|
|
1715
2049
|
|
1716
2050
|
* Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268. [imajes]
|
1717
2051
|
|
1718
|
-
* Improved auto_link to match more valid urls correctly [Tobias
|
2052
|
+
* Improved auto_link to match more valid urls correctly [Tobias Lütke]
|
1719
2053
|
|
1720
2054
|
|
1721
2055
|
*1.13.1* (January 18th, 2007)
|
@@ -1731,11 +2065,11 @@ superclass' view_paths. [Rick]
|
|
1731
2065
|
|
1732
2066
|
* Update to Prototype 1.5.0. [Sam Stephenson]
|
1733
2067
|
|
1734
|
-
* Allow exempt_from_layout :rhtml. #6742, #7026 [
|
2068
|
+
* Allow exempt_from_layout :rhtml. #6742, #7026 [Dan Manges, Squeegy]
|
1735
2069
|
|
1736
2070
|
* Fix parsing of array[] CGI parameters so extra empty values aren't included. #6252 [Nicholas Seckar, aiwilliams, brentrowland]
|
1737
2071
|
|
1738
|
-
* link_to_unless_current works with full URLs as well as paths. #6891 [Jarkko Laine,
|
2072
|
+
* link_to_unless_current works with full URLs as well as paths. #6891 [Jarkko Laine, Manfred Stienstra, idrifter]
|
1739
2073
|
|
1740
2074
|
* Fix HTML::Node to output double quotes instead of single quotes. Closes #6845 [mitreandy]
|
1741
2075
|
|
@@ -1777,7 +2111,7 @@ superclass' view_paths. [Rick]
|
|
1777
2111
|
|
1778
2112
|
* Add :index and @auto_index capability to model driven date/time selects. #847, #2655 [moriq, Doug Fales, Bob Silva]
|
1779
2113
|
|
1780
|
-
* Add :order to datetime_select, select_datetime, and select_date. #1427 [Timothee Peignier,
|
2114
|
+
* Add :order to datetime_select, select_datetime, and select_date. #1427 [Timothee Peignier, Patrick Lenz, Bob Silva]
|
1781
2115
|
|
1782
2116
|
* Added time_select to work with time values in models. Update scaffolding. #2489, #2833 [Justin Palmer, Andre Caum, Bob Silva]
|
1783
2117
|
|
@@ -1789,9 +2123,9 @@ superclass' view_paths. [Rick]
|
|
1789
2123
|
|
1790
2124
|
* @response.redirect_url works with 201 Created responses: just return headers['Location'] rather than checking the response status. [Jeremy Kemper]
|
1791
2125
|
|
1792
|
-
* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [
|
2126
|
+
* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [David Heinemeier Hansson]
|
1793
2127
|
|
1794
|
-
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [
|
2128
|
+
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [David Heinemeier Hansson]
|
1795
2129
|
|
1796
2130
|
|
1797
2131
|
*1.13.0 RC1* (r5619, November 22nd, 2006)
|
@@ -1831,13 +2165,13 @@ superclass' view_paths. [Rick]
|
|
1831
2165
|
|
1832
2166
|
* Deprecate expire_matched_fragments. Use expire_fragment instead. #6535 [Bob Silva]
|
1833
2167
|
|
1834
|
-
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from now on. [Rick]
|
2168
|
+
* Deprecate start_form_tag and end_form_tag. Use form_tag / '</form>' from now on. [Rick Olson]
|
1835
2169
|
|
1836
|
-
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick]
|
2170
|
+
* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick Olson]
|
1837
2171
|
|
1838
|
-
* Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs. [Rick]
|
2172
|
+
* Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs. [Rick Olson]
|
1839
2173
|
|
1840
|
-
* Added block-usage to TagHelper#content_tag [
|
2174
|
+
* Added block-usage to TagHelper#content_tag [David Heinemeier Hansson]. Example:
|
1841
2175
|
|
1842
2176
|
<% content_tag :div, :class => "strong" %>
|
1843
2177
|
Hello world!
|
@@ -1846,13 +2180,13 @@ superclass' view_paths. [Rick]
|
|
1846
2180
|
Will output:
|
1847
2181
|
<div class="strong">Hello world!</div>
|
1848
2182
|
|
1849
|
-
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [
|
2183
|
+
* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [Bob Silva]
|
1850
2184
|
|
1851
|
-
* Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [
|
2185
|
+
* Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [Bob Silva]
|
1852
2186
|
|
1853
|
-
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash after assets #6454 [
|
2187
|
+
* Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash after assets #6454 [Bob Silva/chrismear]
|
1854
2188
|
|
1855
|
-
* Force *_url named routes to show the host in ActionView [Rick]
|
2189
|
+
* Force *_url named routes to show the host in ActionView [Rick Olson]
|
1856
2190
|
|
1857
2191
|
<%= url_for ... %> # no host
|
1858
2192
|
<%= foo_path %> # no host
|
@@ -1862,9 +2196,9 @@ superclass' view_paths. [Rick]
|
|
1862
2196
|
|
1863
2197
|
* Add JavaScriptGenerator#literal for wrapping a string in an object whose #to_json is the string itself. [Sam Stephenson]
|
1864
2198
|
|
1865
|
-
* Add <%= escape_once html %> to escape html while leaving any currently escaped entities alone. Fix button_to double-escaping issue. [Rick]
|
2199
|
+
* Add <%= escape_once html %> to escape html while leaving any currently escaped entities alone. Fix button_to double-escaping issue. [Rick Olson]
|
1866
2200
|
|
1867
|
-
* Fix double-escaped entities, such as &amp;, &#123;, etc. [Rick]
|
2201
|
+
* Fix double-escaped entities, such as &amp;, &#123;, etc. [Rick Olson]
|
1868
2202
|
|
1869
2203
|
* Fix routing to correctly determine when generation fails. Closes #6300. [psross].
|
1870
2204
|
|
@@ -1884,7 +2218,7 @@ superclass' view_paths. [Rick]
|
|
1884
2218
|
|
1885
2219
|
* Rename test assertion to prevent shadowing. Closes #6306. [psross]
|
1886
2220
|
|
1887
|
-
* Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits #6231 [
|
2221
|
+
* Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits #6231 [Philip Hallstrom]
|
1888
2222
|
|
1889
2223
|
* Fixed that FormHelper#radio_button didn't respect an :id being passed in #6266 [evansj]
|
1890
2224
|
|
@@ -1898,7 +2232,7 @@ superclass' view_paths. [Rick]
|
|
1898
2232
|
|
1899
2233
|
Which is needed for dealing with the IE6 DOM when it's not yet fully loaded.
|
1900
2234
|
|
1901
|
-
* Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [
|
2235
|
+
* Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [Mike Naberezny]
|
1902
2236
|
|
1903
2237
|
* Fixed escaping of backslashes in JavaScriptHelper#escape_javascript #6302 [sven@c3d2.de]
|
1904
2238
|
|
@@ -1937,7 +2271,7 @@ superclass' view_paths. [Rick]
|
|
1937
2271
|
|
1938
2272
|
* Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. Improves SCGI reliability. #3368, #6226 [sdsykes, fhanshaw@vesaria.com]
|
1939
2273
|
|
1940
|
-
* Added that respond_to blocks will automatically set the content type to be the same as is requested [
|
2274
|
+
* Added that respond_to blocks will automatically set the content type to be the same as is requested [David Heinemeier Hansson]. Examples:
|
1941
2275
|
|
1942
2276
|
respond_to do |format|
|
1943
2277
|
format.html { render :text => "I'm being sent as text/html" }
|
@@ -1945,9 +2279,9 @@ superclass' view_paths. [Rick]
|
|
1945
2279
|
format.atom { render :text => "I'm being sent as application/xml", :content_type => Mime::XML }
|
1946
2280
|
end
|
1947
2281
|
|
1948
|
-
* Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [
|
2282
|
+
* Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [David Heinemeier Hansson]
|
1949
2283
|
|
1950
|
-
* Added proper getters and setters for content type and charset [
|
2284
|
+
* Added proper getters and setters for content type and charset [David Heinemeier Hansson]. Example of what we used to do:
|
1951
2285
|
|
1952
2286
|
response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
|
1953
2287
|
|
@@ -1976,7 +2310,7 @@ superclass' view_paths. [Rick]
|
|
1976
2310
|
|
1977
2311
|
* Load helpers in alphabetical order for consistency. Resolve cyclic javascript_helper dependency. #6132, #6178 [choonkeat@gmail.com]
|
1978
2312
|
|
1979
|
-
* Skip params with empty names, such as the &=Save query string from <input type="submit"/>. #2569 [
|
2313
|
+
* Skip params with empty names, such as the &=Save query string from <input type="submit"/>. #2569 [Manfred Stienstra, raphinou@yahoo.com]
|
1980
2314
|
|
1981
2315
|
* Fix assert_tag so that :content => "foo" does not match substrings, but only exact strings. Use :content => /foo/ to match substrings. #2799 [Eric Hodel]
|
1982
2316
|
|
@@ -1984,7 +2318,7 @@ superclass' view_paths. [Rick]
|
|
1984
2318
|
|
1985
2319
|
* Update UrlWriter to support :only_path. [Nicholas Seckar, Dave Thomas]
|
1986
2320
|
|
1987
|
-
* Fixed JavaScriptHelper#link_to_function and JavaScriptHelper#button_to_function to have the script argument be optional [
|
2321
|
+
* Fixed JavaScriptHelper#link_to_function and JavaScriptHelper#button_to_function to have the script argument be optional [David Heinemeier Hansson]. So what used to require a nil, like this:
|
1988
2322
|
|
1989
2323
|
link_to("Hider", nil, :class => "hider_link") { |p| p[:something].hide }
|
1990
2324
|
|
@@ -2001,7 +2335,7 @@ superclass' view_paths. [Rick]
|
|
2001
2335
|
|
2002
2336
|
* Fixed that AssetTagHelper#image_tag and others using compute_public_path should not modify the incoming source argument (closes #5102) [eule@space.ch]
|
2003
2337
|
|
2004
|
-
* Deprecated the auto-appending of .png to AssetTagHelper#image_tag calls that doesn't have an extension [
|
2338
|
+
* Deprecated the auto-appending of .png to AssetTagHelper#image_tag calls that doesn't have an extension [David Heinemeier Hansson]
|
2005
2339
|
|
2006
2340
|
* Fixed FormOptionsHelper#select to respect :selected value #5813
|
2007
2341
|
|
@@ -2011,13 +2345,13 @@ superclass' view_paths. [Rick]
|
|
2011
2345
|
|
2012
2346
|
* Improved resolution of DateHelper#distance_of_time_in_words for better precision #5994 [Bob Silva]
|
2013
2347
|
|
2014
|
-
* Changed that uncaught exceptions raised any where in the application will cause RAILS_ROOT/public/500.html to be read and shown instead of just the static "Application error (Rails)" [
|
2348
|
+
* Changed that uncaught exceptions raised any where in the application will cause RAILS_ROOT/public/500.html to be read and shown instead of just the static "Application error (Rails)" [David Heinemeier Hansson]
|
2015
2349
|
|
2016
|
-
* Added deprecation language for pagination which will become a plugin by Rails 2.0 [
|
2350
|
+
* Added deprecation language for pagination which will become a plugin by Rails 2.0 [David Heinemeier Hansson]
|
2017
2351
|
|
2018
|
-
* Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [
|
2352
|
+
* Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [David Heinemeier Hansson]
|
2019
2353
|
|
2020
|
-
* Deprecated all of ActionController::Dependencies. All dependency loading is now handled from Active Support [
|
2354
|
+
* Deprecated all of ActionController::Dependencies. All dependency loading is now handled from Active Support [David Heinemeier Hansson]
|
2021
2355
|
|
2022
2356
|
* Added assert_select* for CSS selector-based testing (deprecates assert_tag) #5936 [assaf.arkin@gmail.com]
|
2023
2357
|
|
@@ -2037,9 +2371,9 @@ superclass' view_paths. [Rick]
|
|
2037
2371
|
|
2038
2372
|
* Integration tests: headers beginning with X aren't excluded from the HTTP_ prefix, so X-Requested-With becomes HTTP_X_REQUESTED_WITH as expected. [Mike Clark]
|
2039
2373
|
|
2040
|
-
* Switch to using FormEncodedPairParser for parsing request parameters. [Nicholas Seckar,
|
2374
|
+
* Switch to using FormEncodedPairParser for parsing request parameters. [Nicholas Seckar, David Heinemeier Hansson]
|
2041
2375
|
|
2042
|
-
* respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority. Custom mime types require a block and throw proper error now. [Tobias
|
2376
|
+
* respond_to .html now always renders #{action_name}.rhtml so that registered custom template handlers do not override it in priority. Custom mime types require a block and throw proper error now. [Tobias Lütke]
|
2043
2377
|
|
2044
2378
|
* Deprecation: test deprecated instance vars in partials. [Jeremy Kemper]
|
2045
2379
|
|
@@ -2065,7 +2399,7 @@ superclass' view_paths. [Rick]
|
|
2065
2399
|
|
2066
2400
|
* Deprecation! @params, @session, @flash will be removed after 1.2. Use the corresponding instance methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly. [Jeremy Kemper]
|
2067
2401
|
|
2068
|
-
* Make Routing noisy when an anchor regexp is assigned to a segment. #5674 [
|
2402
|
+
* Make Routing noisy when an anchor regexp is assigned to a segment. #5674 [François Beausoleil]
|
2069
2403
|
|
2070
2404
|
* Added months and years to the resolution of DateHelper#distance_of_time_in_words, such that "60 days ago" becomes "2 months ago" #5611 [pjhyett@gmail.com]
|
2071
2405
|
|
@@ -2079,7 +2413,7 @@ superclass' view_paths. [Rick]
|
|
2079
2413
|
|
2080
2414
|
* Fixed the new_#{resource}_url route and added named route tests for Simply Restful. [Rick Olson]
|
2081
2415
|
|
2082
|
-
* Added map.resources from the Simply Restful plugin [
|
2416
|
+
* Added map.resources from the Simply Restful plugin [David Heinemeier Hansson]. Examples (the API has changed to use plurals!):
|
2083
2417
|
|
2084
2418
|
map.resources :messages
|
2085
2419
|
map.resources :messages, :comments
|
@@ -2087,13 +2421,13 @@ superclass' view_paths. [Rick]
|
|
2087
2421
|
|
2088
2422
|
* Fixed that integration simulation of XHRs should set Accept header as well [Edward Frederick]
|
2089
2423
|
|
2090
|
-
* TestRequest#reset_session should restore a TestSession, not a hash [
|
2424
|
+
* TestRequest#reset_session should restore a TestSession, not a hash [Michael Koziarski]
|
2091
2425
|
|
2092
2426
|
* Don't search a load-path of '.' for controller files [Jamis Buck]
|
2093
2427
|
|
2094
2428
|
* Update integration.rb to require test_process explicitly instead of via Dependencies. [Nicholas Seckar]
|
2095
2429
|
|
2096
|
-
* Fixed that you can still access the flash after the flash has been reset in reset_session. Closes #5584 [lmarlow
|
2430
|
+
* Fixed that you can still access the flash after the flash has been reset in reset_session. Closes #5584 [lmarlow]
|
2097
2431
|
|
2098
2432
|
* Allow form_for and fields_for to work with indexed form inputs. [Jeremy Kemper, Matt Lyon]
|
2099
2433
|
|
@@ -2102,11 +2436,11 @@ superclass' view_paths. [Rick]
|
|
2102
2436
|
|
2103
2437
|
* Remove leak in development mode by replacing define_method with module_eval. [Nicholas Seckar]
|
2104
2438
|
|
2105
|
-
* Provide support for decimal columns to form helpers. Closes #5672. [
|
2439
|
+
* Provide support for decimal columns to form helpers. Closes #5672. [Dave Thomas]
|
2106
2440
|
|
2107
2441
|
* Pass :id => nil or :class => nil to error_messages_for to supress that html attribute. #3586 [olivier_ansaldi@yahoo.com, sebastien@goetzilla.info]
|
2108
2442
|
|
2109
|
-
* Reset @html_document between requests so assert_tag works. #4810 [
|
2443
|
+
* Reset @html_document between requests so assert_tag works. #4810 [Jarkko Laine, easleydp@gmail.com]
|
2110
2444
|
|
2111
2445
|
* Integration tests behave well with render_component. #4632 [edward.frederick@revolution.com, dev.rubyonrails@maxdunn.com]
|
2112
2446
|
|
@@ -2114,21 +2448,21 @@ superclass' view_paths. [Rick]
|
|
2114
2448
|
|
2115
2449
|
* Fixed that real files and symlinks should be treated the same when compiling templates #5438 [zachary@panandscan.com]
|
2116
2450
|
|
2117
|
-
* Fixed that the flash should be reset when reset_session is called #5584 [
|
2451
|
+
* Fixed that the flash should be reset when reset_session is called #5584 [Shugo Maeda]
|
2118
2452
|
|
2119
2453
|
* Added special case for "1 Byte" in NumberHelper#number_to_human_size #5593 [murpyh@rubychan.de]
|
2120
2454
|
|
2121
|
-
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [
|
2455
|
+
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [David Heinemeier Hansson]
|
2122
2456
|
|
2123
2457
|
* Add route_name_path method to generate only the path for a named routes. For example, map.person will add person_path. [Nicholas Seckar]
|
2124
2458
|
|
2125
2459
|
* Avoid naming collision among compiled view methods. [Jeremy Kemper]
|
2126
2460
|
|
2127
|
-
* Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [
|
2461
|
+
* Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [Mislav Marohnić]
|
2128
2462
|
|
2129
2463
|
* Determine the correct template_root for deeply nested components. #2841 [s.brink@web.de]
|
2130
2464
|
|
2131
|
-
* Fix that routes with *path segments in the recall can generate URLs. [Rick]
|
2465
|
+
* Fix that routes with *path segments in the recall can generate URLs. [Rick Olson]
|
2132
2466
|
|
2133
2467
|
* Fix strip_links so that it doesn't hang on multiline <acronym> tags [Jamis Buck]
|
2134
2468
|
|
@@ -2144,11 +2478,11 @@ superclass' view_paths. [Rick]
|
|
2144
2478
|
|
2145
2479
|
* Rewind readable CGI params so others may reread them (such as CGI::Session when passing the session id in a multipart form). #210 [mklame@atxeu.com, matthew@walker.wattle.id.au]
|
2146
2480
|
|
2147
|
-
* Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default types [
|
2481
|
+
* Added Mime::TEXT (text/plain) and Mime::ICS (text/calendar) as new default types [David Heinemeier Hansson]
|
2148
2482
|
|
2149
|
-
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [
|
2483
|
+
* Added Mime::Type.register(string, symbol, synonyms = []) for adding new custom mime types [David Heinemeier Hansson]. Example: Mime::Type.register("image/gif", :gif)
|
2150
2484
|
|
2151
|
-
* Added support for Mime objects in render :content_type option [
|
2485
|
+
* Added support for Mime objects in render :content_type option [David Heinemeier Hansson]. Example: render :text => some_atom, :content_type => Mime::ATOM
|
2152
2486
|
|
2153
2487
|
* Add :status option to send_data and send_file. Defaults to '200 OK'. #5243 [Manfred Stienstra <m.stienstra@fngtps.com>]
|
2154
2488
|
|
@@ -2162,7 +2496,7 @@ superclass' view_paths. [Rick]
|
|
2162
2496
|
|
2163
2497
|
* Accept multipart PUT parameters. #5235 [guy.naor@famundo.com]
|
2164
2498
|
|
2165
|
-
* Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [
|
2499
|
+
* Added interrogation of params[:format] to determine Accept type. If :format is specified and matches a declared extension, like "rss" or "xml", that mime type will be put in front of the accept handler. This means you can link to the same action from different extensions and use that fact to determine output [David Heinemeier Hansson]. Example:
|
2166
2500
|
|
2167
2501
|
class WeblogController < ActionController::Base
|
2168
2502
|
def index
|
@@ -2195,13 +2529,13 @@ superclass' view_paths. [Rick]
|
|
2195
2529
|
|
2196
2530
|
All this relies on the fact that you have a route that includes .:format.
|
2197
2531
|
|
2198
|
-
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [
|
2532
|
+
* Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [David Heinemeier Hansson]
|
2199
2533
|
|
2200
|
-
* Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [
|
2534
|
+
* Added :method option to UrlHelper#link_to, which allows for using other verbs than GET for the link. This replaces the :post option, which is now deprecated. Example: link_to "Destroy", person_url(:id => person), :method => :delete [David Heinemeier Hansson]
|
2201
2535
|
|
2202
2536
|
* follow_redirect doesn't complain about being redirected to the same controller. #5153 [dymo@mk.ukrtelecom.ua]
|
2203
2537
|
|
2204
|
-
* Add layout attribute to response object with the name of the layout that was rendered, or nil if none rendered. [Kevin Clark
|
2538
|
+
* Add layout attribute to response object with the name of the layout that was rendered, or nil if none rendered. [Kevin Clark]
|
2205
2539
|
|
2206
2540
|
* Fix NoMethodError when parsing params like &&. [Adam Greenfield]
|
2207
2541
|
|
@@ -2209,7 +2543,7 @@ superclass' view_paths. [Rick]
|
|
2209
2543
|
|
2210
2544
|
* Excise ingrown code from FormOptionsHelper#options_for_select. #5008 [anonymous]
|
2211
2545
|
|
2212
|
-
* Small fix in routing to allow dynamic routes (broken after [4242]) [Rick]
|
2546
|
+
* Small fix in routing to allow dynamic routes (broken after [4242]) [Rick Olson]
|
2213
2547
|
|
2214
2548
|
map.connect '*path', :controller => 'files', :action => 'show'
|
2215
2549
|
|
@@ -2219,17 +2553,17 @@ superclass' view_paths. [Rick]
|
|
2219
2553
|
|
2220
2554
|
error_messages_for :account, :user, :subscription, :object_name => :account
|
2221
2555
|
|
2222
|
-
* Fix assert_redirected_to tests according to real-world usage. Also, don't fail if you add an extra :controller option: [Rick]
|
2556
|
+
* Fix assert_redirected_to tests according to real-world usage. Also, don't fail if you add an extra :controller option: [Rick Olson]
|
2223
2557
|
|
2224
2558
|
redirect_to :action => 'new'
|
2225
2559
|
assert_redirected_to :controller => 'monkeys', :action => 'new'
|
2226
2560
|
|
2227
|
-
* Diff compared routing options. Allow #assert_recognizes to take a second arg as a hash to specify optional request method [Rick]
|
2561
|
+
* Diff compared routing options. Allow #assert_recognizes to take a second arg as a hash to specify optional request method [Rick Olson]
|
2228
2562
|
|
2229
2563
|
assert_recognizes({:controller => 'users', :action => 'index'}, 'users')
|
2230
2564
|
assert_recognizes({:controller => 'users', :action => 'create'}, {:path => 'users', :method => :post})
|
2231
2565
|
|
2232
|
-
* Diff compared options with #assert_redirected_to [Rick]
|
2566
|
+
* Diff compared options with #assert_redirected_to [Rick Olson]
|
2233
2567
|
|
2234
2568
|
* Add support in routes for semicolon delimited "subpaths", like /books/:id;:action [Jamis Buck]
|
2235
2569
|
|
@@ -2250,9 +2584,9 @@ superclass' view_paths. [Rick]
|
|
2250
2584
|
|
2251
2585
|
*1.12.4* (August 8th, 2006)
|
2252
2586
|
|
2253
|
-
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse multipart data. [Rick]
|
2587
|
+
* Cache CgiRequest#request_parameters so that multiple calls don't re-parse multipart data. [Rick Olson]
|
2254
2588
|
|
2255
|
-
* Fixed that remote_form_for can leave out the object parameter and default to the instance variable of the object_name, just like form_for [
|
2589
|
+
* Fixed that remote_form_for can leave out the object parameter and default to the instance variable of the object_name, just like form_for [David Heinemeier Hansson]
|
2256
2590
|
|
2257
2591
|
* Added ActionController.filter_parameter_logging that makes it easy to remove passwords, credit card numbers, and other sensitive information from being logged when a request is handled. #1897 [jeremye@bsa.ca.gov]
|
2258
2592
|
|
@@ -2293,7 +2627,7 @@ superclass' view_paths. [Rick]
|
|
2293
2627
|
|
2294
2628
|
* Update the diagnostics template skip the useless '<controller not set>' text. [Nicholas Seckar]
|
2295
2629
|
|
2296
|
-
* CHANGED DEFAULT: Don't parse YAML input by default, but keep it available as an easy option [
|
2630
|
+
* CHANGED DEFAULT: Don't parse YAML input by default, but keep it available as an easy option [David Heinemeier Hansson]
|
2297
2631
|
|
2298
2632
|
* Add additional autocompleter options [aballai, Thomas Fuchs]
|
2299
2633
|
|
@@ -2301,7 +2635,7 @@ superclass' view_paths. [Rick]
|
|
2301
2635
|
|
2302
2636
|
* Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
|
2303
2637
|
|
2304
|
-
* Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [
|
2638
|
+
* Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [David Heinemeier Hansson]. Example:
|
2305
2639
|
|
2306
2640
|
image_tag("rails.png") # => '<img alt="Rails" src="/images/rails.png?1143664135" />'
|
2307
2641
|
|
@@ -2335,9 +2669,9 @@ superclass' view_paths. [Rick]
|
|
2335
2669
|
|
2336
2670
|
* Fix double url escaping of remote_function. Add :escape => false option to ActionView's url_for. [Nicholas Seckar]
|
2337
2671
|
|
2338
|
-
* Add :script option to in_place_editor to support evalScripts (closes #4194) [
|
2672
|
+
* Add :script option to in_place_editor to support evalScripts (closes #4194) [Cody Fauser]
|
2339
2673
|
|
2340
|
-
* Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes #4314) [
|
2674
|
+
* Fix mixed case enumerable methods in the JavaScript Collection Proxy (closes #4314) [Cody Fauser]
|
2341
2675
|
|
2342
2676
|
* Undo accidental escaping for mail_to; add regression test. [Nicholas Seckar]
|
2343
2677
|
|
@@ -2372,9 +2706,9 @@ superclass' view_paths. [Rick]
|
|
2372
2706
|
|
2373
2707
|
* XML-formatted requests are typecast according to "type" attributes for :xml_simple [Jamis Buck]
|
2374
2708
|
|
2375
|
-
* Added protection against proxy setups treating requests as local even when they're not #3898 [
|
2709
|
+
* Added protection against proxy setups treating requests as local even when they're not #3898 [Steve Purcell]
|
2376
2710
|
|
2377
|
-
* Added TestRequest#raw_post that simulate raw_post from CgiRequest #3042 [
|
2711
|
+
* Added TestRequest#raw_post that simulate raw_post from CgiRequest #3042 [François Beausoleil]
|
2378
2712
|
|
2379
2713
|
* Underscore dasherized keys in formatted requests [Jamis Buck]
|
2380
2714
|
|
@@ -2390,11 +2724,11 @@ superclass' view_paths. [Rick]
|
|
2390
2724
|
|
2391
2725
|
* Added simple alert() notifications for RJS exceptions when config.action_view.debug_rjs = true. [Sam Stephenson]
|
2392
2726
|
|
2393
|
-
* Added :content_type option to render, so you can change the content type on the fly [
|
2727
|
+
* Added :content_type option to render, so you can change the content type on the fly [David Heinemeier Hansson]. Example: render :action => "atom.rxml", :content_type => "application/atom+xml"
|
2394
2728
|
|
2395
|
-
* CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason [
|
2729
|
+
* CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason [David Heinemeier Hansson]
|
2396
2730
|
|
2397
|
-
* Added option to render action/template/file of a specific extension (and here by template type). This means you can have multiple templates with the same name but a different extension [
|
2731
|
+
* Added option to render action/template/file of a specific extension (and here by template type). This means you can have multiple templates with the same name but a different extension [David Heinemeier Hansson]. Example:
|
2398
2732
|
|
2399
2733
|
class WeblogController < ActionController::Base
|
2400
2734
|
def index
|
@@ -2408,7 +2742,7 @@ superclass' view_paths. [Rick]
|
|
2408
2742
|
end
|
2409
2743
|
end
|
2410
2744
|
|
2411
|
-
* Added better support for using the same actions to output for different sources depending on the Accept header [
|
2745
|
+
* Added better support for using the same actions to output for different sources depending on the Accept header [David Heinemeier Hansson]. Example:
|
2412
2746
|
|
2413
2747
|
class WeblogController < ActionController::Base
|
2414
2748
|
def create
|
@@ -2425,9 +2759,9 @@ superclass' view_paths. [Rick]
|
|
2425
2759
|
end
|
2426
2760
|
end
|
2427
2761
|
|
2428
|
-
* Added Base#render(:xml => xml) that works just like Base#render(:text => text), but sets the content-type to text/xml and the charset to UTF-8 [
|
2762
|
+
* Added Base#render(:xml => xml) that works just like Base#render(:text => text), but sets the content-type to text/xml and the charset to UTF-8 [David Heinemeier Hansson]
|
2429
2763
|
|
2430
|
-
* Integration test's url_for now runs in the context of the last request (if any) so after post /products/show/1 url_for :action => 'new' will yield /product/new [Tobias
|
2764
|
+
* Integration test's url_for now runs in the context of the last request (if any) so after post /products/show/1 url_for :action => 'new' will yield /product/new [Tobias Lütke]
|
2431
2765
|
|
2432
2766
|
* Re-added mixed-in helper methods for the JavascriptGenerator. Moved JavascriptGenerators methods to a module that is mixed in after the helpers are added. Also fixed that variables set in the enumeration methods like #collect are set correctly. Documentation added for the enumeration methods [Rick Olson]. Examples:
|
2433
2767
|
|
@@ -2447,7 +2781,7 @@ superclass' view_paths. [Rick]
|
|
2447
2781
|
# Assign the default XmlSimple to a new content type
|
2448
2782
|
ActionController::Base.param_parsers['application/backpack+xml'] = :xml_simple
|
2449
2783
|
|
2450
|
-
Default YAML web services were retired, ActionController::Base.param_parsers carries an example which shows how to get this functionality back. As part of this new plugin support, request.[formatted_post?, xml_post?, yaml_post? and post_format] were all deprecated in favor of request.content_type [Tobias
|
2784
|
+
Default YAML web services were retired, ActionController::Base.param_parsers carries an example which shows how to get this functionality back. As part of this new plugin support, request.[formatted_post?, xml_post?, yaml_post? and post_format] were all deprecated in favor of request.content_type [Tobias Lütke]
|
2451
2785
|
|
2452
2786
|
* Fixed Effect.Appear in effects.js to work with floats in Safari #3524, #3813, #3044 [Thomas Fuchs]
|
2453
2787
|
|
@@ -2477,11 +2811,11 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2477
2811
|
|
2478
2812
|
* Added various InPlaceEditor options, #3746, #3891, #3896, #3906 [Bill Burcham, ruairi, sl33p3r]
|
2479
2813
|
|
2480
|
-
* Added :count option to pagination that'll make it possible for the ActiveRecord::Base.count call to using something else than * for the count. Especially important for count queries using DISTINCT #3839 [
|
2814
|
+
* Added :count option to pagination that'll make it possible for the ActiveRecord::Base.count call to using something else than * for the count. Especially important for count queries using DISTINCT #3839 [Stefan Kaes]
|
2481
2815
|
|
2482
2816
|
* Update script.aculo.us to V1.5.2 [Thomas Fuchs]
|
2483
2817
|
|
2484
|
-
* Added element and collection proxies to RJS [
|
2818
|
+
* Added element and collection proxies to RJS [David Heinemeier Hansson]. Examples:
|
2485
2819
|
|
2486
2820
|
page['blank_slate'] # => $('blank_slate');
|
2487
2821
|
page['blank_slate'].show # => $('blank_slate').show();
|
@@ -2527,7 +2861,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2527
2861
|
|
2528
2862
|
* Document the :xhr option for verifications. #3666 [leeo]
|
2529
2863
|
|
2530
|
-
* Added :only and :except controls to skip_before/after_filter just like for when you add filters [
|
2864
|
+
* Added :only and :except controls to skip_before/after_filter just like for when you add filters [David Heinemeier Hansson]
|
2531
2865
|
|
2532
2866
|
* Ensure that the instance variables are copied to the template when performing render :update. [Nicholas Seckar]
|
2533
2867
|
|
@@ -2549,13 +2883,13 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2549
2883
|
|
2550
2884
|
* Fix render(:update) to not render layouts. [Sam Stephenson]
|
2551
2885
|
|
2552
|
-
* Fixed that SSL would not correctly be detected when running lighttpd/fcgi behind lighttpd w/mod_proxy #3548 [
|
2886
|
+
* Fixed that SSL would not correctly be detected when running lighttpd/fcgi behind lighttpd w/mod_proxy #3548 [Steve Purcell]
|
2553
2887
|
|
2554
2888
|
* Added the possibility to specify atomatic expiration for the memcachd session container #3571 [Stefan Kaes]
|
2555
2889
|
|
2556
2890
|
* Change layout discovery to take into account the change in semantics with File.join and nil arguments. [Marcel Molina Jr.]
|
2557
2891
|
|
2558
|
-
* Raise a RedirectBackError if redirect_to :back is called when there's no HTTP_REFERER defined #3049 [
|
2892
|
+
* Raise a RedirectBackError if redirect_to :back is called when there's no HTTP_REFERER defined #3049 [Kevin Clark]
|
2559
2893
|
|
2560
2894
|
* Treat timestamps like datetimes for scaffolding purposes #3388 [Maik Schmidt]
|
2561
2895
|
|
@@ -2595,15 +2929,15 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2595
2929
|
|
2596
2930
|
* Have the form builder output radio button, not check box, when calling the radio button helper. #3331 [LouisStAmour@gmail.com]
|
2597
2931
|
|
2598
|
-
* Added assignment of the Autocompleter object created by JavaScriptMacroHelper#auto_complete_field to a local javascript variables [
|
2932
|
+
* Added assignment of the Autocompleter object created by JavaScriptMacroHelper#auto_complete_field to a local javascript variables [David Heinemeier Hansson]
|
2599
2933
|
|
2600
|
-
* Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [
|
2934
|
+
* Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [David Heinemeier Hansson]
|
2601
2935
|
|
2602
|
-
* Added JavaScriptHelper#button_to_function that works just like JavaScriptHelper#link_to_function but uses a button instead of a href [
|
2936
|
+
* Added JavaScriptHelper#button_to_function that works just like JavaScriptHelper#link_to_function but uses a button instead of a href [David Heinemeier Hansson]
|
2603
2937
|
|
2604
|
-
* Added that JavaScriptHelper#link_to_function will honor existing :onclick definitions when adding the function call [
|
2938
|
+
* Added that JavaScriptHelper#link_to_function will honor existing :onclick definitions when adding the function call [David Heinemeier Hansson]
|
2605
2939
|
|
2606
|
-
* Added :disable_with option to FormTagHelper#submit_tag to allow for easily disabled submit buttons with different text [
|
2940
|
+
* Added :disable_with option to FormTagHelper#submit_tag to allow for easily disabled submit buttons with different text [David Heinemeier Hansson]
|
2607
2941
|
|
2608
2942
|
* Make auto_link handle nil by returning quickly if blank? [Scott Barron]
|
2609
2943
|
|
@@ -2621,7 +2955,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2621
2955
|
page.visual_effect :fade, 'notice'
|
2622
2956
|
end
|
2623
2957
|
|
2624
|
-
* Add session ID to default logging, but remove the verbose description of every step [
|
2958
|
+
* Add session ID to default logging, but remove the verbose description of every step [David Heinemeier Hansson]
|
2625
2959
|
|
2626
2960
|
* Add the following RJS methods: [Sam Stephenson]
|
2627
2961
|
|
@@ -2643,7 +2977,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2643
2977
|
|
2644
2978
|
* Update to Prototype 1.4.0 final [Sam Stephenson]
|
2645
2979
|
|
2646
|
-
* Added form_remote_for (form_for meets form_remote_tag) [
|
2980
|
+
* Added form_remote_for (form_for meets form_remote_tag) [David Heinemeier Hansson]
|
2647
2981
|
|
2648
2982
|
* Update to script.aculo.us 1.5.0_rc6
|
2649
2983
|
|
@@ -2651,7 +2985,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2651
2985
|
|
2652
2986
|
* Fix docs for text_area_tag. #3083. [Christopher Cotton]
|
2653
2987
|
|
2654
|
-
* Change form_for and fields_for method signatures to take object name and object as separate arguments rather than as a Hash. [
|
2988
|
+
* Change form_for and fields_for method signatures to take object name and object as separate arguments rather than as a Hash. [David Heinemeier Hansson]
|
2655
2989
|
|
2656
2990
|
* Introduce :selected option to the select helper. Allows you to specify a selection other than the current value of object.method. Specify :selected => nil to leave all options unselected. #2991 [Jonathan Viney <jonathan@bluewire.net.nz>]
|
2657
2991
|
|
@@ -2669,7 +3003,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2669
3003
|
|
2670
3004
|
* Pass multiple arguments to Element.show and Element.hide in JavaScriptGenerator instead of using iterators. [Sam Stephenson]
|
2671
3005
|
|
2672
|
-
* Improve expire_fragment documentation. #2966 [court3nay
|
3006
|
+
* Improve expire_fragment documentation. #2966 [court3nay]
|
2673
3007
|
|
2674
3008
|
* Correct docs for automatic layout assignment. #2610. [Charles M. Gerungan]
|
2675
3009
|
|
@@ -2691,7 +3025,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2691
3025
|
|
2692
3026
|
* Correct time_zone_options_for_select docs. #2892 [pudeyo@rpi.com]
|
2693
3027
|
|
2694
|
-
* Remove the unused, slow response_dump and session_dump variables from error pages. #1222 [lmarlow
|
3028
|
+
* Remove the unused, slow response_dump and session_dump variables from error pages. #1222 [lmarlow]
|
2695
3029
|
|
2696
3030
|
* Performance tweaks: use Set instead of Array to speed up prototype helper include? calls. Avoid logging code if logger is nil. Inline commonly-called template presence checks. #2880, #2881, #2882, #2883 [Stefan Kaes]
|
2697
3031
|
|
@@ -2721,9 +3055,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2721
3055
|
|
2722
3056
|
* Update documentation for render :file. #2858 [Tom Werner]
|
2723
3057
|
|
2724
|
-
* Only include builtin filters whose filenames match /^[a-z][a-z_]*_helper.rb$/ to avoid including operating system metadata such as ._foo_helper.rb. #2855 [court3nay
|
3058
|
+
* Only include builtin filters whose filenames match /^[a-z][a-z_]*_helper.rb$/ to avoid including operating system metadata such as ._foo_helper.rb. #2855 [court3nay]
|
2725
3059
|
|
2726
|
-
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to work with forms for single objects also if they don't reside in instance variables [
|
3060
|
+
* Added FormHelper#form_for and FormHelper#fields_for that makes it easier to work with forms for single objects also if they don't reside in instance variables [David Heinemeier Hansson]. Examples:
|
2727
3061
|
|
2728
3062
|
<% form_for :person, @person, :url => { :action => "update" } do |f| %>
|
2729
3063
|
First name: <%= f.text_field :first_name %>
|
@@ -2756,7 +3090,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2756
3090
|
|
2757
3091
|
*1.11.0* (November 7th, 2005)
|
2758
3092
|
|
2759
|
-
* Added request as instance method to views, so you can do <%= request.env["HTTP_REFERER"] %>, just like you can already access response, session, and the likes [
|
3093
|
+
* Added request as instance method to views, so you can do <%= request.env["HTTP_REFERER"] %>, just like you can already access response, session, and the likes [David Heinemeier Hansson]
|
2760
3094
|
|
2761
3095
|
* Fix conflict with assert_tag and Glue gem #2255 [david.felstead@gmail.com]
|
2762
3096
|
|
@@ -2764,9 +3098,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2764
3098
|
|
2765
3099
|
* Added action_pack.rb stub so that ActionPack::Version loads properly [Sam Stephenson]
|
2766
3100
|
|
2767
|
-
* Added short-hand to assert_tag so assert_tag :tag => "span" can be written as assert_tag "span" [
|
3101
|
+
* Added short-hand to assert_tag so assert_tag :tag => "span" can be written as assert_tag "span" [David Heinemeier Hansson]
|
2768
3102
|
|
2769
|
-
* Added skip_before_filter/skip_after_filter for easier control of the filter chain in inheritance hierachies [
|
3103
|
+
* Added skip_before_filter/skip_after_filter for easier control of the filter chain in inheritance hierachies [David Heinemeier Hansson]. Example:
|
2770
3104
|
|
2771
3105
|
class ApplicationController < ActionController::Base
|
2772
3106
|
before_filter :authenticate
|
@@ -2781,7 +3115,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2781
3115
|
skip_before_filter :authenticate
|
2782
3116
|
end
|
2783
3117
|
|
2784
|
-
* Added redirect_to :back as a short-hand for redirect_to(request.env["HTTP_REFERER"]) [
|
3118
|
+
* Added redirect_to :back as a short-hand for redirect_to(request.env["HTTP_REFERER"]) [David Heinemeier Hansson]
|
2785
3119
|
|
2786
3120
|
* Change javascript_include_tag :defaults to not use script.aculo.us loader, which facilitates the use of plugins for future script.aculo.us and third party javascript extensions, and provide register_javascript_include_default for plugins to specify additional JavaScript files to load. Removed slider.js and builder.js from actionpack. [Thomas Fuchs]
|
2787
3121
|
|
@@ -2791,7 +3125,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2791
3125
|
|
2792
3126
|
* Update script.aculo.us to V1.5_rc4 [Thomas Fuchs]
|
2793
3127
|
|
2794
|
-
* Fix that render :text didn't interpolate instance variables #2629, #2626 [
|
3128
|
+
* Fix that render :text didn't interpolate instance variables #2629, #2626 [Stefan Kaes]
|
2795
3129
|
|
2796
3130
|
* Fix line number detection and escape RAILS_ROOT in backtrace Regexp [Nicholas Seckar]
|
2797
3131
|
|
@@ -2810,7 +3144,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2810
3144
|
|
2811
3145
|
*1.10.2* (October 26th, 2005)
|
2812
3146
|
|
2813
|
-
* Reset template variables after using render_to_string [
|
3147
|
+
* Reset template variables after using render_to_string [Stefan Kaes]
|
2814
3148
|
|
2815
3149
|
* Expose the session model backing CGI::Session
|
2816
3150
|
|
@@ -2826,7 +3160,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2826
3160
|
|
2827
3161
|
*1.10.0* (October 16th, 2005)
|
2828
3162
|
|
2829
|
-
* Make string-keys locals assigns optional. Add documentation describing depreciated state [
|
3163
|
+
* Make string-keys locals assigns optional. Add documentation describing depreciated state [Stefan Kaes]
|
2830
3164
|
|
2831
3165
|
* Improve line number detection for template errors [Nicholas Seckar]
|
2832
3166
|
|
@@ -2834,7 +3168,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2834
3168
|
|
2835
3169
|
* Upgrade to Prototype 1.4.0_rc0 [Sam Stephenson]
|
2836
3170
|
|
2837
|
-
* Added assert_vaild. Reports the proper AR error messages as fail message when the passed record is invalid [Tobias
|
3171
|
+
* Added assert_vaild. Reports the proper AR error messages as fail message when the passed record is invalid [Tobias Lütke]
|
2838
3172
|
|
2839
3173
|
* Add temporary support for passing locals to render using string keys [Nicholas Seckar]
|
2840
3174
|
|
@@ -2842,11 +3176,11 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2842
3176
|
|
2843
3177
|
* Raise an exception if an attempt is made to insert more session data into the ActiveRecordStore data column than the column can hold. #2234. [justin@textdrive.com]
|
2844
3178
|
|
2845
|
-
* Removed references to assertions.rb from actionpack assert's backtraces. Makes error reports in functional unit tests much less noisy. [Tobias
|
3179
|
+
* Removed references to assertions.rb from actionpack assert's backtraces. Makes error reports in functional unit tests much less noisy. [Tobias Lütke]
|
2846
3180
|
|
2847
3181
|
* Updated and clarified documentation for JavaScriptHelper to be more concise about the various options for including the JavaScript libs. [Thomas Fuchs]
|
2848
3182
|
|
2849
|
-
* Hide "Retry with Breakpoint" button on error pages until feature is functional. [
|
3183
|
+
* Hide "Retry with Breakpoint" button on error pages until feature is functional. [David Heinemeier Hansson]
|
2850
3184
|
|
2851
3185
|
* Fix Request#host_with_port to use the standard port when Rails is behind a proxy. [Nicholas Seckar]
|
2852
3186
|
|
@@ -2864,7 +3198,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2864
3198
|
|
2865
3199
|
* Misc doc fixes (typos/grammar/etc). #2445. [coffee2code]
|
2866
3200
|
|
2867
|
-
* Speed improvement for session_options. #2287. [
|
3201
|
+
* Speed improvement for session_options. #2287. [Stefan Kaes]
|
2868
3202
|
|
2869
3203
|
* Make cacheing binary files friendly with Windows. #1975. [Rich Olson]
|
2870
3204
|
|
@@ -2876,9 +3210,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2876
3210
|
|
2877
3211
|
* Make assert_tag :children count appropriately. Closes #2181. [jamie@bravenet.com]
|
2878
3212
|
|
2879
|
-
* Forced newer versions of RedCloth to use hard breaks [
|
3213
|
+
* Forced newer versions of RedCloth to use hard breaks [David Heinemeier Hansson]
|
2880
3214
|
|
2881
|
-
* Added new scriptaculous options for auto_complete_field #2343 [
|
3215
|
+
* Added new scriptaculous options for auto_complete_field #2343 [Manfred Stienstra]
|
2882
3216
|
|
2883
3217
|
* Don't prepend the asset host if the string is already a fully-qualified URL
|
2884
3218
|
|
@@ -2892,13 +3226,13 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2892
3226
|
|
2893
3227
|
* Keep flash after components are rendered. #2291 [Rick Olson, Scott]
|
2894
3228
|
|
2895
|
-
* Shorten IE file upload path to filename only to match other browsers. #1507 [court3nay
|
3229
|
+
* Shorten IE file upload path to filename only to match other browsers. #1507 [court3nay]
|
2896
3230
|
|
2897
3231
|
* Fix open/save dialog in IE not opening files send with send_file/send_data, #2279 [Thomas Fuchs]
|
2898
3232
|
|
2899
|
-
* Fixed that auto_discovery_link_tag couldn't take a string as the URL [
|
3233
|
+
* Fixed that auto_discovery_link_tag couldn't take a string as the URL [David Heinemeier Hansson]
|
2900
3234
|
|
2901
|
-
* Fixed problem with send_file and WEBrick using stdout #1812 [
|
3235
|
+
* Fixed problem with send_file and WEBrick using stdout #1812 [David Heinemeier Hansson]
|
2902
3236
|
|
2903
3237
|
* Optimized tag_options to not sort keys, which is no longer necessary when assert_dom_equal and friend is available #1995 [skae]
|
2904
3238
|
|
@@ -2916,7 +3250,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2916
3250
|
|
2917
3251
|
* Speed up cookie use by decreasing string copying #2194 [skae]
|
2918
3252
|
|
2919
|
-
* Fixed access to "Host" header with requests made by crappy old HTTP/1.0 clients #2124 [Marcel Molina]
|
3253
|
+
* Fixed access to "Host" header with requests made by crappy old HTTP/1.0 clients #2124 [Marcel Molina Jr.]
|
2920
3254
|
|
2921
3255
|
* Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too)
|
2922
3256
|
|
@@ -2966,7 +3300,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2966
3300
|
|
2967
3301
|
* Avoid extending view instance with helper modules each request. Closes #1979
|
2968
3302
|
|
2969
|
-
* Performance improvements to CGI methods. Closes #1980 [
|
3303
|
+
* Performance improvements to CGI methods. Closes #1980 [Stefan Kaes]
|
2970
3304
|
|
2971
3305
|
* Added :post option to UrlHelper#link_to that makes it possible to do POST requests through normal ahref links using Javascript
|
2972
3306
|
|
@@ -2983,13 +3317,13 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
2983
3317
|
|
2984
3318
|
* Drop trailing \000 if present on RAW_POST_DATA (works around bug in Safari Ajax implementation) #918
|
2985
3319
|
|
2986
|
-
* Fix observe_field to fall back to event-based observation if frequency <= 0 #1916 [
|
3320
|
+
* Fix observe_field to fall back to event-based observation if frequency <= 0 #1916 [Michael Schubert]
|
2987
3321
|
|
2988
3322
|
* Allow use of the :with option for submit_to_remote #1936 [jon@instance-design.co.uk]
|
2989
3323
|
|
2990
|
-
* AbstractRequest#domain returns nil when host is an ip address #2012 [
|
3324
|
+
* AbstractRequest#domain returns nil when host is an ip address #2012 [Kevin Clark]
|
2991
3325
|
|
2992
|
-
* ActionController documentation update #2051 [
|
3326
|
+
* ActionController documentation update #2051 [François Beausoleil]
|
2993
3327
|
|
2994
3328
|
* Yield @content_for_ variables to templates #2058 [Sam Stephenson]
|
2995
3329
|
|
@@ -3005,7 +3339,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3005
3339
|
|
3006
3340
|
* Fix Routing to handle :some_param => nil better. [Nicholas Seckar, Luminas]
|
3007
3341
|
|
3008
|
-
* Add support for :include with pagination (subject to existing constraints for :include with :limit and :offset) #1478 [
|
3342
|
+
* Add support for :include with pagination (subject to existing constraints for :include with :limit and :offset) #1478 [Michael Schubert]
|
3009
3343
|
|
3010
3344
|
* Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is processed
|
3011
3345
|
|
@@ -3033,7 +3367,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3033
3367
|
|
3034
3368
|
* Added support for per-action session management #1763
|
3035
3369
|
|
3036
|
-
* Improved rendering speed on complicated templates by up to 100% (the more complex the templates, the higher the speedup) #1234 [
|
3370
|
+
* Improved rendering speed on complicated templates by up to 100% (the more complex the templates, the higher the speedup) #1234 [Stefan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that.
|
3037
3371
|
|
3038
3372
|
* Added options hash as third argument to FormHelper#input, so you can do input('person', 'zip', :size=>10) #1719 [jeremye@bsa.ca.gov]
|
3039
3373
|
|
@@ -3060,7 +3394,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3060
3394
|
|
3061
3395
|
* Fixed that Action View should always use the included Builder, never attempt to require the gem, to ensure compatibility
|
3062
3396
|
|
3063
|
-
* Added that nil options are not included in tags, so tag("p", :ignore => nil) now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [
|
3397
|
+
* Added that nil options are not included in tags, so tag("p", :ignore => nil) now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [Michael Schuerig]
|
3064
3398
|
|
3065
3399
|
* Fixed that UrlHelper#link_to_unless/link_to_if used html_escape on the name if no link was to be applied. This is unnecessary and breaks its use with images #1649 [joergd@pobox.com]
|
3066
3400
|
|
@@ -3098,9 +3432,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3098
3432
|
|
3099
3433
|
* Added javascript_include_tag :defaults shortcut that'll include all the default javascripts included with Action Pack (prototype, effects, controls, dragdrop)
|
3100
3434
|
|
3101
|
-
* Cache several controller variables that are expensive to calculate #1229 [
|
3435
|
+
* Cache several controller variables that are expensive to calculate #1229 [Stefan Kaes]
|
3102
3436
|
|
3103
|
-
* The session class backing CGI::Session::ActiveRecordStore may be replaced with any class that duck-types with a subset of Active Record. See docs for details #1238 [
|
3437
|
+
* The session class backing CGI::Session::ActiveRecordStore may be replaced with any class that duck-types with a subset of Active Record. See docs for details #1238 [Stefan Kaes]
|
3104
3438
|
|
3105
3439
|
* Fixed that hashes was not working properly when passed by GET to lighttpd #849 [Nicholas Seckar]
|
3106
3440
|
|
@@ -3117,7 +3451,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3117
3451
|
<p>Product 2</p>
|
3118
3452
|
<% end %>
|
3119
3453
|
|
3120
|
-
* Added :field_name option to DateHelper#select_(year|month|day) to deviate from the year/month/day defaults #1266 [Marcel Molina]
|
3454
|
+
* Added :field_name option to DateHelper#select_(year|month|day) to deviate from the year/month/day defaults #1266 [Marcel Molina Jr.]
|
3121
3455
|
|
3122
3456
|
* Added JavascriptHelper#draggable_element and JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs]
|
3123
3457
|
|
@@ -3161,7 +3495,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3161
3495
|
|
3162
3496
|
* Added named routes (NEEDS BETTER DESCRIPTION) #1434 [Nicholas Seckar]
|
3163
3497
|
|
3164
|
-
* Improved AbstractRequest documentation #1483 [court3nay
|
3498
|
+
* Improved AbstractRequest documentation #1483 [court3nay]
|
3165
3499
|
|
3166
3500
|
* Added ActionController::Base.allow_concurrency to control whether the application is thread-safe, so multi-threaded servers like WEBrick knows whether to apply a mutex around the performance of each action. Turned off by default. EXPERIMENTAL FEATURE.
|
3167
3501
|
|
@@ -3173,7 +3507,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3173
3507
|
|
3174
3508
|
* Added :xhr => true/false option to verify so you can ensure that a request is coming from an Ajax call or not #1464 [Thomas Fuchs]
|
3175
3509
|
|
3176
|
-
* Added tag_options as a third parameter to AssetHelper#auto_discovery_link_tag to control options like the title of the link #1430 [
|
3510
|
+
* Added tag_options as a third parameter to AssetHelper#auto_discovery_link_tag to control options like the title of the link #1430 [Kevin Clark]
|
3177
3511
|
|
3178
3512
|
* Added option to pass in parameters to CaptureHelper#capture, so you can create more advanced view helper methods #1466 [duane.johnson@gmail.com]. Example:
|
3179
3513
|
|
@@ -3199,11 +3533,11 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3199
3533
|
|
3200
3534
|
* Added button_to as a form-based solution to deal with harmful actions that should be hidden behind POSTs. This makes it just as easy as link_to to create a safe trigger for actions like destroy, although it's limited by being a block element, the fixed look, and a no-no inside other forms. #1371 [tom@moertel.com]
|
3201
3535
|
|
3202
|
-
* Fixed image_tag so an exception is not thrown just because the image is missing and alt value can't be generated #1395 [Marcel]
|
3536
|
+
* Fixed image_tag so an exception is not thrown just because the image is missing and alt value can't be generated #1395 [Marcel Molina Jr.]
|
3203
3537
|
|
3204
3538
|
* Added a third parameter to TextHelper#auto_link called href_options for specifying additional tag options on the links generated #1401 [tyler.kovacs@gmail.com]. Example: auto_link(text, :all, { :target => "_blank" }) to have all the generated links open in a new window.
|
3205
3539
|
|
3206
|
-
* Fixed TextHelper#highlight to return the text, not nil, if the phrase is blank #1409 [
|
3540
|
+
* Fixed TextHelper#highlight to return the text, not nil, if the phrase is blank #1409 [Patrick Lenz]
|
3207
3541
|
|
3208
3542
|
* Fixed TagHelper such that :name and 'name' keys in the options doesn't result in two attributes #1455 [take_tk]
|
3209
3543
|
|
@@ -3217,7 +3551,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3217
3551
|
|
3218
3552
|
* Allow distance_of_time_in_words to work with any value that responds to #to_time (like dates) #969
|
3219
3553
|
|
3220
|
-
* Support :render option for :verify #1440 [
|
3554
|
+
* Support :render option for :verify #1440 [Tobias Lütke]
|
3221
3555
|
|
3222
3556
|
* Updated vendor copy of html-scanner lib to 0.5.2, for bug fixes and optimizations. The :content option may be used as expected--to find a tag whose textual content is a particular value--in assert_tag, now.
|
3223
3557
|
|
@@ -3331,7 +3665,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3331
3665
|
|
3332
3666
|
* Fixed action/fragment caching using the filestore when a directory and a file wanted to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
|
3333
3667
|
|
3334
|
-
* Fixed missing id uniqueness in FormTag#radio_button #1207 [Jarkko]
|
3668
|
+
* Fixed missing id uniqueness in FormTag#radio_button #1207 [Jarkko Laine]
|
3335
3669
|
|
3336
3670
|
* Fixed assert_redirected_to to work with :only_path => false #1204 [Alisdair McDiarmid]
|
3337
3671
|
|
@@ -3436,7 +3770,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3436
3770
|
|
3437
3771
|
* Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar]
|
3438
3772
|
|
3439
|
-
* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [
|
3773
|
+
* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [Josh Knowles]
|
3440
3774
|
|
3441
3775
|
* Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson]
|
3442
3776
|
|
@@ -3460,7 +3794,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3460
3794
|
|
3461
3795
|
* Fixed pagination to work with joins #1034 [scott@sigkill.org]
|
3462
3796
|
|
3463
|
-
* Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee
|
3797
|
+
* Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee Zsombor]
|
3464
3798
|
|
3465
3799
|
* Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua]
|
3466
3800
|
|
@@ -3480,7 +3814,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3480
3814
|
|
3481
3815
|
* Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen]
|
3482
3816
|
|
3483
|
-
* Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [
|
3817
|
+
* Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [Stefan Kaes]
|
3484
3818
|
|
3485
3819
|
* Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck]
|
3486
3820
|
|
@@ -3523,7 +3857,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3523
3857
|
|
3524
3858
|
* Added :position option to link_to_remote/form_remote_tag that can be either :before, :top, :bottom, or :after and specifies where the return from the method should be inserted #952 [Matthew McCray/Sam Stephenson]
|
3525
3859
|
|
3526
|
-
* Added Effect.Highlight to prototype.js to do Yellow Fade Technique (of 37signals' fame) on any container #952 [Sam Stephenson/
|
3860
|
+
* Added Effect.Highlight to prototype.js to do Yellow Fade Technique (of 37signals' fame) on any container #952 [Sam Stephenson/court3nay]
|
3527
3861
|
|
3528
3862
|
* Added include_seconds option as the third parameter to distance_of_time_in_words which will render "less than a minute" in higher resolution ("less than 10 seconds" etc) #944 [thomas@fesch.at]
|
3529
3863
|
|
@@ -3537,9 +3871,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3537
3871
|
|
3538
3872
|
* Added trailing_slash option to url_for, so you can generate urls ending in a slash. Note that is currently not recommended unless you need it for special reasons since it breaks caching #937 [stian@grytoyr.net]
|
3539
3873
|
|
3540
|
-
* Added expire_matched_fragments(regular_expression) to clear out a lot of fragment caches at once #927 [
|
3874
|
+
* Added expire_matched_fragments(regular_expression) to clear out a lot of fragment caches at once #927 [Rick Olson]
|
3541
3875
|
|
3542
|
-
* Fixed the problems with : and ? in file names for fragment caches on Windows #927 [
|
3876
|
+
* Fixed the problems with : and ? in file names for fragment caches on Windows #927 [Rick Olson]
|
3543
3877
|
|
3544
3878
|
* Added TextHelper#human_size for formatting file sizes, like human_size(1234567) => 1.2 MB #943 [thomas@fesch.at]
|
3545
3879
|
|
@@ -3556,7 +3890,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3556
3890
|
|
3557
3891
|
* Added pagination support through both a controller and helper add-on #817 [Sam Stephenson]
|
3558
3892
|
|
3559
|
-
* Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias
|
3893
|
+
* Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Lütke]
|
3560
3894
|
|
3561
3895
|
* Added a much improved Flash module that allows for finer-grained control on expiration and allows you to flash the current action #839 [Caio Chassot]. Example of flash.now:
|
3562
3896
|
|
@@ -3615,7 +3949,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3615
3949
|
|
3616
3950
|
* Fixed options_for_select on selected line issue #624 [Florian Weber]
|
3617
3951
|
|
3618
|
-
* Added CaptureHelper with CaptureHelper#capture and CaptureHelper#content_for. See documentation in helper #837 [Tobias
|
3952
|
+
* Added CaptureHelper with CaptureHelper#capture and CaptureHelper#content_for. See documentation in helper #837 [Tobias Lütke]
|
3619
3953
|
|
3620
3954
|
* Fixed :anchor use in url_for #821 [Nicholas Seckar]
|
3621
3955
|
|
@@ -3751,7 +4085,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3751
4085
|
|
3752
4086
|
* Fixed the ordering of attributes in the xml-decleration of Builder #540 [woeye]
|
3753
4087
|
|
3754
|
-
* Added @request.raw_post as a convenience access to @request.env['RAW_POST_DATA'] #534 [Tobias
|
4088
|
+
* Added @request.raw_post as a convenience access to @request.env['RAW_POST_DATA'] #534 [Tobias Lütke]
|
3755
4089
|
|
3756
4090
|
* Added support for automatic id-based indexing for lists of items #532 [dblack]. Example:
|
3757
4091
|
|
@@ -3841,13 +4175,13 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3841
4175
|
|
3842
4176
|
* Fixed url rewriter confusion when the controller or action name was a substring of the controller_prefix or action_prefix
|
3843
4177
|
|
3844
|
-
* Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina]
|
4178
|
+
* Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina Jr.]
|
3845
4179
|
|
3846
4180
|
* Fixed that MemCacheStore wasn't included by default and added default MemCache object pointing to localhost #447 [Lucas Carlson]
|
3847
4181
|
|
3848
|
-
* Added fourth argument to render_collection_of_partials that allows you to specify local_assigns -- just like render_partial #432 [
|
4182
|
+
* Added fourth argument to render_collection_of_partials that allows you to specify local_assigns -- just like render_partial #432 [Ryan Davis]
|
3849
4183
|
|
3850
|
-
* Fixed that host would choke when cgi.host returned nil #432 [Tobias
|
4184
|
+
* Fixed that host would choke when cgi.host returned nil #432 [Tobias Lütke]
|
3851
4185
|
|
3852
4186
|
* Added that form helpers now take an index option #448 [Tim Bates]
|
3853
4187
|
|
@@ -3879,7 +4213,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3879
4213
|
redirect_to(:controller => "account", :action => "login") unless @session[:authenticated]
|
3880
4214
|
end
|
3881
4215
|
|
3882
|
-
* Added conditional filters #431 [Marcel]. Example:
|
4216
|
+
* Added conditional filters #431 [Marcel Molina Jr.]. Example:
|
3883
4217
|
|
3884
4218
|
class JournalController < ActionController::Base
|
3885
4219
|
# only require authentication if the current action is edit or delete
|
@@ -3913,7 +4247,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3913
4247
|
|
3914
4248
|
* Added second boolean parameter to Base.redirect_to_url and Response#redirect to control whether the redirect is permanent or not (301 vs 302) #375 [Hodel]
|
3915
4249
|
|
3916
|
-
* Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh]
|
4250
|
+
* Fixed redirects when the controller and action is named the same. Still haven't fixed same controller, module, and action, though #201 [Josh Peek]
|
3917
4251
|
|
3918
4252
|
* Fixed problems with running multiple functional tests in Rails under 1.8.2 by including hack for test/unit weirdness
|
3919
4253
|
|
@@ -3923,7 +4257,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3923
4257
|
*1.1.0*
|
3924
4258
|
|
3925
4259
|
* Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects
|
3926
|
-
in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias
|
4260
|
+
in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Lütke]
|
3927
4261
|
|
3928
4262
|
* Added more informative exception when using helper :some_helper and the helper requires another file that fails, you'll get an
|
3929
4263
|
error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack]
|
@@ -3943,7 +4277,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3943
4277
|
|
3944
4278
|
* Fixed that textilize and markdown would instantiate their engines even on empty strings. This also fixes #333 [Ulysses]
|
3945
4279
|
|
3946
|
-
* Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or fixnum [
|
4280
|
+
* Fixed UrlHelper#link_to_unless so it doesn't care if the id is a string or fixnum [Ryan Davis]
|
3947
4281
|
|
3948
4282
|
|
3949
4283
|
*1.0.1*
|
@@ -3960,7 +4294,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
3960
4294
|
* Fixed DateHelper#date_select so that you can pass include_blank as an option even if you don't use start_year and end_year #59 [what-a-day]
|
3961
4295
|
|
3962
4296
|
* Added that controllers will now search for a layout in $template_root/layouts/$controller_name.r(html|xml), so PostsController will look
|
3963
|
-
for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel]
|
4297
|
+
for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel Molina Jr.]
|
3964
4298
|
|
3965
4299
|
* Added FormHelper#radio_button to work with radio buttons like its already possible with check boxes [Michael Koziarski]
|
3966
4300
|
|
@@ -4005,11 +4339,11 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
4005
4339
|
* Added that render_partial will always by default include a counter with value 1 unless there is a counter passed in via the
|
4006
4340
|
local_assigns hash that overrides it. As a result, render_collection_of_partials can still be written in terms of render_partial
|
4007
4341
|
and partials that make use of a counter can be called without problems from both render_collection_of_partials as well as
|
4008
|
-
render_partial #295 [
|
4342
|
+
render_partial #295 [Marcel Molina Jr.]
|
4009
4343
|
|
4010
4344
|
* Fixed CgiRequest#out to fall back to #write if $stdout doesn't have #syswrite [Jeremy Kemper]
|
4011
4345
|
|
4012
|
-
* Fixed all helpers so that they use XHTML compliant double quotes for values instead of single quotes [htonl/
|
4346
|
+
* Fixed all helpers so that they use XHTML compliant double quotes for values instead of single quotes [htonl/Jeremy Kemper]
|
4013
4347
|
|
4014
4348
|
* Added link_to_image(src, options = {}, html_options = {}). Documentation:
|
4015
4349
|
|
@@ -4029,11 +4363,11 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
4029
4363
|
|
4030
4364
|
* Fixed to_input_field_tag so it no longer explicitly uses InstanceTag.value if value was specified in the options hash [evl]
|
4031
4365
|
|
4032
|
-
* Added the possibility of having validate be protected for assert_(in)valid_column #263 [Tobias
|
4366
|
+
* Added the possibility of having validate be protected for assert_(in)valid_column #263 [Tobias Lütke]
|
4033
4367
|
|
4034
4368
|
* Added that ActiveRecordHelper#form now calls url_for on the :action option.
|
4035
4369
|
|
4036
|
-
* Added all the HTTP methods as alternatives to the generic "process" for functional testing #276 [Tobias
|
4370
|
+
* Added all the HTTP methods as alternatives to the generic "process" for functional testing #276 [Tobias Lütke]. Examples:
|
4037
4371
|
|
4038
4372
|
# Calls Controller#miletone with a GET request
|
4039
4373
|
process :milestone
|
@@ -4190,9 +4524,9 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
4190
4524
|
|
4191
4525
|
* Added a hidden field to checkboxes generated with FormHelper#check_box that will make sure that the unchecked value (usually 0)
|
4192
4526
|
is sent even if the checkbox is not checked. This relieves the controller from doing custom checking if the checkbox wasn't
|
4193
|
-
checked. BEWARE: This might conflict with your run-on-the-mill work-around code. [Tobias
|
4527
|
+
checked. BEWARE: This might conflict with your run-on-the-mill work-around code. [Tobias Lütke]
|
4194
4528
|
|
4195
|
-
* Fixed error_message_on to just use the first if more than one error had been added [
|
4529
|
+
* Fixed error_message_on to just use the first if more than one error had been added [Marcel Molina Jr.]
|
4196
4530
|
|
4197
4531
|
* Fixed that URL rewriting with /controller/ was working but /controller was not and that you couldn't use :id on index [geech]
|
4198
4532
|
|
@@ -4312,7 +4646,7 @@ Default YAML web services were retired, ActionController::Base.param_parsers car
|
|
4312
4646
|
|
4313
4647
|
* Added caching for compiled ERb templates. On Basecamp, it gave between 8.5% and 71% increase in performance [Andreas Schwarz].
|
4314
4648
|
|
4315
|
-
* Added implicit counter variable to render_collection_of_partials [Marcel]. From the docs:
|
4649
|
+
* Added implicit counter variable to render_collection_of_partials [Marcel Molina Jr.]. From the docs:
|
4316
4650
|
|
4317
4651
|
<%= render_collection_of_partials "ad", @advertisements %>
|
4318
4652
|
|