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
File without changes
|
@@ -1,23 +1,95 @@
|
|
1
|
-
*2.
|
1
|
+
*2.3.2 [Final] (March 15, 2009)*
|
2
2
|
|
3
|
-
* Added
|
3
|
+
* Added ActiveRecord::Base.find_each and ActiveRecord::Base.find_in_batches for batch processing [DHH/Jamis Buck]
|
4
4
|
|
5
|
-
*
|
5
|
+
* Added that ActiveRecord::Base.exists? can be called with no arguments #1817 [Scott Taylor]
|
6
6
|
|
7
|
+
* Add Support for updating deeply nested models from a single form. #1202 [Eloy Duran]
|
7
8
|
|
8
|
-
|
9
|
+
class Book < ActiveRecord::Base
|
10
|
+
has_one :author
|
11
|
+
has_many :pages
|
9
12
|
|
10
|
-
|
13
|
+
accepts_nested_attributes_for :author, :pages
|
14
|
+
end
|
11
15
|
|
12
|
-
*
|
16
|
+
* Make after_save callbacks fire only if the record was successfully saved. #1735 [Michael Lovitt]
|
17
|
+
|
18
|
+
Previously the callbacks would fire if a before_save cancelled saving.
|
19
|
+
|
20
|
+
* Support nested transactions using database savepoints. #383 [Jonathan Viney, Hongli Lai]
|
21
|
+
|
22
|
+
* Added dynamic scopes ala dynamic finders #1648 [Yaroslav Markin]
|
23
|
+
|
24
|
+
* Fixed that ActiveRecord::Base#new_record? should return false (not nil) for existing records #1219 [Yaroslav Markin]
|
25
|
+
|
26
|
+
* I18n the word separator for error messages. Introduces the activerecord.errors.format.separator translation key. #1294 [Akira Matsuda]
|
27
|
+
|
28
|
+
* Add :having as a key to find and the relevant associations. [Emilio Tagua]
|
29
|
+
|
30
|
+
* Added default_scope to Base #1381 [Paweł Kondzior]. Example:
|
31
|
+
|
32
|
+
class Person < ActiveRecord::Base
|
33
|
+
default_scope :order => 'last_name, first_name'
|
34
|
+
end
|
35
|
+
|
36
|
+
class Company < ActiveRecord::Base
|
37
|
+
has_many :people
|
38
|
+
end
|
39
|
+
|
40
|
+
Person.all # => Person.find(:all, :order => 'last_name, first_name')
|
41
|
+
Company.find(1).people # => Person.find(:all, :order => 'last_name, first_name', :conditions => { :company_id => 1 })
|
42
|
+
|
43
|
+
|
44
|
+
*2.2.1 [RC2] (November 14th, 2008)*
|
45
|
+
|
46
|
+
* Ensure indices don't flip order in schema.rb #1266 [Jordi Bunster]
|
47
|
+
|
48
|
+
* Fixed that serialized strings should never be type-casted (i.e. turning "Yes" to a boolean) #857 [Andreas Korth]
|
49
|
+
|
50
|
+
|
51
|
+
*2.2.0 [RC1] (October 24th, 2008)*
|
52
|
+
|
53
|
+
* Skip collection ids reader optimization if using :finder_sql [Jeremy Kemper]
|
54
|
+
|
55
|
+
* Add Model#delete instance method, similar to Model.delete class method. #1086 [Hongli Lai (Phusion)]
|
56
|
+
|
57
|
+
* MySQL: cope with quirky default values for not-null text columns. #1043 [Frederick Cheung]
|
58
|
+
|
59
|
+
* Multiparameter attributes skip time zone conversion for time-only columns [#1030 state:resolved] [Geoff Buesing]
|
60
|
+
|
61
|
+
* Base.skip_time_zone_conversion_for_attributes uses class_inheritable_accessor, so that subclasses don't overwrite Base [#346 state:resolved] [Emilio Tagua]
|
62
|
+
|
63
|
+
* Added find_last_by dynamic finder #762 [Emilio Tagua]
|
64
|
+
|
65
|
+
* Internal API: configurable association options and build_association method for reflections so plugins may extend and override. #985 [Hongli Lai (Phusion)]
|
66
|
+
|
67
|
+
* Changed benchmarks to be reported in milliseconds [David Heinemeier Hansson]
|
68
|
+
|
69
|
+
* Connection pooling. #936 [Nick Sieger]
|
70
|
+
|
71
|
+
* Merge scoped :joins together instead of overwriting them. May expose scoping bugs in your code! #501 [Andrew White]
|
72
|
+
|
73
|
+
* before_save, before_validation and before_destroy callbacks that return false will now ROLLBACK the transaction. Previously this would have been committed before the processing was aborted. #891 [Xavier Noria]
|
74
|
+
|
75
|
+
* Transactional migrations for databases which support them. #834 [divoxx, Adam Wiggins, Tarmo Tänav]
|
76
|
+
|
77
|
+
* Set config.active_record.timestamped_migrations = false to have migrations with numeric prefix instead of UTC timestamp. #446. [Andrew Stone, Nik Wakelin]
|
13
78
|
|
14
79
|
* change_column_default preserves the not-null constraint. #617 [Tarmo Tänav]
|
15
80
|
|
81
|
+
* Fixed that create database statements would always include "DEFAULT NULL" (Nick Sieger) [#334]
|
82
|
+
|
16
83
|
* Add :tokenizer option to validates_length_of to specify how to split up the attribute string. #507. [David Lowenfels] Example :
|
17
84
|
|
18
85
|
# Ensure essay contains at least 100 words.
|
19
86
|
validates_length_of :essay, :minimum => 100, :too_short => "Your essay must be at least %d words."), :tokenizer => lambda {|str| str.scan(/\w+/) }
|
20
87
|
|
88
|
+
* Allow conditions on multiple tables to be specified using hash. [Pratik Naik]. Example:
|
89
|
+
|
90
|
+
User.all :joins => :items, :conditions => { :age => 10, :items => { :color => 'black' } }
|
91
|
+
Item.first :conditions => { :items => { :color => 'red' } }
|
92
|
+
|
21
93
|
* Always treat integer :limit as byte length. #420 [Tarmo Tänav]
|
22
94
|
|
23
95
|
* Partial updates don't update lock_version if nothing changed. #426 [Daniel Morrison]
|
@@ -41,7 +113,7 @@
|
|
41
113
|
|
42
114
|
*2.1.0 (May 31st, 2008)*
|
43
115
|
|
44
|
-
* Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti_class? and returns either the full or demodulized name. [
|
116
|
+
* Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti_class? and returns either the full or demodulized name. [Rick Olson]
|
45
117
|
|
46
118
|
* Add first/last methods to associations/named_scope. Resolved #226. [Ryan Bates]
|
47
119
|
|
@@ -74,27 +146,27 @@
|
|
74
146
|
|
75
147
|
* Fixed that change_column should be able to use :null => true on a field that formerly had false [Nate Wiger] [#26]
|
76
148
|
|
77
|
-
* Added that the MySQL adapter should map integer to either smallint, int, or bigint depending on the :limit just like PostgreSQL [
|
149
|
+
* Added that the MySQL adapter should map integer to either smallint, int, or bigint depending on the :limit just like PostgreSQL [David Heinemeier Hansson]
|
78
150
|
|
79
|
-
* Change validates_uniqueness_of :case_sensitive option default back to true (from [9160]). Love your database columns, don't LOWER them. [
|
151
|
+
* Change validates_uniqueness_of :case_sensitive option default back to true (from [9160]). Love your database columns, don't LOWER them. [Rick Olson]
|
80
152
|
|
81
|
-
* Add support for interleaving migrations by storing which migrations have run in the new schema_migrations table. Closes #11493 [
|
153
|
+
* Add support for interleaving migrations by storing which migrations have run in the new schema_migrations table. Closes #11493 [Jordi Bunster]
|
82
154
|
|
83
|
-
* ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 [
|
155
|
+
* ActiveRecord::Base#sum defaults to 0 if no rows are returned. Closes #11550 [Kamal Fariz Mahyuddin]
|
84
156
|
|
85
|
-
* Ensure that respond_to? considers dynamic finder methods. Closes #11538. [
|
157
|
+
* Ensure that respond_to? considers dynamic finder methods. Closes #11538. [James Mead]
|
86
158
|
|
87
|
-
* Ensure that save on parent object fails for invalid has_one association. Closes #10518. [Pratik]
|
159
|
+
* Ensure that save on parent object fails for invalid has_one association. Closes #10518. [Pratik Naik]
|
88
160
|
|
89
|
-
* Remove duplicate code from associations. [Pratik]
|
161
|
+
* Remove duplicate code from associations. [Pratik Naik]
|
90
162
|
|
91
|
-
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Association callbacks and <association>_ids= now work with hm:t. #11516 [
|
163
|
+
* Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Association callbacks and <association>_ids= now work with hm:t. #11516 [Ruy Asan]
|
92
164
|
|
93
|
-
* Ensure HABTM#create and HABTM#build do not load entire association. [Pratik]
|
165
|
+
* Ensure HABTM#create and HABTM#build do not load entire association. [Pratik Naik]
|
94
166
|
|
95
167
|
* Improve documentation. [Xavier Noria, Jack Danger Canty, leethal]
|
96
168
|
|
97
|
-
* Tweak ActiveRecord::Base#to_json to include a root value in the returned hash: {"post": {"title": ...}} [
|
169
|
+
* Tweak ActiveRecord::Base#to_json to include a root value in the returned hash: {"post": {"title": ...}} [Rick Olson]
|
98
170
|
|
99
171
|
Post.find(1).to_json # => {"title": ...}
|
100
172
|
config.active_record.include_root_in_json = true
|
@@ -102,9 +174,9 @@
|
|
102
174
|
|
103
175
|
* Add efficient #include? to AssociationCollection (for has_many/has_many :through/habtm). [stopdropandrew]
|
104
176
|
|
105
|
-
* PostgreSQL: create_ and drop_database support. #9042 [ez, pedz,
|
177
|
+
* PostgreSQL: create_ and drop_database support. #9042 [ez, pedz, Nick Sieger]
|
106
178
|
|
107
|
-
* Ensure that validates_uniqueness_of works with with_scope. Closes #9235. [
|
179
|
+
* Ensure that validates_uniqueness_of works with with_scope. Closes #9235. [Nik Wakelin, cavalle]
|
108
180
|
|
109
181
|
* Partial updates include only unsaved attributes. Off by default; set YourClass.partial_updates = true to enable. [Jeremy Kemper]
|
110
182
|
|
@@ -114,21 +186,21 @@
|
|
114
186
|
|
115
187
|
* Track changes to unsaved attributes. [Jeremy Kemper]
|
116
188
|
|
117
|
-
* Switched to UTC-timebased version numbers for migrations and the schema. This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches #11458 [
|
189
|
+
* Switched to UTC-timebased version numbers for migrations and the schema. This will as good as eliminate the problem of multiple migrations getting the same version assigned in different branches. Also added rake db:migrate:up/down to apply individual migrations that may need to be run when you merge branches #11458 [John Barnette]
|
118
190
|
|
119
|
-
* Fixed that has_many :through would ignore the hash conditions #11447 [
|
191
|
+
* Fixed that has_many :through would ignore the hash conditions #11447 [Emilio Tagua]
|
120
192
|
|
121
193
|
* Fix issue where the :uniq option of a has_many :through association is ignored when find(:all) is called. Closes #9407 [cavalle]
|
122
194
|
|
123
195
|
* Fix duplicate table alias error when including an association with a has_many :through association on the same join table. Closes #7310 [cavalle]
|
124
196
|
|
125
|
-
* More efficient association preloading code that compacts a through_records array in a central location. Closes #11427 [
|
197
|
+
* More efficient association preloading code that compacts a through_records array in a central location. Closes #11427 [Jack Danger Canty]
|
126
198
|
|
127
|
-
* Improve documentation. [
|
199
|
+
* Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
|
128
200
|
|
129
|
-
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor attr_protected/accessible when used with a hash #11422 [
|
201
|
+
* Fixed that ActiveRecord#Base.find_or_create/initialize would not honor attr_protected/accessible when used with a hash #11422 [Emilio Tagua]
|
130
202
|
|
131
|
-
* Added ActiveRecord#Base.all/first/last as aliases for find(:all/:first/:last) #11413 [nkallen,
|
203
|
+
* Added ActiveRecord#Base.all/first/last as aliases for find(:all/:first/:last) #11413 [nkallen, Chris O'Sullivan]
|
132
204
|
|
133
205
|
* Merge the has_finder gem, renamed as 'named_scope'. #11404 [nkallen]
|
134
206
|
|
@@ -144,25 +216,25 @@
|
|
144
216
|
|
145
217
|
See http://pivots.pivotallabs.com/users/nick/blog/articles/284-hasfinder-it-s-now-easier-than-ever-to-create-complex-re-usable-sql-queries
|
146
218
|
|
147
|
-
* Add has_one :through support. #4756 [
|
219
|
+
* Add has_one :through support. #4756 [Chris O'Sullivan]
|
148
220
|
|
149
|
-
* Migrations: create_table supports primary_key_prefix_type. #10314 [student,
|
221
|
+
* Migrations: create_table supports primary_key_prefix_type. #10314 [student, Chris O'Sullivan]
|
150
222
|
|
151
223
|
* Added logging for dependency load errors with fixtures #11056 [stuthulhu]
|
152
224
|
|
153
225
|
* Time zone aware attributes use Time#in_time_zone [Geoff Buesing]
|
154
226
|
|
155
|
-
* Fixed that scoped joins would not always be respected #6821 [Theory/Danger]
|
227
|
+
* Fixed that scoped joins would not always be respected #6821 [Theory/Jack Danger Canty]
|
156
228
|
|
157
229
|
* Ensure that ActiveRecord::Calculations disambiguates field names with the table name. #11027 [cavalle]
|
158
230
|
|
159
231
|
* Added add/remove_timestamps to the schema statements for adding the created_at/updated_at columns on existing tables #11129 [jramirez]
|
160
232
|
|
161
|
-
* Added ActiveRecord::Base.find(:last) #11338 [
|
233
|
+
* Added ActiveRecord::Base.find(:last) #11338 [Emilio Tagua]
|
162
234
|
|
163
235
|
* test_native_types expects DateTime.local_offset instead of DateTime.now.offset; fixes test breakage due to dst transition [Geoff Buesing]
|
164
236
|
|
165
|
-
* Add :readonly option to HasManyThrough associations. #11156 [
|
237
|
+
* Add :readonly option to HasManyThrough associations. #11156 [Emilio Tagua]
|
166
238
|
|
167
239
|
* Improve performance on :include/:conditions/:limit queries by selectively joining in the pre-query. #9560 [dasil003]
|
168
240
|
|
@@ -182,7 +254,7 @@
|
|
182
254
|
|
183
255
|
* Optimise the BigDecimal conversion code. #11110 [adymo]
|
184
256
|
|
185
|
-
* Introduce the :readonly option to all associations. Records from the association cannot be saved. #11084 [
|
257
|
+
* Introduce the :readonly option to all associations. Records from the association cannot be saved. #11084 [Emilio Tagua]
|
186
258
|
|
187
259
|
* Multiparameter attributes for time columns fail over to DateTime when out of range of Time [Geoff Buesing]
|
188
260
|
|
@@ -190,15 +262,15 @@
|
|
190
262
|
|
191
263
|
* Add timezone-aware attribute readers and writers. #10982 [Geoff Buesing]
|
192
264
|
|
193
|
-
* Instantiating time objects in multiparameter attributes uses Time.zone if available. #10982 [
|
265
|
+
* Instantiating time objects in multiparameter attributes uses Time.zone if available. #10982 [Rick Olson]
|
194
266
|
|
195
|
-
* Add note about how ActiveRecord::Observer classes are initialized in a Rails app. #10980 [
|
267
|
+
* Add note about how ActiveRecord::Observer classes are initialized in a Rails app. #10980 [Xavier Noria]
|
196
268
|
|
197
269
|
* MySQL: omit text/blob defaults from the schema instead of using an empty string. #10963 [mdeiters]
|
198
270
|
|
199
271
|
* belongs_to supports :dependent => :destroy and :delete. #10592 [Jonathan Viney]
|
200
272
|
|
201
|
-
* Introduce preload query strategy for eager :includes. #9640 [Frederick Cheung,
|
273
|
+
* Introduce preload query strategy for eager :includes. #9640 [Frederick Cheung, Aliaksey Kandratsenka, codafoo]
|
202
274
|
|
203
275
|
* Support aggregations in finder conditions. #10572 [Ryan Kinderman]
|
204
276
|
|
@@ -214,13 +286,13 @@
|
|
214
286
|
|
215
287
|
* update_all ignores scoped :order and :limit, so post.comments.update_all doesn't try to include the comment order in the update statement. #10686 [Brendan Ribera]
|
216
288
|
|
217
|
-
* Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [
|
289
|
+
* Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [David Heinemeier Hansson]
|
218
290
|
|
219
291
|
* Make sure CSV fixtures are compatible with ruby 1.9's new csv implementation. [JEG2]
|
220
292
|
|
221
293
|
* Added by parameter to increment, decrement, and their bang varieties so you can do player1.increment!(:points, 5) #10542 [Sam]
|
222
294
|
|
223
|
-
* Optimize ActiveRecord::Base#exists? to use #select_all instead of #find. Closes #10605 [jamesh,
|
295
|
+
* Optimize ActiveRecord::Base#exists? to use #select_all instead of #find. Closes #10605 [jamesh, Frederick Cheung, protocool]
|
224
296
|
|
225
297
|
* Don't unnecessarily load has_many associations in after_update callbacks. Closes #6822 [stopdropandrew, canadaduane]
|
226
298
|
|
@@ -233,11 +305,11 @@
|
|
233
305
|
|
234
306
|
*2.0.2* (December 16th, 2007)
|
235
307
|
|
236
|
-
* Ensure optimistic locking handles nil #lock_version values properly. Closes #10510 [
|
308
|
+
* Ensure optimistic locking handles nil #lock_version values properly. Closes #10510 [Rick Olson]
|
237
309
|
|
238
310
|
* Make the Fixtures Test::Unit enhancements more supporting for double-loaded test cases. Closes #10379 [brynary]
|
239
311
|
|
240
|
-
* Fix that validates_acceptance_of still works for non-existent tables (useful for bootstrapping new databases). Closes #10474 [
|
312
|
+
* Fix that validates_acceptance_of still works for non-existent tables (useful for bootstrapping new databases). Closes #10474 [Josh Susser]
|
241
313
|
|
242
314
|
* Ensure that the :uniq option for has_many :through associations retains the order. #10463 [remvee]
|
243
315
|
|
@@ -248,19 +320,19 @@
|
|
248
320
|
|
249
321
|
*2.0.1* (December 7th, 2007)
|
250
322
|
|
251
|
-
* Removed query cache rescue as it could cause code to be run twice (closes #10408) [
|
323
|
+
* Removed query cache rescue as it could cause code to be run twice (closes #10408) [David Heinemeier Hansson]
|
252
324
|
|
253
325
|
|
254
326
|
*2.0.0* (December 6th, 2007)
|
255
327
|
|
256
328
|
* Anchor DateTimeTest to fixed DateTime instead of a variable value based on Time.now#advance#to_datetime, so that this test passes on 64-bit platforms running Ruby 1.8.6+ [Geoff Buesing]
|
257
329
|
|
258
|
-
* Fixed that the Query Cache should just be ignored if the database is misconfigured (so that the "About your applications environment" works even before the database has been created) [
|
330
|
+
* Fixed that the Query Cache should just be ignored if the database is misconfigured (so that the "About your applications environment" works even before the database has been created) [David Heinemeier Hansson]
|
259
331
|
|
260
332
|
* Fixed that the truncation of strings longer than 50 chars should use inspect
|
261
333
|
so newlines etc are escaped #10385 [Norbert Crombach]
|
262
334
|
|
263
|
-
* Fixed that habtm associations should be able to set :select as part of their definition and have that honored [
|
335
|
+
* Fixed that habtm associations should be able to set :select as part of their definition and have that honored [David Heinemeier Hansson]
|
264
336
|
|
265
337
|
* Document how the :include option can be used in Calculations::calculate. Closes #7446 [adamwiggins, ultimoamore]
|
266
338
|
|
@@ -270,7 +342,7 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
270
342
|
|
271
343
|
* More complete documentation for find_by_sql. Closes #7912 [fearoffish]
|
272
344
|
|
273
|
-
* Added ActiveRecord::Base#becomes to turn a record into one of another class (mostly relevant for STIs) [
|
345
|
+
* Added ActiveRecord::Base#becomes to turn a record into one of another class (mostly relevant for STIs) [David Heinemeier Hansson]. Example:
|
274
346
|
|
275
347
|
render :partial => @client.becomes(Company) # renders companies/company instead of clients/client
|
276
348
|
|
@@ -296,25 +368,25 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
296
368
|
|
297
369
|
* attr_readonly behaves well with optimistic locking. #10188 [Nick Bugajski]
|
298
370
|
|
299
|
-
* Base#to_xml supports the nil="true" attribute like Hash#to_xml. #8268 [
|
371
|
+
* Base#to_xml supports the nil="true" attribute like Hash#to_xml. #8268 [Jonathan del Strother]
|
300
372
|
|
301
|
-
* Change plings to the more conventional quotes in the documentation. Closes #10104 [
|
373
|
+
* Change plings to the more conventional quotes in the documentation. Closes #10104 [Jack Danger Canty]
|
302
374
|
|
303
|
-
* Fix HasManyThrough Association so it uses :conditions on the HasMany Association. Closes #9729 [
|
375
|
+
* Fix HasManyThrough Association so it uses :conditions on the HasMany Association. Closes #9729 [Jack Danger Canty]
|
304
376
|
|
305
377
|
* Ensure that column names are quoted. Closes #10134 [wesley.moxam]
|
306
378
|
|
307
|
-
* Smattering of grammatical fixes to documentation. Closes #10083 [
|
379
|
+
* Smattering of grammatical fixes to documentation. Closes #10083 [Bob Silva]
|
308
380
|
|
309
|
-
* Enhance explanation with more examples for attr_accessible macro. Closes #8095 [fearoffish, Marcel Molina]
|
381
|
+
* Enhance explanation with more examples for attr_accessible macro. Closes #8095 [fearoffish, Marcel Molina Jr.]
|
310
382
|
|
311
383
|
* Update association/method mapping table to refected latest collection methods for has_many :through. Closes #8772 [Pratik Naik]
|
312
384
|
|
313
|
-
* Explain semantics of having several different AR instances in a transaction block. Closes #9036 [jacobat, Marcel Molina]
|
385
|
+
* Explain semantics of having several different AR instances in a transaction block. Closes #9036 [jacobat, Marcel Molina Jr.]
|
314
386
|
|
315
|
-
* Update Schema documentation to use updated sexy migration notation. Closes #10086 [
|
387
|
+
* Update Schema documentation to use updated sexy migration notation. Closes #10086 [Sam Granieri]
|
316
388
|
|
317
|
-
* Make fixtures work with the new test subclasses. [Tarmo Tänav,
|
389
|
+
* Make fixtures work with the new test subclasses. [Tarmo Tänav, Michael Koziarski]
|
318
390
|
|
319
391
|
* Introduce finder :joins with associations. Same :include syntax but with inner rather than outer joins. #10012 [RubyRedRick]
|
320
392
|
# Find users with an avatar
|
@@ -325,7 +397,7 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
325
397
|
|
326
398
|
* Associations: speedup duplicate record check. #10011 [Pratik Naik]
|
327
399
|
|
328
|
-
* Make sure that << works on has_many associations on unsaved records. Closes #9989 [
|
400
|
+
* Make sure that << works on has_many associations on unsaved records. Closes #9989 [Josh Susser]
|
329
401
|
|
330
402
|
* Allow association redefinition in subclasses. #9346 [wildchild]
|
331
403
|
|
@@ -348,7 +420,7 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
348
420
|
|
349
421
|
* Use VALID_FIND_OPTIONS when resolving :find scoping rather than hard coding the list of valid find options. Closes #9443 [sur]
|
350
422
|
|
351
|
-
* Limited eager loading no longer ignores scoped :order. Closes #9561 [
|
423
|
+
* Limited eager loading no longer ignores scoped :order. Closes #9561 [Jack Danger Canty, Josh Peek]
|
352
424
|
|
353
425
|
* Assigning an instance of a foreign class to a composed_of aggregate calls an optional conversion block. Refactor and simplify composed_of implementation. #6322 [brandon, Chris Cruft]
|
354
426
|
|
@@ -361,7 +433,7 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
361
433
|
* Complete the assimilation of Sexy Migrations from ErrFree [Chris Wanstrath, PJ Hyett]
|
362
434
|
http://errtheblog.com/post/2381
|
363
435
|
|
364
|
-
* Qualified column names work in hash conditions, like :conditions => { 'comments.created_at' => ... }. #9733 [
|
436
|
+
* Qualified column names work in hash conditions, like :conditions => { 'comments.created_at' => ... }. #9733 [Jack Danger Canty]
|
365
437
|
|
366
438
|
* Fix regression where the association would not construct new finder SQL on save causing bogus queries for "WHERE owner_id = NULL" even after owner was saved. #8713 [Bryan Helmkamp]
|
367
439
|
|
@@ -371,11 +443,11 @@ so newlines etc are escaped #10385 [Norbert Crombach]
|
|
371
443
|
|
372
444
|
* Alias association #build to #new so it behaves predictably. #8787 [Pratik Naik]
|
373
445
|
|
374
|
-
* Add notes to documentation regarding attr_readonly behavior with counter caches and polymorphic associations. Closes #9835 [saimonmoore,
|
446
|
+
* Add notes to documentation regarding attr_readonly behavior with counter caches and polymorphic associations. Closes #9835 [saimonmoore, Rick Olson]
|
375
447
|
|
376
448
|
* Observers can observe model names as symbols properly now. Closes #9869 [queso]
|
377
449
|
|
378
|
-
* find_and_(initialize|create)_by methods can now properly initialize protected attributes [Tobias
|
450
|
+
* find_and_(initialize|create)_by methods can now properly initialize protected attributes [Tobias Lütke]
|
379
451
|
|
380
452
|
* belongs_to infers the foreign key from the association name instead of from the class name. [Jeremy Kemper]
|
381
453
|
|
@@ -394,16 +466,16 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
394
466
|
|
395
467
|
* Allow change_column to set NOT NULL in the PostgreSQL adapter [Tarmo Tänav]
|
396
468
|
|
397
|
-
* Fix that ActiveRecord would create attribute methods and override custom attribute getters if the method is also defined in Kernel.methods. [Rick]
|
469
|
+
* Fix that ActiveRecord would create attribute methods and override custom attribute getters if the method is also defined in Kernel.methods. [Rick Olson]
|
398
470
|
|
399
|
-
* Don't call attr_readonly on polymorphic belongs_to associations, in case it matches the name of some other non-ActiveRecord class/module. [Rick]
|
471
|
+
* Don't call attr_readonly on polymorphic belongs_to associations, in case it matches the name of some other non-ActiveRecord class/module. [Rick Olson]
|
400
472
|
|
401
473
|
* Try loading activerecord-<adaptername>-adapter gem before trying a plain require so you can use custom gems for the bundled adapters. Also stops gems from requiring an adapter from an old Active Record gem. [Jeremy Kemper, Derrick Spell]
|
402
474
|
|
403
475
|
|
404
476
|
*2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.14.2 - 1.15.3]
|
405
477
|
|
406
|
-
* Add attr_readonly to specify columns that are skipped during a normal ActiveRecord #save operation. Closes #6896 [
|
478
|
+
* Add attr_readonly to specify columns that are skipped during a normal ActiveRecord #save operation. Closes #6896 [Dan Manges]
|
407
479
|
|
408
480
|
class Comment < ActiveRecord::Base
|
409
481
|
# Automatically sets Article#comments_count as readonly.
|
@@ -414,7 +486,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
414
486
|
attr_readonly :approved_comments_count
|
415
487
|
end
|
416
488
|
|
417
|
-
* Make size for has_many :through use counter cache if it exists. Closes #9734 [
|
489
|
+
* Make size for has_many :through use counter cache if it exists. Closes #9734 [Xavier Shay]
|
418
490
|
|
419
491
|
* Remove DB2 adapter since IBM chooses to maintain their own adapter instead. [Jeremy Kemper]
|
420
492
|
|
@@ -430,9 +502,9 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
430
502
|
|
431
503
|
* Added the possibility of using symbols in addition to concrete classes with ActiveRecord::Observer#observe. #3998 [Robby Russell, Tarmo Tänav]
|
432
504
|
|
433
|
-
* Added ActiveRecord::Base#to_json/from_json [
|
505
|
+
* Added ActiveRecord::Base#to_json/from_json [David Heinemeier Hansson, Cheah Chu Yeow]
|
434
506
|
|
435
|
-
* Added ActiveRecord::Base#from_xml [
|
507
|
+
* Added ActiveRecord::Base#from_xml [David Heinemeier Hansson]. Example:
|
436
508
|
|
437
509
|
xml = "<person><name>David</name></person>"
|
438
510
|
Person.new.from_xml(xml).name # => "David"
|
@@ -467,27 +539,27 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
467
539
|
|
468
540
|
* Explicitly require active_record/query_cache before using it. [Jeremy Kemper]
|
469
541
|
|
470
|
-
* Fix bug where unserializing an attribute attempts to modify a frozen @attributes hash for a deleted record. [Rick, marclove]
|
542
|
+
* Fix bug where unserializing an attribute attempts to modify a frozen @attributes hash for a deleted record. [Rick Olson, marclove]
|
471
543
|
|
472
544
|
* Performance: absorb instantiate and initialize_with_callbacks into the Base methods. [Jeremy Kemper]
|
473
545
|
|
474
|
-
* Fixed that eager loading queries and with_scope should respect the :group option [
|
546
|
+
* Fixed that eager loading queries and with_scope should respect the :group option [David Heinemeier Hansson]
|
475
547
|
|
476
548
|
* Improve performance and functionality of the postgresql adapter. Closes #8049 [roderickvd]
|
477
549
|
|
478
550
|
For more information see: http://dev.rubyonrails.org/ticket/8049
|
479
551
|
|
480
|
-
* Don't clobber includes passed to has_many.count [
|
552
|
+
* Don't clobber includes passed to has_many.count [Jack Danger Canty]
|
481
553
|
|
482
|
-
* Make sure has_many uses :include when counting [
|
554
|
+
* Make sure has_many uses :include when counting [Jack Danger Canty]
|
483
555
|
|
484
|
-
* Change the implementation of ActiveRecord's attribute reader and writer methods [
|
556
|
+
* Change the implementation of ActiveRecord's attribute reader and writer methods [Michael Koziarski]
|
485
557
|
- Generate Reader and Writer methods which cache attribute values in hashes. This is to avoid repeatedly parsing the same date or integer columns.
|
486
558
|
- Change exception raised when users use find with :select then try to access a skipped column. Plugins could override missing_attribute() to lazily load the columns.
|
487
559
|
- Move method definition to the class, instead of the instance
|
488
560
|
- Always generate the readers, writers and predicate methods.
|
489
561
|
|
490
|
-
* Perform a deep #dup on query cache results so that modifying activerecord attributes does not modify the cached attributes. [Rick]
|
562
|
+
* Perform a deep #dup on query cache results so that modifying activerecord attributes does not modify the cached attributes. [Rick Olson]
|
491
563
|
|
492
564
|
# Ensure that has_many :through associations use a count query instead of loading the target when #size is called. Closes #8800 [Pratik Naik]
|
493
565
|
|
@@ -507,7 +579,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
507
579
|
|
508
580
|
* Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993 [Pratik Naik]
|
509
581
|
|
510
|
-
* Change belongs_to so that the foreign_key assumption is taken from the association name, not the class name. Closes #8992 [
|
582
|
+
* Change belongs_to so that the foreign_key assumption is taken from the association name, not the class name. Closes #8992 [Josh Susser]
|
511
583
|
|
512
584
|
OLD
|
513
585
|
belongs_to :visitor, :class_name => 'User' # => inferred foreign_key is user_id
|
@@ -521,7 +593,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
521
593
|
|
522
594
|
* Move from select * to select tablename.* to avoid clobbering IDs. Closes #8889 [dasil003]
|
523
595
|
|
524
|
-
* Don't call unsupported methods on associated objects when using :include, :method with to_xml #7307, [
|
596
|
+
* Don't call unsupported methods on associated objects when using :include, :method with to_xml #7307, [Manfred Stienstra, jwilger]
|
525
597
|
|
526
598
|
* Define collection singular ids method for has_many :through associations. #8763 [Pratik Naik]
|
527
599
|
|
@@ -535,7 +607,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
535
607
|
|
536
608
|
* Update tests' use of fixtures for the new collections api. #8726 [Kamal Fariz Mahyuddin]
|
537
609
|
|
538
|
-
* Save associated records only if the association is already loaded. #8713 [
|
610
|
+
* Save associated records only if the association is already loaded. #8713 [Blaine]
|
539
611
|
|
540
612
|
* MySQL: fix show_variable. #8448 [matt, Jeremy Kemper]
|
541
613
|
|
@@ -579,7 +651,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
579
651
|
|
580
652
|
* Load database adapters on demand. Eliminates config.connection_adapters and RAILS_CONNECTION_ADAPTERS. Add your lib directory to the $LOAD_PATH and put your custom adapter in lib/active_record/connection_adapters/adaptername_adapter.rb. This way you can provide custom adapters as plugins or gems without modifying Rails. [Jeremy Kemper]
|
581
653
|
|
582
|
-
* Ensure that associations with :dependent => :delete_all respect :conditions option. Closes #8034 [
|
654
|
+
* Ensure that associations with :dependent => :delete_all respect :conditions option. Closes #8034 [Jack Danger Canty, Josh Peek, Rick Olson]
|
583
655
|
|
584
656
|
* belongs_to assignment creates a new proxy rather than modifying its target in-place. #8412 [mmangino@elevatedrails.com]
|
585
657
|
|
@@ -591,13 +663,13 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
591
663
|
|
592
664
|
* Sanitize Base#inspect. #8392, #8623 [Nik Wakelin, jnoon]
|
593
665
|
|
594
|
-
* Replace the transaction {|transaction|..} semantics with a new Exception ActiveRecord::Rollback. [
|
666
|
+
* Replace the transaction {|transaction|..} semantics with a new Exception ActiveRecord::Rollback. [Michael Koziarski]
|
595
667
|
|
596
668
|
* Oracle: extract column length for CHAR also. #7866 [ymendel]
|
597
669
|
|
598
670
|
* Document :allow_nil option for validates_acceptance_of since it defaults to true. [tzaharia]
|
599
671
|
|
600
|
-
* Update documentation for :dependent declaration so that it explicitly uses the non-deprecated API. [
|
672
|
+
* Update documentation for :dependent declaration so that it explicitly uses the non-deprecated API. [Jack Danger Canty]
|
601
673
|
|
602
674
|
* Add documentation caveat about when to use count_by_sql. [fearoffish]
|
603
675
|
|
@@ -607,7 +679,7 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
607
679
|
|
608
680
|
* Add documentation for :encoding option to mysql adapter. [marclove]
|
609
681
|
|
610
|
-
* Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [
|
682
|
+
* Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381) [David Heinemeier Hansson]. Example:
|
611
683
|
|
612
684
|
create_table "products" do |t|
|
613
685
|
t.column "shop_id", :integer
|
@@ -626,17 +698,17 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
626
698
|
t.timestamps
|
627
699
|
end
|
628
700
|
|
629
|
-
* Use association name for the wrapper element when using .to_xml. Previous behavior lead to non-deterministic situations with STI and polymorphic associations. [
|
701
|
+
* Use association name for the wrapper element when using .to_xml. Previous behavior lead to non-deterministic situations with STI and polymorphic associations. [Michael Koziarski, jstrachan]
|
630
702
|
|
631
703
|
* Improve performance of calling .create on has_many :through associations. [evan]
|
632
704
|
|
633
705
|
* Improved cloning performance by relying less on exception raising #8159 [Blaine]
|
634
706
|
|
635
|
-
* Added ActiveRecord::Base.inspect to return a column-view like #<Post id:integer, title:string, body:text> [
|
707
|
+
* Added ActiveRecord::Base.inspect to return a column-view like #<Post id:integer, title:string, body:text> [David Heinemeier Hansson]
|
636
708
|
|
637
|
-
* Added yielding of Builder instance for ActiveRecord::Base#to_xml calls [
|
709
|
+
* Added yielding of Builder instance for ActiveRecord::Base#to_xml calls [David Heinemeier Hansson]
|
638
710
|
|
639
|
-
* Small additions and fixes for ActiveRecord documentation. Closes #7342 [
|
711
|
+
* Small additions and fixes for ActiveRecord documentation. Closes #7342 [Jeremy McAnally]
|
640
712
|
|
641
713
|
* Add helpful debugging info to the ActiveRecord::StatementInvalid exception in ActiveRecord::ConnectionAdapters::SqliteAdapter#table_structure. Closes #7925. [court3nay]
|
642
714
|
|
@@ -646,13 +718,13 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
646
718
|
|
647
719
|
* Base.update_all :order and :limit options. Useful for MySQL updates that must be ordered to avoid violating unique constraints. [Jeremy Kemper]
|
648
720
|
|
649
|
-
* Remove deprecated object transactions. People relying on this functionality should install the object_transactions plugin at http://code.bitsweat.net/svn/object_transactions. Closes #5637 [
|
721
|
+
* Remove deprecated object transactions. People relying on this functionality should install the object_transactions plugin at http://code.bitsweat.net/svn/object_transactions. Closes #5637 [Michael Koziarski, Jeremy Kemper]
|
650
722
|
|
651
723
|
* PostgreSQL: remove DateTime -> Time downcast. Warning: do not enable translate_results for the C bindings if you have timestamps outside Time's domain. [Jeremy Kemper]
|
652
724
|
|
653
725
|
* find_or_create_by_* takes a hash so you can create with more attributes than are in the method name. For example, Person.find_or_create_by_name(:name => 'Henry', :comments => 'Hi new user!') is equivalent to Person.find_by_name('Henry') || Person.create(:name => 'Henry', :comments => 'Hi new user!'). #7368 [Josh Susser]
|
654
726
|
|
655
|
-
* Make sure with_scope takes both :select and :joins into account when setting :readonly. Allows you to save records you retrieve using method_missing on a has_many :through associations. [
|
727
|
+
* Make sure with_scope takes both :select and :joins into account when setting :readonly. Allows you to save records you retrieve using method_missing on a has_many :through associations. [Michael Koziarski]
|
656
728
|
|
657
729
|
* Allow a polymorphic :source for has_many :through associations. Closes #7143 [protocool]
|
658
730
|
|
@@ -677,13 +749,13 @@ single-table inheritance. #3833, #9886 [Gabriel Gironda, rramdas, François Bea
|
|
677
749
|
* Test DateTime native type in migrations, including an edge case with dates
|
678
750
|
during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
679
751
|
|
680
|
-
* SQLServer: correctly schema-dump tables with no indexes or descending indexes. #7333, #7703 [Jakob
|
752
|
+
* SQLServer: correctly schema-dump tables with no indexes or descending indexes. #7333, #7703 [Jakob Skjerning, Tom Ward]
|
681
753
|
|
682
754
|
* SQLServer: recognize real column type as Ruby float. #7057 [sethladd, Tom Ward]
|
683
755
|
|
684
|
-
* Added fixtures :all as a way of loading all fixtures in the fixture directory at once #7214 [
|
756
|
+
* Added fixtures :all as a way of loading all fixtures in the fixture directory at once #7214 [Manfred Stienstra]
|
685
757
|
|
686
|
-
* Added database connection as a yield parameter to ActiveRecord::Base.transaction so you can manually rollback [
|
758
|
+
* Added database connection as a yield parameter to ActiveRecord::Base.transaction so you can manually rollback [David Heinemeier Hansson]. Example:
|
687
759
|
|
688
760
|
transaction do |transaction|
|
689
761
|
david.withdrawal(100)
|
@@ -693,14 +765,14 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
693
765
|
|
694
766
|
* Made increment_counter/decrement_counter play nicely with optimistic locking, and added a more general update_counters method [Jamis Buck]
|
695
767
|
|
696
|
-
* Reworked David's query cache to be available as Model.cache {...}. For the duration of the block no select query should be run more then once. Any inserts/deletes/executes will flush the whole cache however [Tobias
|
768
|
+
* Reworked David's query cache to be available as Model.cache {...}. For the duration of the block no select query should be run more then once. Any inserts/deletes/executes will flush the whole cache however [Tobias Lütke]
|
697
769
|
Task.cache { Task.find(1); Task.find(1) } #=> 1 query
|
698
770
|
|
699
771
|
* When dealing with SQLite3, use the table_info pragma helper, so that the bindings can do some translation for when sqlite3 breaks incompatibly between point releases. [Jamis Buck]
|
700
772
|
|
701
773
|
* Oracle: fix lob and text default handling. #7344 [gfriedrich, Michael Schoen]
|
702
774
|
|
703
|
-
* SQLServer: don't choke on strings containing 'null'. #7083 [Jakob
|
775
|
+
* SQLServer: don't choke on strings containing 'null'. #7083 [Jakob Skjerning]
|
704
776
|
|
705
777
|
* MySQL: blob and text columns may not have defaults in 5.x. Update fixtures schema for strict mode. #6695 [Dan Kubb]
|
706
778
|
|
@@ -710,7 +782,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
710
782
|
|
711
783
|
* Use Date#to_s(:db) for quoted dates. #7411 [Michael Schoen]
|
712
784
|
|
713
|
-
* Don't create instance writer methods for class attributes. Closes #7401 [Rick]
|
785
|
+
* Don't create instance writer methods for class attributes. Closes #7401 [Rick Olson]
|
714
786
|
|
715
787
|
* Docs: validations examples. #7343 [zackchandler]
|
716
788
|
|
@@ -730,11 +802,11 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
730
802
|
|
731
803
|
* Make sure sqlite3 driver closes open connections on disconnect [Rob Rasmussen]
|
732
804
|
|
733
|
-
* [DOC] clear up some ambiguity with the way has_and_belongs_to_many creates the default join table name. #7072 [
|
805
|
+
* [DOC] clear up some ambiguity with the way has_and_belongs_to_many creates the default join table name. #7072 [Jeremy McAnally]
|
734
806
|
|
735
807
|
* change_column accepts :default => nil. Skip column options for primary keys. #6956, #7048 [Dan Manges, Jeremy Kemper]
|
736
808
|
|
737
|
-
* MySQL, PostgreSQL: change_column_default quotes the default value and doesn't lose column type information. #3987, #6664 [Jonathan Viney,
|
809
|
+
* MySQL, PostgreSQL: change_column_default quotes the default value and doesn't lose column type information. #3987, #6664 [Jonathan Viney, Manfred Stienstra, altano@bigfoot.com]
|
738
810
|
|
739
811
|
* Oracle: create_table takes a :sequence_name option to override the 'tablename_seq' default. #7000 [Michael Schoen]
|
740
812
|
|
@@ -769,15 +841,15 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
769
841
|
|
770
842
|
* fix faulty inheritance tests and that eager loading grabs the wrong inheritance column when the class of your association is an STI subclass. Closes #6859 [protocool]
|
771
843
|
|
772
|
-
* Consolidated different create and create! versions to call through to the base class with scope. This fixes inconsistencies, especially related to protected attribtues. Closes #5847 [Alexander Dymo, Tobias
|
844
|
+
* Consolidated different create and create! versions to call through to the base class with scope. This fixes inconsistencies, especially related to protected attribtues. Closes #5847 [Alexander Dymo, Tobias Lütke]
|
773
845
|
|
774
846
|
* find supports :lock with :include. Check whether your database allows SELECT ... FOR UPDATE with outer joins before using. #6764 [vitaly, Jeremy Kemper]
|
775
847
|
|
776
848
|
* Add AssociationCollection#create! to be consistent with AssociationCollection#create when dealing with a foreign key that is a protected attribute [Cody Fauser]
|
777
849
|
|
778
|
-
* Added counter optimization for AssociationCollection#any? so person.friends.any? won't actually load the full association if we have the count in a cheaper form [
|
850
|
+
* Added counter optimization for AssociationCollection#any? so person.friends.any? won't actually load the full association if we have the count in a cheaper form [David Heinemeier Hansson]
|
779
851
|
|
780
|
-
* Change fixture_path to a class inheritable accessor allowing test cases to have their own custom set of fixtures. #6672 [
|
852
|
+
* Change fixture_path to a class inheritable accessor allowing test cases to have their own custom set of fixtures. #6672 [Zach Dennis]
|
781
853
|
|
782
854
|
* Quote ActiveSupport::Multibyte::Chars. #6653 [Julian Tarkhanov]
|
783
855
|
|
@@ -832,15 +904,15 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
832
904
|
|
833
905
|
* Fix has_many :through to add the appropriate conditions when going through an association using STI. Closes #5783. [Jonathan Viney]
|
834
906
|
|
835
|
-
* fix select_limited_ids_list issues in postgresql, retain current behavior in other adapters [Rick]
|
907
|
+
* fix select_limited_ids_list issues in postgresql, retain current behavior in other adapters [Rick Olson]
|
836
908
|
|
837
|
-
* Restore eager condition interpolation, document it's differences [Rick]
|
909
|
+
* Restore eager condition interpolation, document it's differences [Rick Olson]
|
838
910
|
|
839
911
|
* Don't rollback in teardown unless a transaction was started. Don't start a transaction in create_fixtures if a transaction is started. #6282 [Jacob Fugal, Jeremy Kemper]
|
840
912
|
|
841
913
|
* Add #delete support to has_many :through associations. Closes #6049 [Martin Landers]
|
842
914
|
|
843
|
-
* Reverted old select_limited_ids_list postgresql fix that caused issues in mysql. Closes #5851 [Rick]
|
915
|
+
* Reverted old select_limited_ids_list postgresql fix that caused issues in mysql. Closes #5851 [Rick Olson]
|
844
916
|
|
845
917
|
* Removes the ability for eager loaded conditions to be interpolated, since there is no model instance to use as a context for interpolation. #5553 [turnip@turnipspatch.com]
|
846
918
|
|
@@ -848,7 +920,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
848
920
|
|
849
921
|
* Added update_attributes! which uses save! to raise an exception if a validation error prevents saving #6192 [jonathan]
|
850
922
|
|
851
|
-
* Deprecated add_on_boundary_breaking (use validates_length_of instead) #6292 [
|
923
|
+
* Deprecated add_on_boundary_breaking (use validates_length_of instead) #6292 [Bob Silva]
|
852
924
|
|
853
925
|
* The has_many create method works with polymorphic associations. #6361 [Dan Peterson]
|
854
926
|
|
@@ -864,9 +936,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
864
936
|
|
865
937
|
* has_one associations with a nil target may be safely marshaled. #6279 [norbauer, Jeremy Kemper]
|
866
938
|
|
867
|
-
* Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side effects [
|
939
|
+
* Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side effects [Michael Koziarski]
|
868
940
|
|
869
|
-
* Add a :namespace option to AR::Base#to_xml [
|
941
|
+
* Add a :namespace option to AR::Base#to_xml [Michael Koziarski]
|
870
942
|
|
871
943
|
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count method if it's also an attribute. [Jeremy Kemper]
|
872
944
|
|
@@ -874,7 +946,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
874
946
|
|
875
947
|
* Improve yaml fixtures error reporting. #6205 [Bruce Williams]
|
876
948
|
|
877
|
-
* Rename AR::Base#quote so people can use that name in their models. #3628 [
|
949
|
+
* Rename AR::Base#quote so people can use that name in their models. #3628 [Michael Koziarski]
|
878
950
|
|
879
951
|
* Add deprecation warning for inferred foreign key. #6029 [Josh Susser]
|
880
952
|
|
@@ -888,7 +960,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
888
960
|
|
889
961
|
* to_xml: the :methods option works on arrays of records. #5845 [Josh Starcher]
|
890
962
|
|
891
|
-
* Deprecation: update docs. #5998 [
|
963
|
+
* Deprecation: update docs. #5998 [Jakob Skjerning, Kevin Clark]
|
892
964
|
|
893
965
|
* Add some XmlSerialization tests for ActiveRecord [Rick Olson]
|
894
966
|
|
@@ -914,9 +986,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
914
986
|
|
915
987
|
* MySQL: update test schema for MySQL 5 strict mode. #5861 [Tom Ward]
|
916
988
|
|
917
|
-
* to_xml: correct naming of included associations. #5831 [
|
989
|
+
* to_xml: correct naming of included associations. #5831 [Josh Starcher]
|
918
990
|
|
919
|
-
* Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key and adds it to the correct association. #5815, #5829 [
|
991
|
+
* Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key and adds it to the correct association. #5815, #5829 [Josh Susser]
|
920
992
|
|
921
993
|
* Add records to has_many :through using <<, push, and concat by creating the association record. Raise if base or associate are new records since both ids are required to create the association. #build raises since you can't associate an unsaved record. #create! takes an attributes hash and creates the associated record and its association in a transaction. [Jeremy Kemper]
|
922
994
|
|
@@ -932,7 +1004,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
932
1004
|
|
933
1005
|
* Cache nil results for :included has_one associations also. #5787 [Michael Schoen]
|
934
1006
|
|
935
|
-
* Fixed a bug which would cause .save to fail after trying to access a empty has_one association on a unsaved record. [Tobias
|
1007
|
+
* Fixed a bug which would cause .save to fail after trying to access a empty has_one association on a unsaved record. [Tobias Lütke]
|
936
1008
|
|
937
1009
|
* Nested classes are given table names prefixed by the singular form of the parent's table name. [Jeremy Kemper]
|
938
1010
|
Example: Invoice::Lineitem is given table name invoice_lineitems
|
@@ -962,7 +1034,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
962
1034
|
|
963
1035
|
* Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
|
964
1036
|
|
965
|
-
* Cache nil results for has_one associations so multiple calls don't call the database. Closes #5757. [Michael
|
1037
|
+
* Cache nil results for has_one associations so multiple calls don't call the database. Closes #5757. [Michael Schoen]
|
966
1038
|
|
967
1039
|
* Add documentation for how to disable timestamps on a per model basis. Closes #5684. [matt@mattmargolis.net Marcel Molina Jr.]
|
968
1040
|
|
@@ -970,9 +1042,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
970
1042
|
|
971
1043
|
* Refactor ActiveRecord::Base.reset_subclasses to #reset, and add global observer resetting. [Rick Olson]
|
972
1044
|
|
973
|
-
* Formally deprecate the deprecated finders. [
|
1045
|
+
* Formally deprecate the deprecated finders. [Michael Koziarski]
|
974
1046
|
|
975
|
-
* Formally deprecate rich associations. [
|
1047
|
+
* Formally deprecate rich associations. [Michael Koziarski]
|
976
1048
|
|
977
1049
|
* Fixed that default timezones for new / initialize should uphold utc setting #5709 [daniluk@yahoo.com]
|
978
1050
|
|
@@ -1006,7 +1078,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1006
1078
|
|
1007
1079
|
* SQLServer: fix db:schema:dump case-sensitivity. #4684 [Will Rogers]
|
1008
1080
|
|
1009
|
-
* Oracle: BigDecimal support. #5667 [
|
1081
|
+
* Oracle: BigDecimal support. #5667 [Michael Schoen]
|
1010
1082
|
|
1011
1083
|
* Numeric and decimal columns map to BigDecimal instead of Float. Those with scale 0 map to Integer. #5454 [robbat2@gentoo.org, work@ashleymoran.me.uk]
|
1012
1084
|
|
@@ -1022,9 +1094,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1022
1094
|
|
1023
1095
|
* Clearer has_one/belongs_to model names (account has_one :user). #5632 [matt@mattmargolis.net]
|
1024
1096
|
|
1025
|
-
* Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic locking, don't guess date vs. time by default (set OracleAdapter.emulate_dates = true for the old behavior), adapter cleanup. #5635 [
|
1097
|
+
* Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic locking, don't guess date vs. time by default (set OracleAdapter.emulate_dates = true for the old behavior), adapter cleanup. #5635 [Michael Schoen]
|
1026
1098
|
|
1027
|
-
* Fixed a few Oracle issues: Allows Oracle's odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [
|
1099
|
+
* Fixed a few Oracle issues: Allows Oracle's odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [Michael Schoen]
|
1028
1100
|
|
1029
1101
|
* Added :group to available options for finds done on associations #5516 [mike@michaeldewey.org]
|
1030
1102
|
|
@@ -1059,9 +1131,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1059
1131
|
|
1060
1132
|
* Use explicit delegation instead of method aliasing for AR::Base.to_param -> AR::Base.id. #5299 (skaes@web.de)
|
1061
1133
|
|
1062
|
-
* Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [
|
1134
|
+
* Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [David Heinemeier Hansson]
|
1063
1135
|
|
1064
|
-
* Added simple hash conditions to find that'll just convert hash to an AND-based condition string #5143 [
|
1136
|
+
* Added simple hash conditions to find that'll just convert hash to an AND-based condition string #5143 [Hampton Catlin]. Example:
|
1065
1137
|
|
1066
1138
|
Person.find(:all, :conditions => { :last_name => "Catlin", :status => 1 }, :limit => 2)
|
1067
1139
|
|
@@ -1092,26 +1164,26 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1092
1164
|
Foo.find(:all, :conditions => ['bar_id IN (?)', bars])
|
1093
1165
|
Foo.find(:first, :conditions => ['bar_id = ?', bar])
|
1094
1166
|
|
1095
|
-
* Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would fail if collection was empty [
|
1167
|
+
* Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would fail if collection was empty [David Heinemeier Hansson]
|
1096
1168
|
|
1097
|
-
* Add a list of regexes assert_queries skips in the ActiveRecord test suite. [Rick]
|
1169
|
+
* Add a list of regexes assert_queries skips in the ActiveRecord test suite. [Rick Olson]
|
1098
1170
|
|
1099
|
-
* Fix the has_and_belongs_to_many #create doesn't populate the join for new records. Closes #3692 [
|
1171
|
+
* Fix the has_and_belongs_to_many #create doesn't populate the join for new records. Closes #3692 [Josh Susser]
|
1100
1172
|
|
1101
1173
|
* Provide Association Extensions access to the instance that the association is being accessed from.
|
1102
|
-
Closes #4433 [
|
1174
|
+
Closes #4433 [Josh Susser]
|
1103
1175
|
|
1104
1176
|
* Update OpenBase adaterp's maintainer's email address. Closes #5176. [Derrick Spell]
|
1105
1177
|
|
1106
|
-
* Add a quick note about :select and eagerly included associations. [Rick]
|
1178
|
+
* Add a quick note about :select and eagerly included associations. [Rick Olson]
|
1107
1179
|
|
1108
1180
|
* Add docs for the :as option in has_one associations. Closes #5144 [cdcarter@gmail.com]
|
1109
1181
|
|
1110
|
-
* Fixed that has_many collections shouldn't load the entire association to do build or create [
|
1182
|
+
* Fixed that has_many collections shouldn't load the entire association to do build or create [David Heinemeier Hansson]
|
1111
1183
|
|
1112
|
-
* Added :allow_nil option for aggregations #5091 [
|
1184
|
+
* Added :allow_nil option for aggregations #5091 [Ian White]
|
1113
1185
|
|
1114
|
-
* Fix Oracle boolean support and tests. Closes #5139. [
|
1186
|
+
* Fix Oracle boolean support and tests. Closes #5139. [Michael Schoen]
|
1115
1187
|
|
1116
1188
|
* create! no longer blows up when no attributes are passed and a :create scope is in effect (e.g. foo.bars.create! failed whereas foo.bars.create!({}) didn't.) [Jeremy Kemper]
|
1117
1189
|
|
@@ -1149,7 +1221,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1149
1221
|
|
1150
1222
|
* Add warning about the proper way to validate the presence of a foreign key. Closes #4147. [Francois Beausoleil <francois.beausoleil@gmail.com>]
|
1151
1223
|
|
1152
|
-
* Fix syntax error in documentation. Closes #4679. [
|
1224
|
+
* Fix syntax error in documentation. Closes #4679. [Mislav Marohnić]
|
1153
1225
|
|
1154
1226
|
* Add Oracle support for CLOB inserts. Closes #4748. [schoenm@earthlink.net sandra.metz@duke.edu]
|
1155
1227
|
|
@@ -1163,14 +1235,14 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1163
1235
|
|
1164
1236
|
* Sybase Adapter type conversion cleanup. Closes #4736. [dev@metacasa.net]
|
1165
1237
|
|
1166
|
-
* Fix bug where calculations with long alias names return null. [Rick]
|
1238
|
+
* Fix bug where calculations with long alias names return null. [Rick Olson]
|
1167
1239
|
|
1168
|
-
* Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick]
|
1240
|
+
* Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick Olson]
|
1169
1241
|
|
1170
1242
|
@post.tags << @tag # BAD
|
1171
1243
|
@post.taggings.create(:tag => @tag) # GOOD
|
1172
1244
|
|
1173
|
-
* Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick]
|
1245
|
+
* Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick Olson]
|
1174
1246
|
|
1175
1247
|
* Update inconsistent migrations documentation. #4683 [machomagna@gmail.com]
|
1176
1248
|
|
@@ -1178,17 +1250,17 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1178
1250
|
|
1179
1251
|
* Properly quote index names in migrations (closes #4764) [John Long]
|
1180
1252
|
|
1181
|
-
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick]
|
1253
|
+
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick Olson]
|
1182
1254
|
|
1183
|
-
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick]
|
1255
|
+
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick Olson]
|
1184
1256
|
|
1185
|
-
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick]
|
1257
|
+
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick Olson]
|
1186
1258
|
|
1187
1259
|
* DRY up association collection reader method generation. [Marcel Molina Jr.]
|
1188
1260
|
|
1189
1261
|
* DRY up and tweak style of the validation error object. [Marcel Molina Jr.]
|
1190
1262
|
|
1191
|
-
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]
|
1263
|
+
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick Olson]
|
1192
1264
|
|
1193
1265
|
class Account < ActiveRecord::Base
|
1194
1266
|
validates_uniqueness_of :email, :case_sensitive => false
|
@@ -1213,14 +1285,14 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1213
1285
|
|
1214
1286
|
*1.15.2* (February 5th, 2007)
|
1215
1287
|
|
1216
|
-
* Pass a range in :conditions to use the SQL BETWEEN operator. #6974 [
|
1288
|
+
* Pass a range in :conditions to use the SQL BETWEEN operator. #6974 [Dan Manges]
|
1217
1289
|
Student.find(:all, :conditions => { :grade => 9..12 })
|
1218
1290
|
|
1219
|
-
* Don't create instance writer methods for class attributes. [Rick]
|
1291
|
+
* Don't create instance writer methods for class attributes. [Rick Olson]
|
1220
1292
|
|
1221
1293
|
* When dealing with SQLite3, use the table_info pragma helper, so that the bindings can do some translation for when sqlite3 breaks incompatibly between point releases. [Jamis Buck]
|
1222
1294
|
|
1223
|
-
* SQLServer: don't choke on strings containing 'null'. #7083 [Jakob
|
1295
|
+
* SQLServer: don't choke on strings containing 'null'. #7083 [Jakob Skjerning]
|
1224
1296
|
|
1225
1297
|
* Consistently use LOWER() for uniqueness validations (rather than mixing with UPPER()) so the database can always use a functional index on the lowercased column. #6495 [Si]
|
1226
1298
|
|
@@ -1238,11 +1310,11 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1238
1310
|
|
1239
1311
|
*1.15.0* (January 16th, 2007)
|
1240
1312
|
|
1241
|
-
* [DOC] clear up some ambiguity with the way has_and_belongs_to_many creates the default join table name. #7072 [
|
1313
|
+
* [DOC] clear up some ambiguity with the way has_and_belongs_to_many creates the default join table name. #7072 [Jeremy McAnally]
|
1242
1314
|
|
1243
|
-
* change_column accepts :default => nil. Skip column options for primary keys. #6956, #7048 [
|
1315
|
+
* change_column accepts :default => nil. Skip column options for primary keys. #6956, #7048 [Dan Manges, Jeremy Kemper]
|
1244
1316
|
|
1245
|
-
* MySQL, PostgreSQL: change_column_default quotes the default value and doesn't lose column type information. #3987, #6664 [Jonathan Viney,
|
1317
|
+
* MySQL, PostgreSQL: change_column_default quotes the default value and doesn't lose column type information. #3987, #6664 [Jonathan Viney, Manfred Stienstra, altano@bigfoot.com]
|
1246
1318
|
|
1247
1319
|
* Oracle: create_table takes a :sequence_name option to override the 'tablename_seq' default. #7000 [Michael Schoen]
|
1248
1320
|
|
@@ -1303,15 +1375,15 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1303
1375
|
|
1304
1376
|
* Fix has_many :through to add the appropriate conditions when going through an association using STI. Closes #5783. [Jonathan Viney]
|
1305
1377
|
|
1306
|
-
* fix select_limited_ids_list issues in postgresql, retain current behavior in other adapters [Rick]
|
1378
|
+
* fix select_limited_ids_list issues in postgresql, retain current behavior in other adapters [Rick Olson]
|
1307
1379
|
|
1308
|
-
* Restore eager condition interpolation, document it's differences [Rick]
|
1380
|
+
* Restore eager condition interpolation, document it's differences [Rick Olson]
|
1309
1381
|
|
1310
1382
|
* Don't rollback in teardown unless a transaction was started. Don't start a transaction in create_fixtures if a transaction is started. #6282 [Jacob Fugal, Jeremy Kemper]
|
1311
1383
|
|
1312
1384
|
* Add #delete support to has_many :through associations. Closes #6049 [Martin Landers]
|
1313
1385
|
|
1314
|
-
* Reverted old select_limited_ids_list postgresql fix that caused issues in mysql. Closes #5851 [Rick]
|
1386
|
+
* Reverted old select_limited_ids_list postgresql fix that caused issues in mysql. Closes #5851 [Rick Olson]
|
1315
1387
|
|
1316
1388
|
* Removes the ability for eager loaded conditions to be interpolated, since there is no model instance to use as a context for interpolation. #5553 [turnip@turnipspatch.com]
|
1317
1389
|
|
@@ -1319,7 +1391,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1319
1391
|
|
1320
1392
|
* Added update_attributes! which uses save! to raise an exception if a validation error prevents saving #6192 [jonathan]
|
1321
1393
|
|
1322
|
-
* Deprecated add_on_boundary_breaking (use validates_length_of instead) #6292 [
|
1394
|
+
* Deprecated add_on_boundary_breaking (use validates_length_of instead) #6292 [Bob Silva]
|
1323
1395
|
|
1324
1396
|
* The has_many create method works with polymorphic associations. #6361 [Dan Peterson]
|
1325
1397
|
|
@@ -1335,9 +1407,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1335
1407
|
|
1336
1408
|
* has_one associations with a nil target may be safely marshaled. #6279 [norbauer, Jeremy Kemper]
|
1337
1409
|
|
1338
|
-
* Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side effects [
|
1410
|
+
* Duplicate the hash provided to AR::Base#to_xml to prevent unexpected side effects [Michael Koziarski]
|
1339
1411
|
|
1340
|
-
* Add a :namespace option to AR::Base#to_xml [
|
1412
|
+
* Add a :namespace option to AR::Base#to_xml [Michael Koziarski]
|
1341
1413
|
|
1342
1414
|
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count method if it's also an attribute. [Jeremy Kemper]
|
1343
1415
|
|
@@ -1345,7 +1417,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1345
1417
|
|
1346
1418
|
* Improve yaml fixtures error reporting. #6205 [Bruce Williams]
|
1347
1419
|
|
1348
|
-
* Rename AR::Base#quote so people can use that name in their models. #3628 [
|
1420
|
+
* Rename AR::Base#quote so people can use that name in their models. #3628 [Michael Koziarski]
|
1349
1421
|
|
1350
1422
|
* Add deprecation warning for inferred foreign key. #6029 [Josh Susser]
|
1351
1423
|
|
@@ -1375,9 +1447,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1375
1447
|
|
1376
1448
|
* MySQL: update test schema for MySQL 5 strict mode. #5861 [Tom Ward]
|
1377
1449
|
|
1378
|
-
* to_xml: correct naming of included associations. #5831 [
|
1450
|
+
* to_xml: correct naming of included associations. #5831 [Josh Starcher]
|
1379
1451
|
|
1380
|
-
* Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key and adds it to the correct association. #5815, #5829 [
|
1452
|
+
* Pushing a record onto a has_many :through sets the association's foreign key to the associate's primary key and adds it to the correct association. #5815, #5829 [Josh Susser]
|
1381
1453
|
|
1382
1454
|
* Add records to has_many :through using <<, push, and concat by creating the association record. Raise if base or associate are new records since both ids are required to create the association. #build raises since you can't associate an unsaved record. #create! takes an attributes hash and creates the associated record and its association in a transaction. [Jeremy Kemper]
|
1383
1455
|
|
@@ -1393,7 +1465,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1393
1465
|
|
1394
1466
|
* Cache nil results for :included has_one associations also. #5787 [Michael Schoen]
|
1395
1467
|
|
1396
|
-
* Fixed a bug which would cause .save to fail after trying to access a empty has_one association on a unsaved record. [Tobias
|
1468
|
+
* Fixed a bug which would cause .save to fail after trying to access a empty has_one association on a unsaved record. [Tobias Lütke]
|
1397
1469
|
|
1398
1470
|
* Nested classes are given table names prefixed by the singular form of the parent's table name. [Jeremy Kemper]
|
1399
1471
|
Example: Invoice::Lineitem is given table name invoice_lineitems
|
@@ -1421,15 +1493,15 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1421
1493
|
|
1422
1494
|
* Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
|
1423
1495
|
|
1424
|
-
* Cache nil results for has_one associations so multiple calls don't call the database. Closes #5757. [Michael
|
1496
|
+
* Cache nil results for has_one associations so multiple calls don't call the database. Closes #5757. [Michael Schoen]
|
1425
1497
|
|
1426
1498
|
* Don't save has_one associations unnecessarily. #5735 [Jonathan Viney]
|
1427
1499
|
|
1428
1500
|
* Refactor ActiveRecord::Base.reset_subclasses to #reset, and add global observer resetting. [Rick Olson]
|
1429
1501
|
|
1430
|
-
* Formally deprecate the deprecated finders. [
|
1502
|
+
* Formally deprecate the deprecated finders. [Michael Koziarski]
|
1431
1503
|
|
1432
|
-
* Formally deprecate rich associations. [
|
1504
|
+
* Formally deprecate rich associations. [Michael Koziarski]
|
1433
1505
|
|
1434
1506
|
* Fixed that default timezones for new / initialize should uphold utc setting #5709 [daniluk@yahoo.com]
|
1435
1507
|
|
@@ -1463,7 +1535,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1463
1535
|
|
1464
1536
|
* SQLServer: fix db:schema:dump case-sensitivity. #4684 [Will Rogers]
|
1465
1537
|
|
1466
|
-
* Oracle: BigDecimal support. #5667 [
|
1538
|
+
* Oracle: BigDecimal support. #5667 [Michael Schoen]
|
1467
1539
|
|
1468
1540
|
* Numeric and decimal columns map to BigDecimal instead of Float. Those with scale 0 map to Integer. #5454 [robbat2@gentoo.org, work@ashleymoran.me.uk]
|
1469
1541
|
|
@@ -1477,9 +1549,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1477
1549
|
|
1478
1550
|
* Clearer has_one/belongs_to model names (account has_one :user). #5632 [matt@mattmargolis.net]
|
1479
1551
|
|
1480
|
-
* Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic locking, don't guess date vs. time by default (set OracleAdapter.emulate_dates = true for the old behavior), adapter cleanup. #5635 [
|
1552
|
+
* Oracle: use nonblocking queries if allow_concurrency is set, fix pessimistic locking, don't guess date vs. time by default (set OracleAdapter.emulate_dates = true for the old behavior), adapter cleanup. #5635 [Michael Schoen]
|
1481
1553
|
|
1482
|
-
* Fixed a few Oracle issues: Allows Oracle's odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [
|
1554
|
+
* Fixed a few Oracle issues: Allows Oracle's odd date handling to still work consistently within #to_xml, Passes test that hardcode insert statement by dropping the :id column, Updated RUNNING_UNIT_TESTS with Oracle instructions, Corrects method signature for #exec #5294 [Michael Schoen]
|
1483
1555
|
|
1484
1556
|
* Added :group to available options for finds done on associations #5516 [mike@michaeldewey.org]
|
1485
1557
|
|
@@ -1512,9 +1584,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1512
1584
|
|
1513
1585
|
* Use explicit delegation instead of method aliasing for AR::Base.to_param -> AR::Base.id. #5299 (skaes@web.de)
|
1514
1586
|
|
1515
|
-
* Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [
|
1587
|
+
* Refactored ActiveRecord::Base.to_xml to become a delegate for XmlSerializer, which restores sanity to the mega method. This refactoring also reinstates the opinions that type="string" is redundant and ugly and nil-differentiation is not a concern of serialization [David Heinemeier Hansson]
|
1516
1588
|
|
1517
|
-
* Added simple hash conditions to find that'll just convert hash to an AND-based condition string #5143 [
|
1589
|
+
* Added simple hash conditions to find that'll just convert hash to an AND-based condition string #5143 [Hampton Catlin]. Example:
|
1518
1590
|
|
1519
1591
|
Person.find(:all, :conditions => { :last_name => "Catlin", :status => 1 }, :limit => 2)
|
1520
1592
|
|
@@ -1545,26 +1617,26 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1545
1617
|
Foo.find(:all, :conditions => ['bar_id IN (?)', bars])
|
1546
1618
|
Foo.find(:first, :conditions => ['bar_id = ?', bar])
|
1547
1619
|
|
1548
|
-
* Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would fail if collection was empty [
|
1620
|
+
* Fixed that Base.find :all, :conditions => [ "id IN (?)", collection ] would fail if collection was empty [David Heinemeier Hansson]
|
1549
1621
|
|
1550
|
-
* Add a list of regexes assert_queries skips in the ActiveRecord test suite. [Rick]
|
1622
|
+
* Add a list of regexes assert_queries skips in the ActiveRecord test suite. [Rick Olson]
|
1551
1623
|
|
1552
|
-
* Fix the has_and_belongs_to_many #create doesn't populate the join for new records. Closes #3692 [
|
1624
|
+
* Fix the has_and_belongs_to_many #create doesn't populate the join for new records. Closes #3692 [Josh Susser]
|
1553
1625
|
|
1554
1626
|
* Provide Association Extensions access to the instance that the association is being accessed from.
|
1555
|
-
Closes #4433 [
|
1627
|
+
Closes #4433 [Josh Susser]
|
1556
1628
|
|
1557
1629
|
* Update OpenBase adaterp's maintainer's email address. Closes #5176. [Derrick Spell]
|
1558
1630
|
|
1559
|
-
* Add a quick note about :select and eagerly included associations. [Rick]
|
1631
|
+
* Add a quick note about :select and eagerly included associations. [Rick Olson]
|
1560
1632
|
|
1561
1633
|
* Add docs for the :as option in has_one associations. Closes #5144 [cdcarter@gmail.com]
|
1562
1634
|
|
1563
|
-
* Fixed that has_many collections shouldn't load the entire association to do build or create [
|
1635
|
+
* Fixed that has_many collections shouldn't load the entire association to do build or create [David Heinemeier Hansson]
|
1564
1636
|
|
1565
|
-
* Added :allow_nil option for aggregations #5091 [
|
1637
|
+
* Added :allow_nil option for aggregations #5091 [Ian White]
|
1566
1638
|
|
1567
|
-
* Fix Oracle boolean support and tests. Closes #5139. [
|
1639
|
+
* Fix Oracle boolean support and tests. Closes #5139. [Michael Schoen]
|
1568
1640
|
|
1569
1641
|
* create! no longer blows up when no attributes are passed and a :create scope is in effect (e.g. foo.bars.create! failed whereas foo.bars.create!({}) didn't.) [Jeremy Kemper]
|
1570
1642
|
|
@@ -1590,7 +1662,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1590
1662
|
|
1591
1663
|
* Add warning about the proper way to validate the presence of a foreign key. Closes #4147. [Francois Beausoleil <francois.beausoleil@gmail.com>]
|
1592
1664
|
|
1593
|
-
* Fix syntax error in documentation. Closes #4679. [
|
1665
|
+
* Fix syntax error in documentation. Closes #4679. [Mislav Marohnić]
|
1594
1666
|
|
1595
1667
|
* Add Oracle support for CLOB inserts. Closes #4748. [schoenm@earthlink.net sandra.metz@duke.edu]
|
1596
1668
|
|
@@ -1604,26 +1676,26 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1604
1676
|
|
1605
1677
|
* Sybase Adapter type conversion cleanup. Closes #4736. [dev@metacasa.net]
|
1606
1678
|
|
1607
|
-
* Fix bug where calculations with long alias names return null. [Rick]
|
1679
|
+
* Fix bug where calculations with long alias names return null. [Rick Olson]
|
1608
1680
|
|
1609
|
-
* Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick]
|
1681
|
+
* Raise error when trying to add to a has_many :through association. Use the Join Model instead. [Rick Olson]
|
1610
1682
|
|
1611
1683
|
@post.tags << @tag # BAD
|
1612
1684
|
@post.taggings.create(:tag => @tag) # GOOD
|
1613
1685
|
|
1614
|
-
* Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick]
|
1686
|
+
* Allow all calculations to take the :include option, not just COUNT (closes #4840) [Rick Olson]
|
1615
1687
|
|
1616
1688
|
* Add ActiveRecord::Errors#to_xml [Jamis Buck]
|
1617
1689
|
|
1618
1690
|
* Properly quote index names in migrations (closes #4764) [John Long]
|
1619
1691
|
|
1620
|
-
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick]
|
1692
|
+
* Fix the HasManyAssociation#count method so it uses the new ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick Olson]
|
1621
1693
|
|
1622
|
-
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick]
|
1694
|
+
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick Olson]
|
1623
1695
|
|
1624
|
-
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick]
|
1696
|
+
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick Olson]
|
1625
1697
|
|
1626
|
-
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]
|
1698
|
+
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick Olson]
|
1627
1699
|
|
1628
1700
|
class Account < ActiveRecord::Base
|
1629
1701
|
validates_uniqueness_of :email, :case_sensitive => false
|
@@ -1640,7 +1712,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1640
1712
|
|
1641
1713
|
* Add warning about the proper way to validate the presence of a foreign key. #4147 [Francois Beausoleil <francois.beausoleil@gmail.com>]
|
1642
1714
|
|
1643
|
-
* Fix syntax error in documentation. #4679 [
|
1715
|
+
* Fix syntax error in documentation. #4679 [Mislav Marohnić]
|
1644
1716
|
|
1645
1717
|
* Update inconsistent migrations documentation. #4683 [machomagna@gmail.com]
|
1646
1718
|
|
@@ -1653,9 +1725,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1653
1725
|
|
1654
1726
|
* Properly quote index names in migrations (closes #4764) [John Long]
|
1655
1727
|
|
1656
|
-
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick]
|
1728
|
+
* Ensure that Associations#include_eager_conditions? checks both scoped and explicit conditions [Rick Olson]
|
1657
1729
|
|
1658
|
-
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick]
|
1730
|
+
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT DISTINCT List for postgresql. [Rick Olson]
|
1659
1731
|
|
1660
1732
|
|
1661
1733
|
*1.14.2* (April 9th, 2006)
|
@@ -1669,17 +1741,17 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1669
1741
|
|
1670
1742
|
* Fixed that that multiparameter assignment doesn't work with aggregations (closes #4620) [Lars Pind]
|
1671
1743
|
|
1672
|
-
* Enable Limit/Offset in Calculations (closes #4558) [lmarlow
|
1744
|
+
* Enable Limit/Offset in Calculations (closes #4558) [lmarlow]
|
1673
1745
|
|
1674
|
-
* Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick]
|
1746
|
+
* Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick Olson]
|
1675
1747
|
|
1676
1748
|
* Fixed HasManyAssociation#find bugs when :finder_sql is set #4600 [lagroue@free.fr]
|
1677
1749
|
|
1678
|
-
* Allow AR::Base#respond_to? to behave when @attributes is nil [
|
1750
|
+
* Allow AR::Base#respond_to? to behave when @attributes is nil [Ryan Davis]
|
1679
1751
|
|
1680
|
-
* Support eager includes when going through a polymorphic has_many association. [Rick]
|
1752
|
+
* Support eager includes when going through a polymorphic has_many association. [Rick Olson]
|
1681
1753
|
|
1682
|
-
* Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
|
1754
|
+
* Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick Olson]
|
1683
1755
|
|
1684
1756
|
class Post < ActiveRecord::Base
|
1685
1757
|
has_one :tagging, :as => :taggable
|
@@ -1687,9 +1759,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1687
1759
|
|
1688
1760
|
Post.find :all, :include => :tagging
|
1689
1761
|
|
1690
|
-
* Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick]
|
1762
|
+
* Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick Olson]
|
1691
1763
|
|
1692
|
-
* Added support for going through a polymorphic has_many association: (closes #4401) [Rick]
|
1764
|
+
* Added support for going through a polymorphic has_many association: (closes #4401) [Rick Olson]
|
1693
1765
|
|
1694
1766
|
class PhotoCollection < ActiveRecord::Base
|
1695
1767
|
has_many :photos, :as => :photographic
|
@@ -1707,36 +1779,36 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1707
1779
|
|
1708
1780
|
* Changed those private ActiveRecord methods to take optional third argument :auto instead of nil for performance optimizations. (closes #4456) [Stefan]
|
1709
1781
|
|
1710
|
-
* Private ActiveRecord methods add_limit!, add_joins!, and add_conditions! take an OPTIONAL third argument 'scope' (closes #4456) [Rick]
|
1782
|
+
* Private ActiveRecord methods add_limit!, add_joins!, and add_conditions! take an OPTIONAL third argument 'scope' (closes #4456) [Rick Olson]
|
1711
1783
|
|
1712
|
-
* DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [
|
1784
|
+
* DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [David Heinemeier Hansson]
|
1713
1785
|
|
1714
|
-
* Fixed that records returned from has_and_belongs_to_many associations with additional attributes should be marked as read only (fixes #4512) [
|
1786
|
+
* Fixed that records returned from has_and_belongs_to_many associations with additional attributes should be marked as read only (fixes #4512) [David Heinemeier Hansson]
|
1715
1787
|
|
1716
1788
|
* Do not implicitly mark recordss of has_many :through as readonly but do mark habtm records as readonly (eventually only on join tables without rich attributes). [Marcel Mollina Jr.]
|
1717
1789
|
|
1718
|
-
* Fixed broken OCIAdapter #4457 [
|
1790
|
+
* Fixed broken OCIAdapter #4457 [Michael Schoen]
|
1719
1791
|
|
1720
1792
|
|
1721
1793
|
*1.14.0* (March 27th, 2006)
|
1722
1794
|
|
1723
1795
|
* Replace 'rescue Object' with a finer grained rescue. Closes #4431. [Nicholas Seckar]
|
1724
1796
|
|
1725
|
-
* Fixed eager loading so that an aliased table cannot clash with a has_and_belongs_to_many join table [Rick]
|
1797
|
+
* Fixed eager loading so that an aliased table cannot clash with a has_and_belongs_to_many join table [Rick Olson]
|
1726
1798
|
|
1727
1799
|
* Add support for :include to with_scope [andrew@redlinesoftware.com]
|
1728
1800
|
|
1729
|
-
* Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 #4390 [
|
1801
|
+
* Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 #4390 [Michael Schoen]
|
1730
1802
|
|
1731
1803
|
* Change periods (.) in table aliases to _'s. Closes #4251 [jeff@ministrycentered.com]
|
1732
1804
|
|
1733
|
-
* Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. Closes #4348 [Rick]
|
1805
|
+
* Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. Closes #4348 [Rick Olson]
|
1734
1806
|
|
1735
|
-
* Fixed issue that kept :select options from being scoped [Rick]
|
1807
|
+
* Fixed issue that kept :select options from being scoped [Rick Olson]
|
1736
1808
|
|
1737
|
-
* Fixed db_schema_import when binary types are present #3101 [
|
1809
|
+
* Fixed db_schema_import when binary types are present #3101 [David Heinemeier Hansson]
|
1738
1810
|
|
1739
|
-
* Fixed that MySQL enums should always be returned as strings #3501 [
|
1811
|
+
* Fixed that MySQL enums should always be returned as strings #3501 [David Heinemeier Hansson]
|
1740
1812
|
|
1741
1813
|
* Change has_many :through to use the :source option to specify the source association. :class_name is now ignored. [Rick Olson]
|
1742
1814
|
|
@@ -1767,13 +1839,13 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1767
1839
|
end
|
1768
1840
|
end
|
1769
1841
|
|
1770
|
-
* Fixed that schema changes while the database was open would break any connections to a SQLite database (now we reconnect if that error is throw) [
|
1842
|
+
* Fixed that schema changes while the database was open would break any connections to a SQLite database (now we reconnect if that error is throw) [David Heinemeier Hansson]
|
1771
1843
|
|
1772
|
-
* Don't classify the has_one class when eager loading, it is already singular. Add tests. (closes #4117) [
|
1844
|
+
* Don't classify the has_one class when eager loading, it is already singular. Add tests. (closes #4117) [Jonathan Viney]
|
1773
1845
|
|
1774
1846
|
* Quit ignoring default :include options in has_many :through calls [Mark James]
|
1775
1847
|
|
1776
|
-
* Allow has_many :through associations to find the source association by setting a custom class (closes #4307) [
|
1848
|
+
* Allow has_many :through associations to find the source association by setting a custom class (closes #4307) [Jonathan Viney]
|
1777
1849
|
|
1778
1850
|
* Eager Loading support added for has_many :through => :has_many associations (see below). [Rick Olson]
|
1779
1851
|
|
@@ -1793,13 +1865,13 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1793
1865
|
belongs_to :client
|
1794
1866
|
end
|
1795
1867
|
|
1796
|
-
* Raise error when trying to select many polymorphic objects with has_many :through or :include (closes #4226) [
|
1868
|
+
* Raise error when trying to select many polymorphic objects with has_many :through or :include (closes #4226) [Josh Susser]
|
1797
1869
|
|
1798
|
-
* Fixed has_many :through to include :conditions set on the :through association. closes #4020 [
|
1870
|
+
* Fixed has_many :through to include :conditions set on the :through association. closes #4020 [Jonathan Viney]
|
1799
1871
|
|
1800
|
-
* Fix that has_many :through honors the foreign key set by the belongs_to association in the join model (closes #4259) [andylien@gmail.com / Rick]
|
1872
|
+
* Fix that has_many :through honors the foreign key set by the belongs_to association in the join model (closes #4259) [andylien@gmail.com / Rick Olson]
|
1801
1873
|
|
1802
|
-
* SQL Server adapter gets some love #4298 [
|
1874
|
+
* SQL Server adapter gets some love #4298 [Ryan Tomayko]
|
1803
1875
|
|
1804
1876
|
* Added OpenBase database adapter that builds on top of the http://www.spice-of-life.net/ruby-openbase/ driver. All functionality except LIMIT/OFFSET is supported #3528 [derrickspell@cdmplus.com]
|
1805
1877
|
|
@@ -1807,27 +1879,27 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1807
1879
|
|
1808
1880
|
Author.find(:all, :include => { :posts => :special_comments }, :order => 'special_comments.body')
|
1809
1881
|
|
1810
|
-
* Add AbstractAdapter#table_alias_for to create table aliases according to the rules of the current adapter. [Rick]
|
1882
|
+
* Add AbstractAdapter#table_alias_for to create table aliases according to the rules of the current adapter. [Rick Olson]
|
1811
1883
|
|
1812
|
-
* Provide access to the underlying database connection through Adapter#raw_connection. Enables the use of db-specific methods without complicating the adapters. #2090 [
|
1884
|
+
* Provide access to the underlying database connection through Adapter#raw_connection. Enables the use of db-specific methods without complicating the adapters. #2090 [Michael Koziarski]
|
1813
1885
|
|
1814
|
-
* Remove broken attempts at handling columns with a default of 'now()' in the postgresql adapter. #2257 [
|
1886
|
+
* Remove broken attempts at handling columns with a default of 'now()' in the postgresql adapter. #2257 [Michael Koziarski]
|
1815
1887
|
|
1816
|
-
* Added connection#current_database that'll return of the current database (only works in MySQL, SQL Server, and Oracle so far -- please help implement for the rest of the adapters) #3663 [Tom
|
1888
|
+
* Added connection#current_database that'll return of the current database (only works in MySQL, SQL Server, and Oracle so far -- please help implement for the rest of the adapters) #3663 [Tom Ward]
|
1817
1889
|
|
1818
1890
|
* Fixed that Migration#execute would have the table name prefix appended to its query #4110 [mark.imbriaco@pobox.com]
|
1819
1891
|
|
1820
1892
|
* Make all tinyint(1) variants act like boolean in mysql (tinyint(1) unsigned, etc.) [Jamis Buck]
|
1821
1893
|
|
1822
|
-
* Use association's :conditions when eager loading. [
|
1894
|
+
* Use association's :conditions when eager loading. [Jeremy Evans] #4144
|
1823
1895
|
|
1824
|
-
* Alias the has_and_belongs_to_many join table on eager includes. #4106 [
|
1896
|
+
* Alias the has_and_belongs_to_many join table on eager includes. #4106 [Jeremy Evans]
|
1825
1897
|
|
1826
1898
|
This statement would normally error because the projects_developers table is joined twice, and therefore joined_on would be ambiguous.
|
1827
1899
|
|
1828
1900
|
Developer.find(:all, :include => {:projects => :developers}, :conditions => 'join_project_developers.joined_on IS NOT NULL')
|
1829
1901
|
|
1830
|
-
* Oracle adapter gets some love #4230 [
|
1902
|
+
* Oracle adapter gets some love #4230 [Michael Schoen]
|
1831
1903
|
|
1832
1904
|
* Changes :text to CLOB rather than BLOB [Moses Hohman]
|
1833
1905
|
* Fixes an issue with nil numeric length/scales (several)
|
@@ -1862,7 +1934,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1862
1934
|
has_many :attachments, :as => :attachable, :dependent => :delete_all
|
1863
1935
|
end
|
1864
1936
|
|
1865
|
-
* Nicer error message on has_many :through when :through reflection can not be found. #4042 [court3nay
|
1937
|
+
* Nicer error message on has_many :through when :through reflection can not be found. #4042 [court3nay]
|
1866
1938
|
|
1867
1939
|
* Upgrade to Transaction::Simple 1.3 [Jamis Buck]
|
1868
1940
|
|
@@ -1874,7 +1946,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
1874
1946
|
|
1875
1947
|
* Dynamically set allow_concurrency. #4044 [Stefan Kaes]
|
1876
1948
|
|
1877
|
-
* Added Base#to_xml that'll turn the current record into a XML representation [
|
1949
|
+
* Added Base#to_xml that'll turn the current record into a XML representation [David Heinemeier Hansson]. Example:
|
1878
1950
|
|
1879
1951
|
topic.to_xml
|
1880
1952
|
|
@@ -2009,9 +2081,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2009
2081
|
|
2010
2082
|
* CHANGED DEFAULT: set ActiveRecord::Base.allow_concurrency to false. Most AR usage is in single-threaded applications. [Jeremy Kemper]
|
2011
2083
|
|
2012
|
-
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias #4017 [
|
2084
|
+
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias #4017 [Michael Schoen]
|
2013
2085
|
|
2014
|
-
* Fixed that Base.save should always return false if the save didn't succeed, including if it has halted by before_save's #1861, #2477 [
|
2086
|
+
* Fixed that Base.save should always return false if the save didn't succeed, including if it has halted by before_save's #1861, #2477 [David Heinemeier Hansson]
|
2015
2087
|
|
2016
2088
|
* Speed up class -> connection caching and stale connection verification. #3979 [Stefan Kaes]
|
2017
2089
|
|
@@ -2019,7 +2091,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2019
2091
|
|
2020
2092
|
* Added that fixtures to placed in subdirectories of the main fixture files are also loaded #3937 [dblack@wobblini.net]
|
2021
2093
|
|
2022
|
-
* Define attribute query methods to avoid method_missing calls. #3677 [
|
2094
|
+
* Define attribute query methods to avoid method_missing calls. #3677 [Jonathan Viney]
|
2023
2095
|
|
2024
2096
|
* ActiveRecord::Base.remove_connection explicitly closes database connections and doesn't corrupt the connection cache. Introducing the disconnect! instance method for the PostgreSQL, MySQL, and SQL Server adapters; implementations for the others are welcome. #3591 [Simon Stapleton, Tom Ward]
|
2025
2097
|
|
@@ -2043,7 +2115,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2043
2115
|
|
2044
2116
|
* Fixed validates_length_of to work on UTF-8 strings by using characters instead of bytes #3699 [Masao Mutoh]
|
2045
2117
|
|
2046
|
-
* Fixed that reflections would bleed across class boundaries in single-table inheritance setups #3796 [
|
2118
|
+
* Fixed that reflections would bleed across class boundaries in single-table inheritance setups #3796 [Lars Pind]
|
2047
2119
|
|
2048
2120
|
* Added calculations: Base.count, Base.average, Base.sum, Base.minimum, Base.maxmium, and the generic Base.calculate. All can be used with :group and :having. Calculations and statitics need no longer require custom SQL. #3958 [Rick Olson]. Examples:
|
2049
2121
|
|
@@ -2052,7 +2124,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2052
2124
|
Person.maximum :age
|
2053
2125
|
Person.sum :salary, :group => :last_name
|
2054
2126
|
|
2055
|
-
* Renamed Errors#count to Errors#size but kept an alias for the old name (and included an alias for length too) #3920 [
|
2127
|
+
* Renamed Errors#count to Errors#size but kept an alias for the old name (and included an alias for length too) #3920 [Luke Redpath]
|
2056
2128
|
|
2057
2129
|
* Reflections don't attempt to resolve module nesting of association classes. Simplify type computation. [Jeremy Kemper]
|
2058
2130
|
|
@@ -2060,7 +2132,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2060
2132
|
|
2061
2133
|
* Fixed that the schema_info table used by ActiveRecord::Schema.define should respect table pre- and suffixes #3834 [rubyonrails@atyp.de]
|
2062
2134
|
|
2063
|
-
* Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT #3839 [
|
2135
|
+
* Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT #3839 [Stefan Kaes]
|
2064
2136
|
|
2065
2137
|
* Correct syntax error in mysql DDL, and make AAACreateTablesTest run first [Bob Silva]
|
2066
2138
|
|
@@ -2076,19 +2148,19 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2076
2148
|
|
2077
2149
|
* Fix problems with count when used with :include [Jeremy Hopple and Kevin Clark]
|
2078
2150
|
|
2079
|
-
* ActiveRecord::RecordInvalid now states which validations failed in its default error message [Tobias
|
2151
|
+
* ActiveRecord::RecordInvalid now states which validations failed in its default error message [Tobias Lütke]
|
2080
2152
|
|
2081
|
-
* Using AssociationCollection#build with arrays of hashes should call build, not create [
|
2153
|
+
* Using AssociationCollection#build with arrays of hashes should call build, not create [David Heinemeier Hansson]
|
2082
2154
|
|
2083
2155
|
* Remove definition of reloadable? from ActiveRecord::Base to make way for new Reloadable code. [Nicholas Seckar]
|
2084
2156
|
|
2085
2157
|
* Fixed schema handling for DB2 adapter that didn't work: an initial schema could be set, but it wasn't used when getting tables and indexes #3678 [Maik Schmidt]
|
2086
2158
|
|
2087
|
-
* Support the :column option for remove_index with the PostgreSQL adapter. #3661 [
|
2159
|
+
* Support the :column option for remove_index with the PostgreSQL adapter. #3661 [Shugo Maeda]
|
2088
2160
|
|
2089
2161
|
* Add documentation for add_index and remove_index. #3600 [Manfred Stienstra <m.stienstra@fngtps.com>]
|
2090
2162
|
|
2091
|
-
* If the OCI library is not available, raise an exception indicating as much. #3593 [
|
2163
|
+
* If the OCI library is not available, raise an exception indicating as much. #3593 [Michael Schoen]
|
2092
2164
|
|
2093
2165
|
* Add explicit :order in finder tests as postgresql orders results differently by default. #3577. [Rick Olson]
|
2094
2166
|
|
@@ -2096,7 +2168,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2096
2168
|
|
2097
2169
|
* Show a meaningful error when the DB2 adapter cannot be loaded due to missing dependencies. [Nicholas Seckar]
|
2098
2170
|
|
2099
|
-
* Make .count work for has_many associations with multi line finder sql [
|
2171
|
+
* Make .count work for has_many associations with multi line finder sql [Michael Schoen]
|
2100
2172
|
|
2101
2173
|
* Add AR::Base.base_class for querying the ancestor AR::Base subclass [Jamis Buck]
|
2102
2174
|
|
@@ -2104,13 +2176,13 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2104
2176
|
|
2105
2177
|
* Don't hardcode 'id' in acts as list. [ror@philippeapril.com]
|
2106
2178
|
|
2107
|
-
* Fix date errors for SQLServer in association tests. #3406 [
|
2179
|
+
* Fix date errors for SQLServer in association tests. #3406 [Kevin Clark]
|
2108
2180
|
|
2109
2181
|
* Escape database name in MySQL adapter when creating and dropping databases. #3409 [anna@wota.jp]
|
2110
2182
|
|
2111
2183
|
* Disambiguate table names for columns in validates_uniquness_of's WHERE clause. #3423 [alex.borovsky@gmail.com]
|
2112
2184
|
|
2113
|
-
* .with_scope imposed create parameters now bypass attr_protected [Tobias
|
2185
|
+
* .with_scope imposed create parameters now bypass attr_protected [Tobias Lütke]
|
2114
2186
|
|
2115
2187
|
* Don't raise an exception when there are more keys than there are named bind variables when sanitizing conditions. [Marcel Molina Jr.]
|
2116
2188
|
|
@@ -2118,25 +2190,25 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2118
2190
|
|
2119
2191
|
* Sanitize scoped conditions. [Marcel Molina Jr.]
|
2120
2192
|
|
2121
|
-
* Added option to Base.reflection_of_all_associations to specify a specific association to scope the call. For example Base.reflection_of_all_associations(:has_many) [
|
2193
|
+
* Added option to Base.reflection_of_all_associations to specify a specific association to scope the call. For example Base.reflection_of_all_associations(:has_many) [David Heinemeier Hansson]
|
2122
2194
|
|
2123
|
-
* Added ActiveRecord::SchemaDumper.ignore_tables which tells SchemaDumper which tables to ignore. Useful for tables with funky column like the ones required for tsearch2. [
|
2195
|
+
* Added ActiveRecord::SchemaDumper.ignore_tables which tells SchemaDumper which tables to ignore. Useful for tables with funky column like the ones required for tsearch2. [Tobias Lütke]
|
2124
2196
|
|
2125
|
-
* SchemaDumper now doesn't fail anymore when there are unknown column types in the schema. Instead the table is ignored and a Comment is left in the schema.rb. [
|
2197
|
+
* SchemaDumper now doesn't fail anymore when there are unknown column types in the schema. Instead the table is ignored and a Comment is left in the schema.rb. [Tobias Lütke]
|
2126
2198
|
|
2127
2199
|
* Fixed that saving a model with multiple habtm associations would only save the first one. #3244 [yanowitz-rubyonrails@quantumfoam.org, Florian Weber]
|
2128
2200
|
|
2129
2201
|
* Fix change_column to work with PostgreSQL 7.x and 8.x. #3141 [wejn@box.cz, Rick Olson, Scott Barron]
|
2130
2202
|
|
2131
|
-
* removed :piggyback in favor of just allowing :select on :through associations. [Tobias
|
2203
|
+
* removed :piggyback in favor of just allowing :select on :through associations. [Tobias Lütke]
|
2132
2204
|
|
2133
|
-
* made method missing delegation to class methods on relation target work on :through associations. [Tobias
|
2205
|
+
* made method missing delegation to class methods on relation target work on :through associations. [Tobias Lütke]
|
2134
2206
|
|
2135
|
-
* made .find() work on :through relations. [Tobias
|
2207
|
+
* made .find() work on :through relations. [Tobias Lütke]
|
2136
2208
|
|
2137
2209
|
* Fix typo in association docs. #3296. [Blair Zajac]
|
2138
2210
|
|
2139
|
-
* Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model [Tobias
|
2211
|
+
* Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model [Tobias Lütke]
|
2140
2212
|
|
2141
2213
|
*1.13.2* (December 13th, 2005)
|
2142
2214
|
|
@@ -2144,7 +2216,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2144
2216
|
|
2145
2217
|
* MySQL: allow encoding option for mysql.rb driver. [Jeremy Kemper]
|
2146
2218
|
|
2147
|
-
* Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [
|
2219
|
+
* Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [David Heinemeier Hansson]. Example:
|
2148
2220
|
|
2149
2221
|
class Post
|
2150
2222
|
has_many :recent_comments, :class_name => "Comment", :limit => 10, :include => :author
|
@@ -2154,7 +2226,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2154
2226
|
post.recent_comments.find(:all, :limit => nil) # Uses no limit but include authors
|
2155
2227
|
post.recent_comments.find(:all, :limit => nil, :include => nil) # Uses no limit and doesn't include authors
|
2156
2228
|
|
2157
|
-
* Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [
|
2229
|
+
* Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [David Heinemeier Hansson]
|
2158
2230
|
|
2159
2231
|
* MySQL: fixes for the bundled mysql.rb driver. #3160 [Justin Forder]
|
2160
2232
|
|
@@ -2182,9 +2254,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2182
2254
|
|
2183
2255
|
* MySQL: work around ruby-mysql/mysql-ruby inconsistency with mysql.stat. Eliminate usage of mysql.ping because it doesn't guarantee reconnect. Explicitly close and reopen the connection instead. [Jeremy Kemper]
|
2184
2256
|
|
2185
|
-
* Added preliminary support for polymorphic associations [
|
2257
|
+
* Added preliminary support for polymorphic associations [David Heinemeier Hansson]
|
2186
2258
|
|
2187
|
-
* Added preliminary support for join models [
|
2259
|
+
* Added preliminary support for join models [David Heinemeier Hansson]
|
2188
2260
|
|
2189
2261
|
* Allow validate_uniqueness_of to be scoped by more than just one column. #1559. [jeremy@jthopple.com, Marcel Molina Jr.]
|
2190
2262
|
|
@@ -2210,7 +2282,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2210
2282
|
|
2211
2283
|
* Add tasks to create, drop and rebuild the MySQL and PostgreSQL test databases. [Marcel Molina Jr.]
|
2212
2284
|
|
2213
|
-
* Correct boolean handling in generated reader methods. #2945 [
|
2285
|
+
* Correct boolean handling in generated reader methods. #2945 [Don Park, Stefan Kaes]
|
2214
2286
|
|
2215
2287
|
* Don't generate read methods for columns whose names are not valid ruby method names. #2946 [Stefan Kaes]
|
2216
2288
|
|
@@ -2258,7 +2330,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2258
2330
|
|
2259
2331
|
* Fix sqlite adaptor's detection of missing dbfile or database declaration. [Nicholas Seckar]
|
2260
2332
|
|
2261
|
-
* Fixed acts_as_list for definitions without an explicit :order #2803 [
|
2333
|
+
* Fixed acts_as_list for definitions without an explicit :order #2803 [Jonathan Viney]
|
2262
2334
|
|
2263
2335
|
* Upgrade bundled ruby-mysql 0.2.4 with mysql411 shim (see #440) to ruby-mysql 0.2.6 with a patchset for 4.1 protocol support. Local change [301] is now a part of the main driver; reapplied local change [2182]. Removed GC.start from Result.free. [tommy@tmtm.org, akuroda@gmail.com, Doug Fales <doug.fales@gmail.com>, Jeremy Kemper]
|
2264
2336
|
|
@@ -2277,7 +2349,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2277
2349
|
|
2278
2350
|
* Fixed faulty regex in get_table_name method (SQLServerAdapter) #2639 [Ryan Tomayko]
|
2279
2351
|
|
2280
|
-
* Added :include as an option for association declarations [
|
2352
|
+
* Added :include as an option for association declarations [David Heinemeier Hansson]. Example:
|
2281
2353
|
|
2282
2354
|
has_many :posts, :include => [ :author, :comments ]
|
2283
2355
|
|
@@ -2292,7 +2364,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2292
2364
|
|
2293
2365
|
* Fixed that SQL Server should ignore :size declarations on anything but integer and string in the agnostic schema representation #2756 [Ryan Tomayko]
|
2294
2366
|
|
2295
|
-
* Added constrain scoping for creates using a hash of attributes bound to the :creation key [
|
2367
|
+
* Added constrain scoping for creates using a hash of attributes bound to the :creation key [David Heinemeier Hansson]. Example:
|
2296
2368
|
|
2297
2369
|
Comment.constrain(:creation => { :post_id => 5 }) do
|
2298
2370
|
# Associated with :post_id
|
@@ -2304,7 +2376,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2304
2376
|
# If the tag doesn't exist, a new one is created that's associated with the person
|
2305
2377
|
person.tags.find_or_create_by_name("Summer")
|
2306
2378
|
|
2307
|
-
* Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [
|
2379
|
+
* Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [David Heinemeier Hansson]. Example:
|
2308
2380
|
|
2309
2381
|
# No 'Summer' tag exists
|
2310
2382
|
Tag.find_or_create_by_name("Summer") # equal to Tag.create(:name => "Summer")
|
@@ -2312,7 +2384,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2312
2384
|
# Now the 'Summer' tag does exist
|
2313
2385
|
Tag.find_or_create_by_name("Summer") # equal to Tag.find_by_name("Summer")
|
2314
2386
|
|
2315
|
-
* Added extension capabilities to has_many and has_and_belongs_to_many proxies [
|
2387
|
+
* Added extension capabilities to has_many and has_and_belongs_to_many proxies [David Heinemeier Hansson]. Example:
|
2316
2388
|
|
2317
2389
|
class Account < ActiveRecord::Base
|
2318
2390
|
has_many :people do
|
@@ -2331,9 +2403,9 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2331
2403
|
|
2332
2404
|
Note that the anoymous module must be declared using brackets, not do/end (due to order of evaluation).
|
2333
2405
|
|
2334
|
-
* Omit internal dtproperties table from SQLServer table list. #2729 [
|
2406
|
+
* Omit internal dtproperties table from SQLServer table list. #2729 [Ryan Tomayko]
|
2335
2407
|
|
2336
|
-
* Quote column names in generated SQL. #2728 [
|
2408
|
+
* Quote column names in generated SQL. #2728 [Ryan Tomayko]
|
2337
2409
|
|
2338
2410
|
* Correct the pure-Ruby MySQL 4.1.1 shim's version test. #2718 [Jeremy Kemper]
|
2339
2411
|
|
@@ -2347,7 +2419,7 @@ during calendar reform. #7649, #7724 [fedot, Geoff Buesing]
|
|
2347
2419
|
|
2348
2420
|
* Worked around that connection can't be reset if allow_concurrency is off. #2648 [Michael Schoen <schoenm@earthlink.net>]
|
2349
2421
|
|
2350
|
-
* Fixed SQL Server adapter to pass even more tests and do even better #2634 [
|
2422
|
+
* Fixed SQL Server adapter to pass even more tests and do even better #2634 [Ryan Tomayko]
|
2351
2423
|
|
2352
2424
|
* Fixed SQL Server adapter so it honors options[:conditions] when applying :limits #1978 [Tom Ward]
|
2353
2425
|
|
@@ -2360,18 +2432,18 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2360
2432
|
|
2361
2433
|
* Added :offset and :limit to the kinds of options that Base.constrain can use #2466 [duane.johnson@gmail.com]
|
2362
2434
|
|
2363
|
-
* Fixed handling of nil number columns on Oracle and cleaned up tests for Oracle in general #2555 [
|
2435
|
+
* Fixed handling of nil number columns on Oracle and cleaned up tests for Oracle in general #2555 [Michael Schoen]
|
2364
2436
|
|
2365
2437
|
* Added quoted_true and quoted_false methods and tables to db2_adapter and cleaned up tests for DB2 #2493, #2624 [maik schmidt]
|
2366
2438
|
|
2367
2439
|
|
2368
2440
|
*1.12.2* (October 26th, 2005)
|
2369
2441
|
|
2370
|
-
* Allow symbols to rename columns when using SQLite adapter. #2531 [
|
2442
|
+
* Allow symbols to rename columns when using SQLite adapter. #2531 [Kevin Clark]
|
2371
2443
|
|
2372
2444
|
* Map Active Record time to SQL TIME. #2575, #2576 [Robby Russell <robby@planetargon.com>]
|
2373
2445
|
|
2374
|
-
* Clarify semantics of ActiveRecord::Base#respond_to? #2560 [
|
2446
|
+
* Clarify semantics of ActiveRecord::Base#respond_to? #2560 [Stefan Kaes]
|
2375
2447
|
|
2376
2448
|
* Fixed Association#clear for associations which have not yet been accessed. #2524 [Patrick Lenz <patrick@lenz.sh>]
|
2377
2449
|
|
@@ -2425,25 +2497,25 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2425
2497
|
|
2426
2498
|
* Add test coverage for content_columns. #2432. [coffee2code]
|
2427
2499
|
|
2428
|
-
* Speed up for unthreaded environments. #2431. [
|
2500
|
+
* Speed up for unthreaded environments. #2431. [Stefan Kaes]
|
2429
2501
|
|
2430
|
-
* Optimization for Mysql selects using mysql-ruby extension greater than 2.6.3. #2426. [
|
2502
|
+
* Optimization for Mysql selects using mysql-ruby extension greater than 2.6.3. #2426. [Stefan Kaes]
|
2431
2503
|
|
2432
|
-
* Speed up the setting of table_name. #2428. [
|
2504
|
+
* Speed up the setting of table_name. #2428. [Stefan Kaes]
|
2433
2505
|
|
2434
|
-
* Optimize instantiation of STI subclass records. In partial fullfilment of #1236. [
|
2506
|
+
* Optimize instantiation of STI subclass records. In partial fullfilment of #1236. [Stefan Kaes]
|
2435
2507
|
|
2436
2508
|
* Fix typo of 'constrains' to 'contraints'. #2069. [Michael Schuerig <michael@schuerig.de>]
|
2437
2509
|
|
2438
|
-
* Optimization refactoring for add_limit_offset!. In partial fullfilment of #1236. [
|
2510
|
+
* Optimization refactoring for add_limit_offset!. In partial fullfilment of #1236. [Stefan Kaes]
|
2439
2511
|
|
2440
2512
|
* Add ability to get all siblings, including the current child, with acts_as_tree. Recloses #2140. [Michael Schuerig <michael@schuerig.de>]
|
2441
2513
|
|
2442
|
-
* Add geometric type for postgresql adapter. #2233 [
|
2514
|
+
* Add geometric type for postgresql adapter. #2233 [Andrew Kaspick]
|
2443
2515
|
|
2444
|
-
* Add option (true by default) to generate reader methods for each attribute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236. [
|
2516
|
+
* Add option (true by default) to generate reader methods for each attribute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236. [Stefan Kaes]
|
2445
2517
|
|
2446
|
-
* Add convenience predicate methods on Column class. In partial fullfilment of #1236. [
|
2518
|
+
* Add convenience predicate methods on Column class. In partial fullfilment of #1236. [Stefan Kaes]
|
2447
2519
|
|
2448
2520
|
* Raise errors when invalid hash keys are passed to ActiveRecord::Base.find. #2363 [Chad Fowler <chad@chadfowler.com>, Nicholas Seckar]
|
2449
2521
|
|
@@ -2468,7 +2540,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2468
2540
|
* Make update_attribute use the same writer method that update_attributes uses.
|
2469
2541
|
#2237 [trevor@protocool.com]
|
2470
2542
|
|
2471
|
-
* Make migrations honor table name prefixes and suffixes. #2298 [Jakob
|
2543
|
+
* Make migrations honor table name prefixes and suffixes. #2298 [Jakob Skjerning, Marcel Molina Jr.]
|
2472
2544
|
|
2473
2545
|
* Correct and optimize PostgreSQL bytea escaping. #1745, #1837 [dave@cherryville.org, ken@miriamtech.com, bellis@deepthought.org]
|
2474
2546
|
|
@@ -2476,7 +2548,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2476
2548
|
|
2477
2549
|
* Standardize the interpretation of boolean columns in the Mysql and Sqlite adapters. (Use MysqlAdapter.emulate_booleans = false to disable this behavior)
|
2478
2550
|
|
2479
|
-
* Added new symbol-driven approach to activating observers with Base#observers= [
|
2551
|
+
* Added new symbol-driven approach to activating observers with Base#observers= [David Heinemeier Hansson]. Example:
|
2480
2552
|
|
2481
2553
|
ActiveRecord::Base.observers = :cacher, :garbage_collector
|
2482
2554
|
|
@@ -2492,19 +2564,19 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2492
2564
|
|
2493
2565
|
* Fixed that the create_x method from belongs_to wouldn't save the association properly #2042 [Florian Weber]
|
2494
2566
|
|
2495
|
-
* Fixed saving a record with two unsaved belongs_to associations pointing to the same object #2023 [Tobias
|
2567
|
+
* Fixed saving a record with two unsaved belongs_to associations pointing to the same object #2023 [Tobias Lütke]
|
2496
2568
|
|
2497
2569
|
* Improved migrations' behavior when the schema_info table is empty. [Nicholas Seckar]
|
2498
2570
|
|
2499
2571
|
* Fixed that Observers didn't observe sub-classes #627 [Florian Weber]
|
2500
2572
|
|
2501
|
-
* Fix eager loading error messages, allow :include to specify tables using strings or symbols. Closes #2222 [Marcel Molina]
|
2573
|
+
* Fix eager loading error messages, allow :include to specify tables using strings or symbols. Closes #2222 [Marcel Molina Jr.]
|
2502
2574
|
|
2503
2575
|
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae]
|
2504
2576
|
|
2505
2577
|
* Fixed various problems with has_and_belongs_to_many when using customer finder_sql #2094 [Florian Weber]
|
2506
2578
|
|
2507
|
-
* Added better exception error when unknown column types are used with migrations #1814 [
|
2579
|
+
* Added better exception error when unknown column types are used with migrations #1814 [François Beausoleil]
|
2508
2580
|
|
2509
2581
|
* Fixed "connection lost" issue with the bundled Ruby/MySQL driver (would kill the app after 8 hours of inactivity) #2163, #428 [kajism@yahoo.com]
|
2510
2582
|
|
@@ -2520,13 +2592,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2520
2592
|
|
2521
2593
|
* Make sure the schema_info table is created before querying the current version #1903
|
2522
2594
|
|
2523
|
-
* Fixtures ignore table name prefix and suffix #1987 [Jakob
|
2595
|
+
* Fixtures ignore table name prefix and suffix #1987 [Jakob Skjerning]
|
2524
2596
|
|
2525
|
-
* Add documentation for index_type argument to add_index method for migrations #2005 [
|
2597
|
+
* Add documentation for index_type argument to add_index method for migrations #2005 [Blaine]
|
2526
2598
|
|
2527
2599
|
* Modify read_attribute to allow a symbol argument #2024 [Ken Kunz]
|
2528
2600
|
|
2529
|
-
* Make destroy return self #1913 [
|
2601
|
+
* Make destroy return self #1913 [Sebastian Kanthak]
|
2530
2602
|
|
2531
2603
|
* Fix typo in validations documentation #1938 [court3nay]
|
2532
2604
|
|
@@ -2548,7 +2620,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2548
2620
|
|
2549
2621
|
* Fixed the handling of multiple blob columns in Oracle if one or more of them are null #1798
|
2550
2622
|
|
2551
|
-
* Added support for calling constrained class methods on has_many and has_and_belongs_to_many collections #1764 [Tobias
|
2623
|
+
* Added support for calling constrained class methods on has_many and has_and_belongs_to_many collections #1764 [Tobias Lütke]
|
2552
2624
|
|
2553
2625
|
class Comment < AR:B
|
2554
2626
|
def self.search(q)
|
@@ -2580,19 +2652,19 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2580
2652
|
|
2581
2653
|
*1.11.1* (11 July, 2005)
|
2582
2654
|
|
2583
|
-
* Added support for limit and offset with eager loading of has_one and belongs_to associations. Using the options with has_many and has_and_belongs_to_many associations will now raise an ActiveRecord::ConfigurationError #1692 [Rick
|
2655
|
+
* Added support for limit and offset with eager loading of has_one and belongs_to associations. Using the options with has_many and has_and_belongs_to_many associations will now raise an ActiveRecord::ConfigurationError #1692 [Rick Olson]
|
2584
2656
|
|
2585
2657
|
* Fixed that assume_bottom_position (in acts_as_list) could be called on items already last in the list and they would move one position away from the list #1648 [tyler@kianta.com]
|
2586
2658
|
|
2587
2659
|
* Added ActiveRecord::Base.threaded_connections flag to turn off 1-connection per thread (required for thread safety). By default it's on, but WEBrick in Rails need it off #1685 [Sam Stephenson]
|
2588
2660
|
|
2589
|
-
* Correct reflected table name for singular associations. #1688 [court3nay
|
2661
|
+
* Correct reflected table name for singular associations. #1688 [court3nay]
|
2590
2662
|
|
2591
2663
|
* Fixed optimistic locking with SQL Server #1660 [tom@popdog.net]
|
2592
2664
|
|
2593
2665
|
* Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current
|
2594
2666
|
|
2595
|
-
* Added better error message for "packets out of order" #1630 [
|
2667
|
+
* Added better error message for "packets out of order" #1630 [court3nay]
|
2596
2668
|
|
2597
2669
|
* Fixed first run of "rake migrate" on PostgreSQL by not expecting a return value on the id #1640
|
2598
2670
|
|
@@ -2603,7 +2675,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2603
2675
|
|
2604
2676
|
* Changed logging of SQL statements to use the DEBUG level instead of INFO
|
2605
2677
|
|
2606
|
-
* Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias
|
2678
|
+
* Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias Lütke] See documentation under ActiveRecord::Migration and the additional support in the Rails rakefile/generator.
|
2607
2679
|
|
2608
2680
|
* Added callback hooks to association collections #1549 [Florian Weber]. Example:
|
2609
2681
|
|
@@ -2626,13 +2698,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2626
2698
|
|
2627
2699
|
* Speed up ActiveRecord#method_missing for the common case (read_attribute).
|
2628
2700
|
|
2629
|
-
* Only notify observers on after_find and after_initialize if these methods are defined on the model. #1235 [
|
2701
|
+
* Only notify observers on after_find and after_initialize if these methods are defined on the model. #1235 [Stefan Kaes]
|
2630
2702
|
|
2631
2703
|
* Fixed that single-table inheritance sub-classes couldn't be used to limit the result set with eager loading #1215 [Chris McGrath]
|
2632
2704
|
|
2633
2705
|
* Fixed validates_numericality_of to work with overrided getter-method when :allow_nil is on #1316 [raidel@onemail.at]
|
2634
2706
|
|
2635
|
-
* Added roots, root, and siblings to the batch of methods added by acts_as_tree #1541 [
|
2707
|
+
* Added roots, root, and siblings to the batch of methods added by acts_as_tree #1541 [Michael Schuerig]
|
2636
2708
|
|
2637
2709
|
* Added support for limit/offset with the MS SQL Server driver so that pagination will now work #1569 [DeLynn Berry]
|
2638
2710
|
|
@@ -2654,7 +2726,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2654
2726
|
:conditions => 'project_id=1'
|
2655
2727
|
)
|
2656
2728
|
|
2657
|
-
* Fixed that validations didn't respecting custom setting for too_short, too_long messages #1437 [Marcel Molina]
|
2729
|
+
* Fixed that validations didn't respecting custom setting for too_short, too_long messages #1437 [Marcel Molina Jr.]
|
2658
2730
|
|
2659
2731
|
* Fixed that clear_association_cache doesn't delete new associations on new records (so you can safely place new records in the session with Action Pack without having new associations wiped) #1494 [cluon]
|
2660
2732
|
|
@@ -2681,7 +2753,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2681
2753
|
|
2682
2754
|
* Corrected typo in find SQL for has_and_belongs_to_many. #1312 [ben@bensinclair.com]
|
2683
2755
|
|
2684
|
-
* Fixed sanitized conditions for has_many finder method. #1281 [jackc@hylesanderson.com, pragdave, Tobias
|
2756
|
+
* Fixed sanitized conditions for has_many finder method. #1281 [jackc@hylesanderson.com, pragdave, Tobias Lütke]
|
2685
2757
|
|
2686
2758
|
* Comprehensive PostgreSQL schema support. Use the optional schema_search_path directive in database.yml to give a comma-separated list of schemas to search for your tables. This allows you, for example, to have tables in a shared schema without having to use a custom table name. See http://www.postgresql.org/docs/8.0/interactive/ddl-schemas.html to learn more. #827 [dave@cherryville.org]
|
2687
2759
|
|
@@ -2739,15 +2811,15 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2739
2811
|
# SELECT * FROM topics WHERE title IN ('First', 'Second')
|
2740
2812
|
Topic.find_all_by_title(["First", "Second"])
|
2741
2813
|
|
2742
|
-
* Added compatibility with camelCase column names for dynamic finders #533 [Dee
|
2814
|
+
* Added compatibility with camelCase column names for dynamic finders #533 [Dee Zsombor]
|
2743
2815
|
|
2744
|
-
* Fixed extraneous comma in count() function that made it not work with joins #1156 [
|
2816
|
+
* Fixed extraneous comma in count() function that made it not work with joins #1156 [Jarkko Laine/Dee Zsombor]
|
2745
2817
|
|
2746
2818
|
* Fixed incompatibility with Base#find with an array of ids that would fail when using eager loading #1186 [Alisdair McDiarmid]
|
2747
2819
|
|
2748
2820
|
* Fixed that validate_length_of lost :on option when :within was specified #1195 [jhosteny@mac.com]
|
2749
2821
|
|
2750
|
-
* Added encoding and min_messages options for PostgreSQL #1205 [
|
2822
|
+
* Added encoding and min_messages options for PostgreSQL #1205 [Shugo Maeda]. Configuration example:
|
2751
2823
|
|
2752
2824
|
development:
|
2753
2825
|
adapter: postgresql
|
@@ -2805,7 +2877,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2805
2877
|
a single query. A good use case for this is a threaded post system, where you want
|
2806
2878
|
to display every reply to a comment without multiple selects.
|
2807
2879
|
|
2808
|
-
* Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [
|
2880
|
+
* Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [Dave Thomas]
|
2809
2881
|
|
2810
2882
|
* Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com]
|
2811
2883
|
|
@@ -2835,7 +2907,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2835
2907
|
|
2836
2908
|
* Fixed counter_sql when no records exist in database for PostgreSQL (would give error, not 0) #1039 [Caleb Tennis]
|
2837
2909
|
|
2838
|
-
* Fixed that benchmarking times for rendering included db runtimes #987 [
|
2910
|
+
* Fixed that benchmarking times for rendering included db runtimes #987 [Stefan Kaes]
|
2839
2911
|
|
2840
2912
|
* Fixed boolean queries for t/f fields in PostgreSQL #995 [dave@cherryville.org]
|
2841
2913
|
|
@@ -2843,9 +2915,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2843
2915
|
|
2844
2916
|
* Fixed auto-stamping of dates (created_on/updated_on) for PostgreSQL #985 [dave@cherryville.org]
|
2845
2917
|
|
2846
|
-
* Fixed Base.silence/benchmark to only log if a logger has been configured #986 [
|
2918
|
+
* Fixed Base.silence/benchmark to only log if a logger has been configured #986 [Stefan Kaes]
|
2847
2919
|
|
2848
|
-
* Added a join parameter as the third argument to Base.find_first and as the second to Base.count #426, #988 [
|
2920
|
+
* Added a join parameter as the third argument to Base.find_first and as the second to Base.count #426, #988 [Stefan Kaes]
|
2849
2921
|
|
2850
2922
|
* Fixed bug in Base#hash method that would treat records with the same string-based id as different [Dave Thomas]
|
2851
2923
|
|
@@ -2931,7 +3003,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
2931
3003
|
account.save # => CC with id = 12 is destroyed
|
2932
3004
|
|
2933
3005
|
|
2934
|
-
* Added validates_numericality_of #716 [
|
3006
|
+
* Added validates_numericality_of #716 [Sebastian Kanthak/Chris McGrath]. Docuemntation:
|
2935
3007
|
|
2936
3008
|
Validates whether the value of the specified attribute is numeric by trying to convert it to
|
2937
3009
|
a float with Kernel.Float (if <tt>integer</tt> is false) or applying it to the regular expression
|
@@ -3001,7 +3073,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3001
3073
|
4. Added logic to the simplified_type method that allows the database to specify the scale of float data.
|
3002
3074
|
5. Adjusted the quote_column_name to account for the fact that MS SQL is bothered by a forward slash in the data string.
|
3003
3075
|
|
3004
|
-
* Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow
|
3076
|
+
* Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow]
|
3005
3077
|
|
3006
3078
|
* Added validates_each that validates each specified attribute against a block #610 [Jeremy Kemper]. Example:
|
3007
3079
|
|
@@ -3184,17 +3256,17 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3184
3256
|
|
3185
3257
|
* Fixed that that multiparameter assignment doesn't work with aggregations (closes #4620) [Lars Pind]
|
3186
3258
|
|
3187
|
-
* Enable Limit/Offset in Calculations (closes #4558) [lmarlow
|
3259
|
+
* Enable Limit/Offset in Calculations (closes #4558) [lmarlow]
|
3188
3260
|
|
3189
|
-
* Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick]
|
3261
|
+
* Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick Olson]
|
3190
3262
|
|
3191
3263
|
* Fixed HasManyAssociation#find bugs when :finder_sql is set #4600 [lagroue@free.fr]
|
3192
3264
|
|
3193
|
-
* Allow AR::Base#respond_to? to behave when @attributes is nil [
|
3265
|
+
* Allow AR::Base#respond_to? to behave when @attributes is nil [Ryan Davis]
|
3194
3266
|
|
3195
|
-
* Support eager includes when going through a polymorphic has_many association. [Rick]
|
3267
|
+
* Support eager includes when going through a polymorphic has_many association. [Rick Olson]
|
3196
3268
|
|
3197
|
-
* Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
|
3269
|
+
* Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick Olson]
|
3198
3270
|
|
3199
3271
|
class Post < ActiveRecord::Base
|
3200
3272
|
has_one :tagging, :as => :taggable
|
@@ -3202,9 +3274,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3202
3274
|
|
3203
3275
|
Post.find :all, :include => :tagging
|
3204
3276
|
|
3205
|
-
* Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick]
|
3277
|
+
* Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick Olson]
|
3206
3278
|
|
3207
|
-
* Added support for going through a polymorphic has_many association: (closes #4401) [Rick]
|
3279
|
+
* Added support for going through a polymorphic has_many association: (closes #4401) [Rick Olson]
|
3208
3280
|
|
3209
3281
|
class PhotoCollection < ActiveRecord::Base
|
3210
3282
|
has_many :photos, :as => :photographic
|
@@ -3222,36 +3294,36 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3222
3294
|
|
3223
3295
|
* Changed those private ActiveRecord methods to take optional third argument :auto instead of nil for performance optimizations. (closes #4456) [Stefan]
|
3224
3296
|
|
3225
|
-
* Private ActiveRecord methods add_limit!, add_joins!, and add_conditions! take an OPTIONAL third argument 'scope' (closes #4456) [Rick]
|
3297
|
+
* Private ActiveRecord methods add_limit!, add_joins!, and add_conditions! take an OPTIONAL third argument 'scope' (closes #4456) [Rick Olson]
|
3226
3298
|
|
3227
|
-
* DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [
|
3299
|
+
* DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [David Heinemeier Hansson]
|
3228
3300
|
|
3229
|
-
* Fixed that records returned from has_and_belongs_to_many associations with additional attributes should be marked as read only (fixes #4512) [
|
3301
|
+
* Fixed that records returned from has_and_belongs_to_many associations with additional attributes should be marked as read only (fixes #4512) [David Heinemeier Hansson]
|
3230
3302
|
|
3231
3303
|
* Do not implicitly mark recordss of has_many :through as readonly but do mark habtm records as readonly (eventually only on join tables without rich attributes). [Marcel Mollina Jr.]
|
3232
3304
|
|
3233
|
-
* Fixed broken OCIAdapter #4457 [
|
3305
|
+
* Fixed broken OCIAdapter #4457 [Michael Schoen]
|
3234
3306
|
|
3235
3307
|
|
3236
3308
|
*1.14.0* (March 27th, 2006)
|
3237
3309
|
|
3238
3310
|
* Replace 'rescue Object' with a finer grained rescue. Closes #4431. [Nicholas Seckar]
|
3239
3311
|
|
3240
|
-
* Fixed eager loading so that an aliased table cannot clash with a has_and_belongs_to_many join table [Rick]
|
3312
|
+
* Fixed eager loading so that an aliased table cannot clash with a has_and_belongs_to_many join table [Rick Olson]
|
3241
3313
|
|
3242
3314
|
* Add support for :include to with_scope [andrew@redlinesoftware.com]
|
3243
3315
|
|
3244
|
-
* Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 #4390 [
|
3316
|
+
* Support the use of public synonyms with the Oracle adapter; required ruby-oci8 v0.1.14 #4390 [Michael Schoen]
|
3245
3317
|
|
3246
3318
|
* Change periods (.) in table aliases to _'s. Closes #4251 [jeff@ministrycentered.com]
|
3247
3319
|
|
3248
|
-
* Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. Closes #4348 [Rick]
|
3320
|
+
* Changed has_and_belongs_to_many join to INNER JOIN for Mysql 3.23.x. Closes #4348 [Rick Olson]
|
3249
3321
|
|
3250
|
-
* Fixed issue that kept :select options from being scoped [Rick]
|
3322
|
+
* Fixed issue that kept :select options from being scoped [Rick Olson]
|
3251
3323
|
|
3252
|
-
* Fixed db_schema_import when binary types are present #3101 [
|
3324
|
+
* Fixed db_schema_import when binary types are present #3101 [David Heinemeier Hansson]
|
3253
3325
|
|
3254
|
-
* Fixed that MySQL enums should always be returned as strings #3501 [
|
3326
|
+
* Fixed that MySQL enums should always be returned as strings #3501 [David Heinemeier Hansson]
|
3255
3327
|
|
3256
3328
|
* Change has_many :through to use the :source option to specify the source association. :class_name is now ignored. [Rick Olson]
|
3257
3329
|
|
@@ -3282,13 +3354,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3282
3354
|
end
|
3283
3355
|
end
|
3284
3356
|
|
3285
|
-
* Fixed that schema changes while the database was open would break any connections to a SQLite database (now we reconnect if that error is throw) [
|
3357
|
+
* Fixed that schema changes while the database was open would break any connections to a SQLite database (now we reconnect if that error is throw) [David Heinemeier Hansson]
|
3286
3358
|
|
3287
|
-
* Don't classify the has_one class when eager loading, it is already singular. Add tests. (closes #4117) [
|
3359
|
+
* Don't classify the has_one class when eager loading, it is already singular. Add tests. (closes #4117) [Jonathan Viney]
|
3288
3360
|
|
3289
3361
|
* Quit ignoring default :include options in has_many :through calls [Mark James]
|
3290
3362
|
|
3291
|
-
* Allow has_many :through associations to find the source association by setting a custom class (closes #4307) [
|
3363
|
+
* Allow has_many :through associations to find the source association by setting a custom class (closes #4307) [Jonathan Viney]
|
3292
3364
|
|
3293
3365
|
* Eager Loading support added for has_many :through => :has_many associations (see below). [Rick Olson]
|
3294
3366
|
|
@@ -3308,13 +3380,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3308
3380
|
belongs_to :client
|
3309
3381
|
end
|
3310
3382
|
|
3311
|
-
* Raise error when trying to select many polymorphic objects with has_many :through or :include (closes #4226) [
|
3383
|
+
* Raise error when trying to select many polymorphic objects with has_many :through or :include (closes #4226) [Josh Susser]
|
3312
3384
|
|
3313
|
-
* Fixed has_many :through to include :conditions set on the :through association. closes #4020 [
|
3385
|
+
* Fixed has_many :through to include :conditions set on the :through association. closes #4020 [Jonathan Viney]
|
3314
3386
|
|
3315
|
-
* Fix that has_many :through honors the foreign key set by the belongs_to association in the join model (closes #4259) [andylien@gmail.com / Rick]
|
3387
|
+
* Fix that has_many :through honors the foreign key set by the belongs_to association in the join model (closes #4259) [andylien@gmail.com / Rick Olson]
|
3316
3388
|
|
3317
|
-
* SQL Server adapter gets some love #4298 [
|
3389
|
+
* SQL Server adapter gets some love #4298 [Ryan Tomayko]
|
3318
3390
|
|
3319
3391
|
* Added OpenBase database adapter that builds on top of the http://www.spice-of-life.net/ruby-openbase/ driver. All functionality except LIMIT/OFFSET is supported #3528 [derrickspell@cdmplus.com]
|
3320
3392
|
|
@@ -3322,27 +3394,27 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3322
3394
|
|
3323
3395
|
Author.find(:all, :include => { :posts => :special_comments }, :order => 'special_comments.body')
|
3324
3396
|
|
3325
|
-
* Add AbstractAdapter#table_alias_for to create table aliases according to the rules of the current adapter. [Rick]
|
3397
|
+
* Add AbstractAdapter#table_alias_for to create table aliases according to the rules of the current adapter. [Rick Olson]
|
3326
3398
|
|
3327
|
-
* Provide access to the underlying database connection through Adapter#raw_connection. Enables the use of db-specific methods without complicating the adapters. #2090 [
|
3399
|
+
* Provide access to the underlying database connection through Adapter#raw_connection. Enables the use of db-specific methods without complicating the adapters. #2090 [Michael Koziarski]
|
3328
3400
|
|
3329
|
-
* Remove broken attempts at handling columns with a default of 'now()' in the postgresql adapter. #2257 [
|
3401
|
+
* Remove broken attempts at handling columns with a default of 'now()' in the postgresql adapter. #2257 [Michael Koziarski]
|
3330
3402
|
|
3331
|
-
* Added connection#current_database that'll return of the current database (only works in MySQL, SQL Server, and Oracle so far -- please help implement for the rest of the adapters) #3663 [Tom
|
3403
|
+
* Added connection#current_database that'll return of the current database (only works in MySQL, SQL Server, and Oracle so far -- please help implement for the rest of the adapters) #3663 [Tom Ward]
|
3332
3404
|
|
3333
3405
|
* Fixed that Migration#execute would have the table name prefix appended to its query #4110 [mark.imbriaco@pobox.com]
|
3334
3406
|
|
3335
3407
|
* Make all tinyint(1) variants act like boolean in mysql (tinyint(1) unsigned, etc.) [Jamis Buck]
|
3336
3408
|
|
3337
|
-
* Use association's :conditions when eager loading. [
|
3409
|
+
* Use association's :conditions when eager loading. [Jeremy Evans] #4144
|
3338
3410
|
|
3339
|
-
* Alias the has_and_belongs_to_many join table on eager includes. #4106 [
|
3411
|
+
* Alias the has_and_belongs_to_many join table on eager includes. #4106 [Jeremy Evans]
|
3340
3412
|
|
3341
3413
|
This statement would normally error because the projects_developers table is joined twice, and therefore joined_on would be ambiguous.
|
3342
3414
|
|
3343
3415
|
Developer.find(:all, :include => {:projects => :developers}, :conditions => 'join_project_developers.joined_on IS NOT NULL')
|
3344
3416
|
|
3345
|
-
* Oracle adapter gets some love #4230 [
|
3417
|
+
* Oracle adapter gets some love #4230 [Michael Schoen]
|
3346
3418
|
|
3347
3419
|
* Changes :text to CLOB rather than BLOB [Moses Hohman]
|
3348
3420
|
* Fixes an issue with nil numeric length/scales (several)
|
@@ -3377,7 +3449,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3377
3449
|
has_many :attachments, :as => :attachable, :dependent => :delete_all
|
3378
3450
|
end
|
3379
3451
|
|
3380
|
-
* Nicer error message on has_many :through when :through reflection can not be found. #4042 [court3nay
|
3452
|
+
* Nicer error message on has_many :through when :through reflection can not be found. #4042 [court3nay]
|
3381
3453
|
|
3382
3454
|
* Upgrade to Transaction::Simple 1.3 [Jamis Buck]
|
3383
3455
|
|
@@ -3389,7 +3461,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3389
3461
|
|
3390
3462
|
* Dynamically set allow_concurrency. #4044 [Stefan Kaes]
|
3391
3463
|
|
3392
|
-
* Added Base#to_xml that'll turn the current record into a XML representation [
|
3464
|
+
* Added Base#to_xml that'll turn the current record into a XML representation [David Heinemeier Hansson]. Example:
|
3393
3465
|
|
3394
3466
|
topic.to_xml
|
3395
3467
|
|
@@ -3524,9 +3596,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3524
3596
|
|
3525
3597
|
* CHANGED DEFAULT: set ActiveRecord::Base.allow_concurrency to false. Most AR usage is in single-threaded applications. [Jeremy Kemper]
|
3526
3598
|
|
3527
|
-
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias #4017 [
|
3599
|
+
* Renamed the "oci" adapter to "oracle", but kept the old name as an alias #4017 [Michael Schoen]
|
3528
3600
|
|
3529
|
-
* Fixed that Base.save should always return false if the save didn't succeed, including if it has halted by before_save's #1861, #2477 [
|
3601
|
+
* Fixed that Base.save should always return false if the save didn't succeed, including if it has halted by before_save's #1861, #2477 [David Heinemeier Hansson]
|
3530
3602
|
|
3531
3603
|
* Speed up class -> connection caching and stale connection verification. #3979 [Stefan Kaes]
|
3532
3604
|
|
@@ -3534,7 +3606,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3534
3606
|
|
3535
3607
|
* Added that fixtures to placed in subdirectories of the main fixture files are also loaded #3937 [dblack@wobblini.net]
|
3536
3608
|
|
3537
|
-
* Define attribute query methods to avoid method_missing calls. #3677 [
|
3609
|
+
* Define attribute query methods to avoid method_missing calls. #3677 [Jonathan Viney]
|
3538
3610
|
|
3539
3611
|
* ActiveRecord::Base.remove_connection explicitly closes database connections and doesn't corrupt the connection cache. Introducing the disconnect! instance method for the PostgreSQL, MySQL, and SQL Server adapters; implementations for the others are welcome. #3591 [Simon Stapleton, Tom Ward]
|
3540
3612
|
|
@@ -3558,7 +3630,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3558
3630
|
|
3559
3631
|
* Fixed validates_length_of to work on UTF-8 strings by using characters instead of bytes #3699 [Masao Mutoh]
|
3560
3632
|
|
3561
|
-
* Fixed that reflections would bleed across class boundaries in single-table inheritance setups #3796 [
|
3633
|
+
* Fixed that reflections would bleed across class boundaries in single-table inheritance setups #3796 [Lars Pind]
|
3562
3634
|
|
3563
3635
|
* Added calculations: Base.count, Base.average, Base.sum, Base.minimum, Base.maxmium, and the generic Base.calculate. All can be used with :group and :having. Calculations and statitics need no longer require custom SQL. #3958 [Rick Olson]. Examples:
|
3564
3636
|
|
@@ -3567,7 +3639,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3567
3639
|
Person.maximum :age
|
3568
3640
|
Person.sum :salary, :group => :last_name
|
3569
3641
|
|
3570
|
-
* Renamed Errors#count to Errors#size but kept an alias for the old name (and included an alias for length too) #3920 [
|
3642
|
+
* Renamed Errors#count to Errors#size but kept an alias for the old name (and included an alias for length too) #3920 [Luke Redpath]
|
3571
3643
|
|
3572
3644
|
* Reflections don't attempt to resolve module nesting of association classes. Simplify type computation. [Jeremy Kemper]
|
3573
3645
|
|
@@ -3575,7 +3647,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3575
3647
|
|
3576
3648
|
* Fixed that the schema_info table used by ActiveRecord::Schema.define should respect table pre- and suffixes #3834 [rubyonrails@atyp.de]
|
3577
3649
|
|
3578
|
-
* Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT #3839 [
|
3650
|
+
* Added :select option to Base.count that'll allow you to select something else than * to be counted on. Especially important for count queries using DISTINCT #3839 [Stefan Kaes]
|
3579
3651
|
|
3580
3652
|
* Correct syntax error in mysql DDL, and make AAACreateTablesTest run first [Bob Silva]
|
3581
3653
|
|
@@ -3591,19 +3663,19 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3591
3663
|
|
3592
3664
|
* Fix problems with count when used with :include [Jeremy Hopple and Kevin Clark]
|
3593
3665
|
|
3594
|
-
* ActiveRecord::RecordInvalid now states which validations failed in its default error message [Tobias
|
3666
|
+
* ActiveRecord::RecordInvalid now states which validations failed in its default error message [Tobias Lütke]
|
3595
3667
|
|
3596
|
-
* Using AssociationCollection#build with arrays of hashes should call build, not create [
|
3668
|
+
* Using AssociationCollection#build with arrays of hashes should call build, not create [David Heinemeier Hansson]
|
3597
3669
|
|
3598
3670
|
* Remove definition of reloadable? from ActiveRecord::Base to make way for new Reloadable code. [Nicholas Seckar]
|
3599
3671
|
|
3600
3672
|
* Fixed schema handling for DB2 adapter that didn't work: an initial schema could be set, but it wasn't used when getting tables and indexes #3678 [Maik Schmidt]
|
3601
3673
|
|
3602
|
-
* Support the :column option for remove_index with the PostgreSQL adapter. #3661 [
|
3674
|
+
* Support the :column option for remove_index with the PostgreSQL adapter. #3661 [Shugo Maeda]
|
3603
3675
|
|
3604
3676
|
* Add documentation for add_index and remove_index. #3600 [Manfred Stienstra <m.stienstra@fngtps.com>]
|
3605
3677
|
|
3606
|
-
* If the OCI library is not available, raise an exception indicating as much. #3593 [
|
3678
|
+
* If the OCI library is not available, raise an exception indicating as much. #3593 [Michael Schoen]
|
3607
3679
|
|
3608
3680
|
* Add explicit :order in finder tests as postgresql orders results differently by default. #3577. [Rick Olson]
|
3609
3681
|
|
@@ -3611,7 +3683,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3611
3683
|
|
3612
3684
|
* Show a meaningful error when the DB2 adapter cannot be loaded due to missing dependencies. [Nicholas Seckar]
|
3613
3685
|
|
3614
|
-
* Make .count work for has_many associations with multi line finder sql [
|
3686
|
+
* Make .count work for has_many associations with multi line finder sql [Michael Schoen]
|
3615
3687
|
|
3616
3688
|
* Add AR::Base.base_class for querying the ancestor AR::Base subclass [Jamis Buck]
|
3617
3689
|
|
@@ -3619,13 +3691,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3619
3691
|
|
3620
3692
|
* Don't hardcode 'id' in acts as list. [ror@philippeapril.com]
|
3621
3693
|
|
3622
|
-
* Fix date errors for SQLServer in association tests. #3406 [
|
3694
|
+
* Fix date errors for SQLServer in association tests. #3406 [Kevin Clark]
|
3623
3695
|
|
3624
3696
|
* Escape database name in MySQL adapter when creating and dropping databases. #3409 [anna@wota.jp]
|
3625
3697
|
|
3626
3698
|
* Disambiguate table names for columns in validates_uniquness_of's WHERE clause. #3423 [alex.borovsky@gmail.com]
|
3627
3699
|
|
3628
|
-
* .with_scope imposed create parameters now bypass attr_protected [Tobias
|
3700
|
+
* .with_scope imposed create parameters now bypass attr_protected [Tobias Lütke]
|
3629
3701
|
|
3630
3702
|
* Don't raise an exception when there are more keys than there are named bind variables when sanitizing conditions. [Marcel Molina Jr.]
|
3631
3703
|
|
@@ -3633,25 +3705,25 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3633
3705
|
|
3634
3706
|
* Sanitize scoped conditions. [Marcel Molina Jr.]
|
3635
3707
|
|
3636
|
-
* Added option to Base.reflection_of_all_associations to specify a specific association to scope the call. For example Base.reflection_of_all_associations(:has_many) [
|
3708
|
+
* Added option to Base.reflection_of_all_associations to specify a specific association to scope the call. For example Base.reflection_of_all_associations(:has_many) [David Heinemeier Hansson]
|
3637
3709
|
|
3638
|
-
* Added ActiveRecord::SchemaDumper.ignore_tables which tells SchemaDumper which tables to ignore. Useful for tables with funky column like the ones required for tsearch2. [
|
3710
|
+
* Added ActiveRecord::SchemaDumper.ignore_tables which tells SchemaDumper which tables to ignore. Useful for tables with funky column like the ones required for tsearch2. [Tobias Lütke]
|
3639
3711
|
|
3640
|
-
* SchemaDumper now doesn't fail anymore when there are unknown column types in the schema. Instead the table is ignored and a Comment is left in the schema.rb. [
|
3712
|
+
* SchemaDumper now doesn't fail anymore when there are unknown column types in the schema. Instead the table is ignored and a Comment is left in the schema.rb. [Tobias Lütke]
|
3641
3713
|
|
3642
3714
|
* Fixed that saving a model with multiple habtm associations would only save the first one. #3244 [yanowitz-rubyonrails@quantumfoam.org, Florian Weber]
|
3643
3715
|
|
3644
3716
|
* Fix change_column to work with PostgreSQL 7.x and 8.x. #3141 [wejn@box.cz, Rick Olson, Scott Barron]
|
3645
3717
|
|
3646
|
-
* removed :piggyback in favor of just allowing :select on :through associations. [Tobias
|
3718
|
+
* removed :piggyback in favor of just allowing :select on :through associations. [Tobias Lütke]
|
3647
3719
|
|
3648
|
-
* made method missing delegation to class methods on relation target work on :through associations. [Tobias
|
3720
|
+
* made method missing delegation to class methods on relation target work on :through associations. [Tobias Lütke]
|
3649
3721
|
|
3650
|
-
* made .find() work on :through relations. [Tobias
|
3722
|
+
* made .find() work on :through relations. [Tobias Lütke]
|
3651
3723
|
|
3652
3724
|
* Fix typo in association docs. #3296. [Blair Zajac]
|
3653
3725
|
|
3654
|
-
* Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model [Tobias
|
3726
|
+
* Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model [Tobias Lütke]
|
3655
3727
|
|
3656
3728
|
*1.13.2* (December 13th, 2005)
|
3657
3729
|
|
@@ -3659,7 +3731,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3659
3731
|
|
3660
3732
|
* MySQL: allow encoding option for mysql.rb driver. [Jeremy Kemper]
|
3661
3733
|
|
3662
|
-
* Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [
|
3734
|
+
* Added option inheritance for find calls on has_and_belongs_to_many and has_many assosociations [David Heinemeier Hansson]. Example:
|
3663
3735
|
|
3664
3736
|
class Post
|
3665
3737
|
has_many :recent_comments, :class_name => "Comment", :limit => 10, :include => :author
|
@@ -3669,7 +3741,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3669
3741
|
post.recent_comments.find(:all, :limit => nil) # Uses no limit but include authors
|
3670
3742
|
post.recent_comments.find(:all, :limit => nil, :include => nil) # Uses no limit and doesn't include authors
|
3671
3743
|
|
3672
|
-
* Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [
|
3744
|
+
* Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [David Heinemeier Hansson]
|
3673
3745
|
|
3674
3746
|
* MySQL: fixes for the bundled mysql.rb driver. #3160 [Justin Forder]
|
3675
3747
|
|
@@ -3687,7 +3759,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3687
3759
|
|
3688
3760
|
* MySQL: more robust test for nullified result hashes. #3124 [Stefan Kaes]
|
3689
3761
|
|
3690
|
-
* Reloading an instance refreshes its aggregations as well as its associations. #3024 [
|
3762
|
+
* Reloading an instance refreshes its aggregations as well as its associations. #3024 [François Beausoleil]
|
3691
3763
|
|
3692
3764
|
* Fixed that using :include together with :conditions array in Base.find would cause NoMethodError #2887 [Paul Hammmond]
|
3693
3765
|
|
@@ -3697,9 +3769,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3697
3769
|
|
3698
3770
|
* MySQL: work around ruby-mysql/mysql-ruby inconsistency with mysql.stat. Eliminate usage of mysql.ping because it doesn't guarantee reconnect. Explicitly close and reopen the connection instead. [Jeremy Kemper]
|
3699
3771
|
|
3700
|
-
* Added preliminary support for polymorphic associations [
|
3772
|
+
* Added preliminary support for polymorphic associations [David Heinemeier Hansson]
|
3701
3773
|
|
3702
|
-
* Added preliminary support for join models [
|
3774
|
+
* Added preliminary support for join models [David Heinemeier Hansson]
|
3703
3775
|
|
3704
3776
|
* Allow validate_uniqueness_of to be scoped by more than just one column. #1559. [jeremy@jthopple.com, Marcel Molina Jr.]
|
3705
3777
|
|
@@ -3725,7 +3797,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3725
3797
|
|
3726
3798
|
* Add tasks to create, drop and rebuild the MySQL and PostgreSQL test databases. [Marcel Molina Jr.]
|
3727
3799
|
|
3728
|
-
* Correct boolean handling in generated reader methods. #2945 [
|
3800
|
+
* Correct boolean handling in generated reader methods. #2945 [Don Park, Stefan Kaes]
|
3729
3801
|
|
3730
3802
|
* Don't generate read methods for columns whose names are not valid ruby method names. #2946 [Stefan Kaes]
|
3731
3803
|
|
@@ -3773,7 +3845,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3773
3845
|
|
3774
3846
|
* Fix sqlite adaptor's detection of missing dbfile or database declaration. [Nicholas Seckar]
|
3775
3847
|
|
3776
|
-
* Fixed acts_as_list for definitions without an explicit :order #2803 [
|
3848
|
+
* Fixed acts_as_list for definitions without an explicit :order #2803 [Jonathan Viney]
|
3777
3849
|
|
3778
3850
|
* Upgrade bundled ruby-mysql 0.2.4 with mysql411 shim (see #440) to ruby-mysql 0.2.6 with a patchset for 4.1 protocol support. Local change [301] is now a part of the main driver; reapplied local change [2182]. Removed GC.start from Result.free. [tommy@tmtm.org, akuroda@gmail.com, Doug Fales <doug.fales@gmail.com>, Jeremy Kemper]
|
3779
3851
|
|
@@ -3792,7 +3864,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3792
3864
|
|
3793
3865
|
* Fixed faulty regex in get_table_name method (SQLServerAdapter) #2639 [Ryan Tomayko]
|
3794
3866
|
|
3795
|
-
* Added :include as an option for association declarations [
|
3867
|
+
* Added :include as an option for association declarations [David Heinemeier Hansson]. Example:
|
3796
3868
|
|
3797
3869
|
has_many :posts, :include => [ :author, :comments ]
|
3798
3870
|
|
@@ -3807,7 +3879,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3807
3879
|
|
3808
3880
|
* Fixed that SQL Server should ignore :size declarations on anything but integer and string in the agnostic schema representation #2756 [Ryan Tomayko]
|
3809
3881
|
|
3810
|
-
* Added constrain scoping for creates using a hash of attributes bound to the :creation key [
|
3882
|
+
* Added constrain scoping for creates using a hash of attributes bound to the :creation key [David Heinemeier Hansson]. Example:
|
3811
3883
|
|
3812
3884
|
Comment.constrain(:creation => { :post_id => 5 }) do
|
3813
3885
|
# Associated with :post_id
|
@@ -3819,7 +3891,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3819
3891
|
# If the tag doesn't exist, a new one is created that's associated with the person
|
3820
3892
|
person.tags.find_or_create_by_name("Summer")
|
3821
3893
|
|
3822
|
-
* Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [
|
3894
|
+
* Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [David Heinemeier Hansson]. Example:
|
3823
3895
|
|
3824
3896
|
# No 'Summer' tag exists
|
3825
3897
|
Tag.find_or_create_by_name("Summer") # equal to Tag.create(:name => "Summer")
|
@@ -3827,7 +3899,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3827
3899
|
# Now the 'Summer' tag does exist
|
3828
3900
|
Tag.find_or_create_by_name("Summer") # equal to Tag.find_by_name("Summer")
|
3829
3901
|
|
3830
|
-
* Added extension capabilities to has_many and has_and_belongs_to_many proxies [
|
3902
|
+
* Added extension capabilities to has_many and has_and_belongs_to_many proxies [David Heinemeier Hansson]. Example:
|
3831
3903
|
|
3832
3904
|
class Account < ActiveRecord::Base
|
3833
3905
|
has_many :people do
|
@@ -3846,9 +3918,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3846
3918
|
|
3847
3919
|
Note that the anoymous module must be declared using brackets, not do/end (due to order of evaluation).
|
3848
3920
|
|
3849
|
-
* Omit internal dtproperties table from SQLServer table list. #2729 [
|
3921
|
+
* Omit internal dtproperties table from SQLServer table list. #2729 [Ryan Tomayko]
|
3850
3922
|
|
3851
|
-
* Quote column names in generated SQL. #2728 [
|
3923
|
+
* Quote column names in generated SQL. #2728 [Ryan Tomayko]
|
3852
3924
|
|
3853
3925
|
* Correct the pure-Ruby MySQL 4.1.1 shim's version test. #2718 [Jeremy Kemper]
|
3854
3926
|
|
@@ -3862,7 +3934,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3862
3934
|
|
3863
3935
|
* Worked around that connection can't be reset if allow_concurrency is off. #2648 [Michael Schoen <schoenm@earthlink.net>]
|
3864
3936
|
|
3865
|
-
* Fixed SQL Server adapter to pass even more tests and do even better #2634 [
|
3937
|
+
* Fixed SQL Server adapter to pass even more tests and do even better #2634 [Ryan Tomayko]
|
3866
3938
|
|
3867
3939
|
* Fixed SQL Server adapter so it honors options[:conditions] when applying :limits #1978 [Tom Ward]
|
3868
3940
|
|
@@ -3875,18 +3947,18 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3875
3947
|
|
3876
3948
|
* Added :offset and :limit to the kinds of options that Base.constrain can use #2466 [duane.johnson@gmail.com]
|
3877
3949
|
|
3878
|
-
* Fixed handling of nil number columns on Oracle and cleaned up tests for Oracle in general #2555 [
|
3950
|
+
* Fixed handling of nil number columns on Oracle and cleaned up tests for Oracle in general #2555 [Michael Schoen]
|
3879
3951
|
|
3880
3952
|
* Added quoted_true and quoted_false methods and tables to db2_adapter and cleaned up tests for DB2 #2493, #2624 [maik schmidt]
|
3881
3953
|
|
3882
3954
|
|
3883
3955
|
*1.12.2* (October 26th, 2005)
|
3884
3956
|
|
3885
|
-
* Allow symbols to rename columns when using SQLite adapter. #2531 [
|
3957
|
+
* Allow symbols to rename columns when using SQLite adapter. #2531 [Kevin Clark]
|
3886
3958
|
|
3887
3959
|
* Map Active Record time to SQL TIME. #2575, #2576 [Robby Russell <robby@planetargon.com>]
|
3888
3960
|
|
3889
|
-
* Clarify semantics of ActiveRecord::Base#respond_to? #2560 [
|
3961
|
+
* Clarify semantics of ActiveRecord::Base#respond_to? #2560 [Stefan Kaes]
|
3890
3962
|
|
3891
3963
|
* Fixed Association#clear for associations which have not yet been accessed. #2524 [Patrick Lenz <patrick@lenz.sh>]
|
3892
3964
|
|
@@ -3940,25 +4012,25 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3940
4012
|
|
3941
4013
|
* Add test coverage for content_columns. #2432. [coffee2code]
|
3942
4014
|
|
3943
|
-
* Speed up for unthreaded environments. #2431. [
|
4015
|
+
* Speed up for unthreaded environments. #2431. [Stefan Kaes]
|
3944
4016
|
|
3945
|
-
* Optimization for Mysql selects using mysql-ruby extension greater than 2.6.3. #2426. [
|
4017
|
+
* Optimization for Mysql selects using mysql-ruby extension greater than 2.6.3. #2426. [Stefan Kaes]
|
3946
4018
|
|
3947
|
-
* Speed up the setting of table_name. #2428. [
|
4019
|
+
* Speed up the setting of table_name. #2428. [Stefan Kaes]
|
3948
4020
|
|
3949
|
-
* Optimize instantiation of STI subclass records. In partial fullfilment of #1236. [
|
4021
|
+
* Optimize instantiation of STI subclass records. In partial fullfilment of #1236. [Stefan Kaes]
|
3950
4022
|
|
3951
4023
|
* Fix typo of 'constrains' to 'contraints'. #2069. [Michael Schuerig <michael@schuerig.de>]
|
3952
4024
|
|
3953
|
-
* Optimization refactoring for add_limit_offset!. In partial fullfilment of #1236. [
|
4025
|
+
* Optimization refactoring for add_limit_offset!. In partial fullfilment of #1236. [Stefan Kaes]
|
3954
4026
|
|
3955
4027
|
* Add ability to get all siblings, including the current child, with acts_as_tree. Recloses #2140. [Michael Schuerig <michael@schuerig.de>]
|
3956
4028
|
|
3957
|
-
* Add geometric type for postgresql adapter. #2233 [
|
4029
|
+
* Add geometric type for postgresql adapter. #2233 [Andrew Kaspick]
|
3958
4030
|
|
3959
|
-
* Add option (true by default) to generate reader methods for each attribute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236. [
|
4031
|
+
* Add option (true by default) to generate reader methods for each attribute of a record to avoid the overhead of calling method missing. In partial fullfilment of #1236. [Stefan Kaes]
|
3960
4032
|
|
3961
|
-
* Add convenience predicate methods on Column class. In partial fullfilment of #1236. [
|
4033
|
+
* Add convenience predicate methods on Column class. In partial fullfilment of #1236. [Stefan Kaes]
|
3962
4034
|
|
3963
4035
|
* Raise errors when invalid hash keys are passed to ActiveRecord::Base.find. #2363 [Chad Fowler <chad@chadfowler.com>, Nicholas Seckar]
|
3964
4036
|
|
@@ -3983,7 +4055,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3983
4055
|
* Make update_attribute use the same writer method that update_attributes uses.
|
3984
4056
|
#2237 [trevor@protocool.com]
|
3985
4057
|
|
3986
|
-
* Make migrations honor table name prefixes and suffixes. #2298 [Jakob
|
4058
|
+
* Make migrations honor table name prefixes and suffixes. #2298 [Jakob Skjerning, Marcel Molina Jr.]
|
3987
4059
|
|
3988
4060
|
* Correct and optimize PostgreSQL bytea escaping. #1745, #1837 [dave@cherryville.org, ken@miriamtech.com, bellis@deepthought.org]
|
3989
4061
|
|
@@ -3991,7 +4063,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
3991
4063
|
|
3992
4064
|
* Standardize the interpretation of boolean columns in the Mysql and Sqlite adapters. (Use MysqlAdapter.emulate_booleans = false to disable this behavior)
|
3993
4065
|
|
3994
|
-
* Added new symbol-driven approach to activating observers with Base#observers= [
|
4066
|
+
* Added new symbol-driven approach to activating observers with Base#observers= [David Heinemeier Hansson]. Example:
|
3995
4067
|
|
3996
4068
|
ActiveRecord::Base.observers = :cacher, :garbage_collector
|
3997
4069
|
|
@@ -4007,19 +4079,19 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4007
4079
|
|
4008
4080
|
* Fixed that the create_x method from belongs_to wouldn't save the association properly #2042 [Florian Weber]
|
4009
4081
|
|
4010
|
-
* Fixed saving a record with two unsaved belongs_to associations pointing to the same object #2023 [Tobias
|
4082
|
+
* Fixed saving a record with two unsaved belongs_to associations pointing to the same object #2023 [Tobias Lütke]
|
4011
4083
|
|
4012
4084
|
* Improved migrations' behavior when the schema_info table is empty. [Nicholas Seckar]
|
4013
4085
|
|
4014
4086
|
* Fixed that Observers didn't observe sub-classes #627 [Florian Weber]
|
4015
4087
|
|
4016
|
-
* Fix eager loading error messages, allow :include to specify tables using strings or symbols. Closes #2222 [Marcel Molina]
|
4088
|
+
* Fix eager loading error messages, allow :include to specify tables using strings or symbols. Closes #2222 [Marcel Molina Jr.]
|
4017
4089
|
|
4018
4090
|
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae]
|
4019
4091
|
|
4020
4092
|
* Fixed various problems with has_and_belongs_to_many when using customer finder_sql #2094 [Florian Weber]
|
4021
4093
|
|
4022
|
-
* Added better exception error when unknown column types are used with migrations #1814 [
|
4094
|
+
* Added better exception error when unknown column types are used with migrations #1814 [François Beausoleil]
|
4023
4095
|
|
4024
4096
|
* Fixed "connection lost" issue with the bundled Ruby/MySQL driver (would kill the app after 8 hours of inactivity) #2163, #428 [kajism@yahoo.com]
|
4025
4097
|
|
@@ -4035,13 +4107,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4035
4107
|
|
4036
4108
|
* Make sure the schema_info table is created before querying the current version #1903
|
4037
4109
|
|
4038
|
-
* Fixtures ignore table name prefix and suffix #1987 [Jakob
|
4110
|
+
* Fixtures ignore table name prefix and suffix #1987 [Jakob Skjerning]
|
4039
4111
|
|
4040
|
-
* Add documentation for index_type argument to add_index method for migrations #2005 [
|
4112
|
+
* Add documentation for index_type argument to add_index method for migrations #2005 [Blaine]
|
4041
4113
|
|
4042
4114
|
* Modify read_attribute to allow a symbol argument #2024 [Ken Kunz]
|
4043
4115
|
|
4044
|
-
* Make destroy return self #1913 [
|
4116
|
+
* Make destroy return self #1913 [Sebastian Kanthak]
|
4045
4117
|
|
4046
4118
|
* Fix typo in validations documentation #1938 [court3nay]
|
4047
4119
|
|
@@ -4063,7 +4135,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4063
4135
|
|
4064
4136
|
* Fixed the handling of multiple blob columns in Oracle if one or more of them are null #1798
|
4065
4137
|
|
4066
|
-
* Added support for calling constrained class methods on has_many and has_and_belongs_to_many collections #1764 [Tobias
|
4138
|
+
* Added support for calling constrained class methods on has_many and has_and_belongs_to_many collections #1764 [Tobias Lütke]
|
4067
4139
|
|
4068
4140
|
class Comment < AR:B
|
4069
4141
|
def self.search(q)
|
@@ -4095,19 +4167,19 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4095
4167
|
|
4096
4168
|
*1.11.1* (11 July, 2005)
|
4097
4169
|
|
4098
|
-
* Added support for limit and offset with eager loading of has_one and belongs_to associations. Using the options with has_many and has_and_belongs_to_many associations will now raise an ActiveRecord::ConfigurationError #1692 [Rick
|
4170
|
+
* Added support for limit and offset with eager loading of has_one and belongs_to associations. Using the options with has_many and has_and_belongs_to_many associations will now raise an ActiveRecord::ConfigurationError #1692 [Rick Olson]
|
4099
4171
|
|
4100
4172
|
* Fixed that assume_bottom_position (in acts_as_list) could be called on items already last in the list and they would move one position away from the list #1648 [tyler@kianta.com]
|
4101
4173
|
|
4102
4174
|
* Added ActiveRecord::Base.threaded_connections flag to turn off 1-connection per thread (required for thread safety). By default it's on, but WEBrick in Rails need it off #1685 [Sam Stephenson]
|
4103
4175
|
|
4104
|
-
* Correct reflected table name for singular associations. #1688 [court3nay
|
4176
|
+
* Correct reflected table name for singular associations. #1688 [court3nay]
|
4105
4177
|
|
4106
4178
|
* Fixed optimistic locking with SQL Server #1660 [tom@popdog.net]
|
4107
4179
|
|
4108
4180
|
* Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current
|
4109
4181
|
|
4110
|
-
* Added better error message for "packets out of order" #1630 [
|
4182
|
+
* Added better error message for "packets out of order" #1630 [court3nay]
|
4111
4183
|
|
4112
4184
|
* Fixed first run of "rake migrate" on PostgreSQL by not expecting a return value on the id #1640
|
4113
4185
|
|
@@ -4118,7 +4190,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4118
4190
|
|
4119
4191
|
* Changed logging of SQL statements to use the DEBUG level instead of INFO
|
4120
4192
|
|
4121
|
-
* Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias
|
4193
|
+
* Added new Migrations framework for describing schema transformations in a way that can be easily applied across multiple databases #1604 [Tobias Lütke] See documentation under ActiveRecord::Migration and the additional support in the Rails rakefile/generator.
|
4122
4194
|
|
4123
4195
|
* Added callback hooks to association collections #1549 [Florian Weber]. Example:
|
4124
4196
|
|
@@ -4141,13 +4213,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4141
4213
|
|
4142
4214
|
* Speed up ActiveRecord#method_missing for the common case (read_attribute).
|
4143
4215
|
|
4144
|
-
* Only notify observers on after_find and after_initialize if these methods are defined on the model. #1235 [
|
4216
|
+
* Only notify observers on after_find and after_initialize if these methods are defined on the model. #1235 [Stefan Kaes]
|
4145
4217
|
|
4146
4218
|
* Fixed that single-table inheritance sub-classes couldn't be used to limit the result set with eager loading #1215 [Chris McGrath]
|
4147
4219
|
|
4148
4220
|
* Fixed validates_numericality_of to work with overrided getter-method when :allow_nil is on #1316 [raidel@onemail.at]
|
4149
4221
|
|
4150
|
-
* Added roots, root, and siblings to the batch of methods added by acts_as_tree #1541 [
|
4222
|
+
* Added roots, root, and siblings to the batch of methods added by acts_as_tree #1541 [Michael Schuerig]
|
4151
4223
|
|
4152
4224
|
* Added support for limit/offset with the MS SQL Server driver so that pagination will now work #1569 [DeLynn Berry]
|
4153
4225
|
|
@@ -4169,7 +4241,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4169
4241
|
:conditions => 'project_id=1'
|
4170
4242
|
)
|
4171
4243
|
|
4172
|
-
* Fixed that validations didn't respecting custom setting for too_short, too_long messages #1437 [Marcel Molina]
|
4244
|
+
* Fixed that validations didn't respecting custom setting for too_short, too_long messages #1437 [Marcel Molina Jr.]
|
4173
4245
|
|
4174
4246
|
* Fixed that clear_association_cache doesn't delete new associations on new records (so you can safely place new records in the session with Action Pack without having new associations wiped) #1494 [cluon]
|
4175
4247
|
|
@@ -4196,7 +4268,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4196
4268
|
|
4197
4269
|
* Corrected typo in find SQL for has_and_belongs_to_many. #1312 [ben@bensinclair.com]
|
4198
4270
|
|
4199
|
-
* Fixed sanitized conditions for has_many finder method. #1281 [jackc@hylesanderson.com, pragdave, Tobias
|
4271
|
+
* Fixed sanitized conditions for has_many finder method. #1281 [jackc@hylesanderson.com, pragdave, Tobias Lütke]
|
4200
4272
|
|
4201
4273
|
* Comprehensive PostgreSQL schema support. Use the optional schema_search_path directive in database.yml to give a comma-separated list of schemas to search for your tables. This allows you, for example, to have tables in a shared schema without having to use a custom table name. See http://www.postgresql.org/docs/8.0/interactive/ddl-schemas.html to learn more. #827 [dave@cherryville.org]
|
4202
4274
|
|
@@ -4254,15 +4326,15 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4254
4326
|
# SELECT * FROM topics WHERE title IN ('First', 'Second')
|
4255
4327
|
Topic.find_all_by_title(["First", "Second"])
|
4256
4328
|
|
4257
|
-
* Added compatibility with camelCase column names for dynamic finders #533 [Dee
|
4329
|
+
* Added compatibility with camelCase column names for dynamic finders #533 [Dee Zsombor]
|
4258
4330
|
|
4259
|
-
* Fixed extraneous comma in count() function that made it not work with joins #1156 [
|
4331
|
+
* Fixed extraneous comma in count() function that made it not work with joins #1156 [Jarkko Laine/Dee Zsombor]
|
4260
4332
|
|
4261
4333
|
* Fixed incompatibility with Base#find with an array of ids that would fail when using eager loading #1186 [Alisdair McDiarmid]
|
4262
4334
|
|
4263
4335
|
* Fixed that validate_length_of lost :on option when :within was specified #1195 [jhosteny@mac.com]
|
4264
4336
|
|
4265
|
-
* Added encoding and min_messages options for PostgreSQL #1205 [
|
4337
|
+
* Added encoding and min_messages options for PostgreSQL #1205 [Shugo Maeda]. Configuration example:
|
4266
4338
|
|
4267
4339
|
development:
|
4268
4340
|
adapter: postgresql
|
@@ -4320,7 +4392,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4320
4392
|
a single query. A good use case for this is a threaded post system, where you want
|
4321
4393
|
to display every reply to a comment without multiple selects.
|
4322
4394
|
|
4323
|
-
* Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [
|
4395
|
+
* Added Base.save! that attempts to save the record just like Base.save but will raise a RecordInvalid exception instead of returning false if the record is not valid [Dave Thomas]
|
4324
4396
|
|
4325
4397
|
* Fixed PostgreSQL usage of fixtures with regards to public schemas and table names with dots #962 [gnuman1@gmail.com]
|
4326
4398
|
|
@@ -4350,7 +4422,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4350
4422
|
|
4351
4423
|
* Fixed counter_sql when no records exist in database for PostgreSQL (would give error, not 0) #1039 [Caleb Tennis]
|
4352
4424
|
|
4353
|
-
* Fixed that benchmarking times for rendering included db runtimes #987 [
|
4425
|
+
* Fixed that benchmarking times for rendering included db runtimes #987 [Stefan Kaes]
|
4354
4426
|
|
4355
4427
|
* Fixed boolean queries for t/f fields in PostgreSQL #995 [dave@cherryville.org]
|
4356
4428
|
|
@@ -4358,9 +4430,9 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4358
4430
|
|
4359
4431
|
* Fixed auto-stamping of dates (created_on/updated_on) for PostgreSQL #985 [dave@cherryville.org]
|
4360
4432
|
|
4361
|
-
* Fixed Base.silence/benchmark to only log if a logger has been configured #986 [
|
4433
|
+
* Fixed Base.silence/benchmark to only log if a logger has been configured #986 [Stefan Kaes]
|
4362
4434
|
|
4363
|
-
* Added a join parameter as the third argument to Base.find_first and as the second to Base.count #426, #988 [
|
4435
|
+
* Added a join parameter as the third argument to Base.find_first and as the second to Base.count #426, #988 [Stefan Kaes]
|
4364
4436
|
|
4365
4437
|
* Fixed bug in Base#hash method that would treat records with the same string-based id as different [Dave Thomas]
|
4366
4438
|
|
@@ -4446,7 +4518,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4446
4518
|
account.save # => CC with id = 12 is destroyed
|
4447
4519
|
|
4448
4520
|
|
4449
|
-
* Added validates_numericality_of #716 [
|
4521
|
+
* Added validates_numericality_of #716 [Sebastian Kanthak/Chris McGrath]. Docuemntation:
|
4450
4522
|
|
4451
4523
|
Validates whether the value of the specified attribute is numeric by trying to convert it to
|
4452
4524
|
a float with Kernel.Float (if <tt>integer</tt> is false) or applying it to the regular expression
|
@@ -4516,7 +4588,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4516
4588
|
4. Added logic to the simplified_type method that allows the database to specify the scale of float data.
|
4517
4589
|
5. Adjusted the quote_column_name to account for the fact that MS SQL is bothered by a forward slash in the data string.
|
4518
4590
|
|
4519
|
-
* Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow
|
4591
|
+
* Fixed that the dynamic finder like find_all_by_something_boolean(false) didn't work #649 [lmarlow]
|
4520
4592
|
|
4521
4593
|
* Added validates_each that validates each specified attribute against a block #610 [Jeremy Kemper]. Example:
|
4522
4594
|
|
@@ -4728,7 +4800,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4728
4800
|
After:
|
4729
4801
|
before_destroy { |record| Person.destroy_all "firm_id = #{record.id}" }
|
4730
4802
|
|
4731
|
-
* Added :counter_cache option to acts_as_tree that works just like the one you can define on belongs_to #371 [Josh]
|
4803
|
+
* Added :counter_cache option to acts_as_tree that works just like the one you can define on belongs_to #371 [Josh Peek]
|
4732
4804
|
|
4733
4805
|
* Added Base.default_timezone accessor that determines whether to use Time.local (using :local) or Time.utc (using :utc) when pulling dates
|
4734
4806
|
and times from the database. This is set to :local by default.
|
@@ -4747,7 +4819,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4747
4819
|
|
4748
4820
|
* Fixed handling of binary content in blobs and similar fields for Ruby/MySQL and SQLite #409 [xal]
|
4749
4821
|
|
4750
|
-
* Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias
|
4822
|
+
* Fixed a bug in the Ruby/MySQL that caused binary content to be escaped badly and come back mangled #405 [Tobias Lütke]
|
4751
4823
|
|
4752
4824
|
* Fixed that the const_missing autoload assumes the requested constant is set by require_association and calls const_get to retrieve it.
|
4753
4825
|
If require_association did not set the constant then const_get will call const_missing, resulting in an infinite loop #380 [Jeremy Kemper]
|
@@ -4788,7 +4860,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4788
4860
|
* Added work-around for PostgreSQL and the problem of getting fixtures to be created from id 1 on each test case.
|
4789
4861
|
This only works for auto-incrementing primary keys called "id" for now #359 [Scott Baron]
|
4790
4862
|
|
4791
|
-
* Added Base#clear_association_cache to empty all the cached associations #347 [Tobias
|
4863
|
+
* Added Base#clear_association_cache to empty all the cached associations #347 [Tobias Lütke]
|
4792
4864
|
|
4793
4865
|
* Added more informative exceptions in establish_connection #356 [Jeremy Kemper]
|
4794
4866
|
|
@@ -4805,7 +4877,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4805
4877
|
|
4806
4878
|
* Added that query benchmarking will only happen if its going to be logged anyway #344
|
4807
4879
|
|
4808
|
-
* Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias
|
4880
|
+
* Added higher_item and lower_item as public methods for acts_as_list #342 [Tobias Lütke]
|
4809
4881
|
|
4810
4882
|
* Fixed that options[:counter_sql] was overwritten with interpolated sql rather than original sql #355 [Jeremy Kemper]
|
4811
4883
|
|
@@ -4836,7 +4908,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4836
4908
|
validates_inclusion_of :age, :in=>0..99
|
4837
4909
|
end
|
4838
4910
|
|
4839
|
-
* Added acts_as_list that can decorates an existing class with methods like move_higher/lower, move_to_top/bottom. [Tobias
|
4911
|
+
* Added acts_as_list that can decorates an existing class with methods like move_higher/lower, move_to_top/bottom. [Tobias Lütke] Example:
|
4840
4912
|
|
4841
4913
|
class TodoItem < ActiveRecord::Base
|
4842
4914
|
acts_as_list :scope => :todo_list_id
|
@@ -4844,12 +4916,12 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4844
4916
|
end
|
4845
4917
|
|
4846
4918
|
* Added acts_as_tree that can decorates an existing class with a many to many relationship with itself. Perfect for categories in
|
4847
|
-
categories and the likes. [Tobias
|
4919
|
+
categories and the likes. [Tobias Lütke]
|
4848
4920
|
|
4849
4921
|
* Added that Active Records will automatically record creation and/or update timestamps of database objects if fields of the names
|
4850
|
-
created_at/created_on or updated_at/updated_on are present. [Tobias
|
4922
|
+
created_at/created_on or updated_at/updated_on are present. [Tobias Lütke]
|
4851
4923
|
|
4852
|
-
* Added Base.default_error_messages as a hash of all the error messages used in the validates_*_of so they can be changed in one place [Tobias
|
4924
|
+
* Added Base.default_error_messages as a hash of all the error messages used in the validates_*_of so they can be changed in one place [Tobias Lütke]
|
4853
4925
|
|
4854
4926
|
* Added automatic transaction block around AssociationCollection.<<, AssociationCollection.delete, and AssociationCollection.destroy_all
|
4855
4927
|
|
@@ -4882,13 +4954,13 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
4882
4954
|
errors.on("name") # => "must be shorter"
|
4883
4955
|
|
4884
4956
|
* Added Base.validates_format_of that Validates whether the value of the specified attribute is of the correct form by matching
|
4885
|
-
it against the regular expression provided. [Marcel]
|
4957
|
+
it against the regular expression provided. [Marcel Molina Jr.]
|
4886
4958
|
|
4887
4959
|
class Person < ActiveRecord::Base
|
4888
4960
|
validates_format_of :email, :with => /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/, :on => :create
|
4889
4961
|
end
|
4890
4962
|
|
4891
|
-
* Added Base.validates_length_of that delegates to add_on_boundary_breaking #312 [Tobias
|
4963
|
+
* Added Base.validates_length_of that delegates to add_on_boundary_breaking #312 [Tobias Lütke]. Example:
|
4892
4964
|
|
4893
4965
|
Validates that the specified attribute matches the length restrictions supplied in either:
|
4894
4966
|
|
@@ -5107,7 +5179,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
5107
5179
|
|
5108
5180
|
* Fixed that calling id would create the instance variable for new_records preventing them from being saved correctly [Jeremy Kemper]
|
5109
5181
|
|
5110
|
-
* Added sanitization feature to HasManyAssociation#find_all so it works just like Base.find_all [Sam Stephenson/
|
5182
|
+
* Added sanitization feature to HasManyAssociation#find_all so it works just like Base.find_all [Sam Stephenson/Jeremy Kemper]
|
5111
5183
|
|
5112
5184
|
* Added that you can pass overlapping ids to find without getting duplicated records back [Jeremy Kemper]
|
5113
5185
|
|
@@ -5117,7 +5189,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
5117
5189
|
|
5118
5190
|
* Fixed that quotes would break regular non-yaml fixtures [Dmitry Sabanin/daft]
|
5119
5191
|
|
5120
|
-
* Fixed fixtures on windows with line endings cause problems under unix / mac [Tobias
|
5192
|
+
* Fixed fixtures on windows with line endings cause problems under unix / mac [Tobias Lütke]
|
5121
5193
|
|
5122
5194
|
* Added HasAndBelongsToManyAssociation#find(id) that'll search inside the collection and find the object or record with that id
|
5123
5195
|
|
@@ -5195,7 +5267,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
5195
5267
|
end
|
5196
5268
|
|
5197
5269
|
This will assume that settings is a text column and will now YAMLize any object put in that attribute. You can also specify
|
5198
|
-
an optional :class_name option that'll raise an exception if a serialized object is retrieved as a
|
5270
|
+
an optional :class_name option that'll raise an exception if a serialized object is retrieved as a descendant of a class not in
|
5199
5271
|
the hierarchy. Example:
|
5200
5272
|
|
5201
5273
|
class User < ActiveRecord::Base
|
@@ -5238,7 +5310,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
5238
5310
|
project.milestones << Milestone.find_all
|
5239
5311
|
end
|
5240
5312
|
|
5241
|
-
* Added logging of invalid SQL statements [
|
5313
|
+
* Added logging of invalid SQL statements [Daniel Von Fange]
|
5242
5314
|
|
5243
5315
|
* Added alias Errors#[] for Errors#on, so you can now say person.errors["name"] to retrieve the errors for name [Andreas Schwarz]
|
5244
5316
|
|
@@ -5270,7 +5342,7 @@ in effect. Added :readonly finder constraint. Calling an association collectio
|
|
5270
5342
|
|
5271
5343
|
* Changed class inheritable attributes to not use eval [Caio Chassot]
|
5272
5344
|
|
5273
|
-
* Changed Errors#add to now use "invalid" as the default message instead of true, which means full_messages work with those [Marcel Molina Jr]
|
5345
|
+
* Changed Errors#add to now use "invalid" as the default message instead of true, which means full_messages work with those [Marcel Molina Jr.]
|
5274
5346
|
|
5275
5347
|
* Fixed spelling on Base#add_on_boundry_breaking to Base#add_on_boundary_breaking (old naming still works) [Marcel Molina Jr.]
|
5276
5348
|
|
@@ -5691,7 +5763,7 @@ _Misc_
|
|
5691
5763
|
*0.8.2*
|
5692
5764
|
|
5693
5765
|
* Added inheritable callback queues that can ensure that certain callback methods or inline fragments are
|
5694
|
-
run throughout the entire inheritance hierarchy. Regardless of whether a
|
5766
|
+
run throughout the entire inheritance hierarchy. Regardless of whether a descendant overwrites the callback
|
5695
5767
|
method:
|
5696
5768
|
|
5697
5769
|
class Topic < ActiveRecord::Base
|
@@ -5722,7 +5794,7 @@ _Misc_
|
|
5722
5794
|
|
5723
5795
|
*0.8.1*
|
5724
5796
|
|
5725
|
-
* Added object-level transactions [
|
5797
|
+
* Added object-level transactions [Austin Ziegler]
|
5726
5798
|
|
5727
5799
|
* Changed adapter-specific connection methods to use centralized ActiveRecord::Base.establish_connection,
|
5728
5800
|
which is parametized through a config hash with symbol keys instead of a regular parameter list.
|
@@ -5757,4 +5829,4 @@ _Misc_
|
|
5757
5829
|
*0.7.6*
|
5758
5830
|
|
5759
5831
|
* Fixed the install.rb to create the lib/active_record/support directory [Spotted by Gavin Sinclair]
|
5760
|
-
* Fixed that has_association? would always return true [
|
5832
|
+
* Fixed that has_association? would always return true [Daniel Von Fange]
|