webroar 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/webroar +2 -1
- data/bin/webroar-analyzer +1 -1
- data/conf/mime_type.yml +165 -0
- data/doc/user-guide.html +37 -17
- data/doc/user-guide.txt +11 -6
- data/lib/command_runner.rb +1 -1
- data/lib/constant.rb +1 -1
- data/lib/dependencies.rb +1 -1
- data/lib/installer.rb +118 -162
- data/lib/user_interaction.rb +132 -0
- data/lib/webroar_command.rb +1 -1
- data/src/admin_panel/app/controllers/admin_controller.rb +1 -1
- data/src/admin_panel/app/controllers/application_controller.rb +1 -1
- data/src/admin_panel/app/controllers/application_specification_controller.rb +49 -45
- data/src/admin_panel/app/controllers/exceptions_controller.rb +1 -1
- data/src/admin_panel/app/controllers/graph_controller.rb +116 -22
- data/src/admin_panel/app/controllers/mail_specification_controller.rb +11 -107
- data/src/admin_panel/app/controllers/server_specification_controller.rb +6 -8
- data/src/admin_panel/app/helpers/admin_helper.rb +8 -7
- data/src/admin_panel/app/helpers/application_helper.rb +1 -39
- data/src/admin_panel/app/helpers/exceptions_helper.rb +1 -1
- data/src/admin_panel/app/helpers/graph_helper.rb +1 -1
- data/src/admin_panel/app/models/app.rb +39 -3
- data/src/admin_panel/app/models/app_exception.rb +1 -1
- data/src/admin_panel/app/models/app_time_sample.rb +2 -2
- data/src/admin_panel/app/models/application_specification.rb +34 -10
- data/src/admin_panel/app/models/mail_specification.rb +139 -0
- data/src/admin_panel/app/models/pseudo_model.rb +1 -1
- data/src/admin_panel/app/models/resource_usage.rb +3 -3
- data/src/admin_panel/app/models/server_specification.rb +5 -5
- data/src/admin_panel/app/models/url_breakup_time_sample.rb +1 -1
- data/src/admin_panel/app/models/url_time_sample.rb +6 -6
- data/src/admin_panel/app/models/user.rb +1 -1
- data/src/admin_panel/app/views/admin/_add_div.html.erb +1 -1
- data/src/admin_panel/app/views/admin/_application_table.html.erb +1 -1
- data/src/admin_panel/app/views/admin/change_password_form.html.erb +1 -1
- data/src/admin_panel/app/views/admin/configuration.html.erb +1 -8
- data/src/admin_panel/app/views/admin/home.html.erb +1 -1
- data/src/admin_panel/app/views/admin/index.html.erb +1 -1
- data/src/admin_panel/app/views/application_specification/{_application_form.html.erb → _application_specification_form.html.erb} +29 -29
- data/src/admin_panel/app/views/application_specification/add_application_form.html.erb +3 -3
- data/src/admin_panel/app/views/application_specification/edit_application_form.html.erb +3 -3
- data/src/admin_panel/app/views/exceptions/_close_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_exceptions_listing_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_ignored_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_link_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_show.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/index.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_database_usage_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_url_breakup_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_url_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_graph_page.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_javascript_partial.html.erb +21 -0
- data/src/admin_panel/app/views/graph/_pie.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_resource_usage_graph_app.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_resource_usage_graph_server.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_slider_partial.html.erb +20 -0
- data/src/admin_panel/app/views/graph/_throughput_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_url_breakup_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_url_calls_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/index.html.erb +1 -1
- data/src/admin_panel/app/views/layouts/application.html.erb +27 -25
- data/src/admin_panel/app/views/layouts/index.html.erb +2 -2
- data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +1 -1
- data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +1 -1
- data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +1 -1
- data/src/admin_panel/config/environment.rb +2 -1
- data/src/admin_panel/config/initializers/application_constants.rb +5 -2
- data/src/admin_panel/config/initializers/ssl.rb +1 -1
- data/src/admin_panel/db/migrate/20081020052652_create_apps.rb +1 -1
- data/src/admin_panel/db/migrate/20081020052934_create_resource_usages.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053129_create_app_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053411_create_url_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053624_create_url_breakup_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081021005144_add_constraints.rb +1 -1
- data/src/admin_panel/db/migrate/20090407052622_create_app_exceptions.rb +1 -1
- data/src/admin_panel/lib/asset_tag_helper_ext.rb +18 -0
- data/src/admin_panel/lib/control.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/database_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/resource_usage_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/throughput_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/url_analytics.rb +9 -5
- data/src/admin_panel/lib/graph_controller_extensions/url_breakup_analytics.rb +20 -14
- data/src/admin_panel/lib/scgi.rb +1 -1
- data/src/admin_panel/lib/yaml_writer.rb +34 -21
- data/src/admin_panel/public/favicon.ico +0 -0
- data/src/admin_panel/public/images/close.gif +0 -0
- data/src/admin_panel/public/images/external.gif +0 -0
- data/src/admin_panel/public/javascripts/application.js +17 -17
- data/src/admin_panel/public/javascripts/swfobject.js +4 -4
- data/src/admin_panel/public/open-flash-chart.swf +0 -0
- data/src/admin_panel/public/stylesheets/netscape/login.css +1 -1
- data/src/admin_panel/public/stylesheets/netscape/style.css +96 -101
- data/src/admin_panel/public/stylesheets/other/login.css +1 -1
- data/src/admin_panel/public/stylesheets/other/style.css +97 -100
- data/src/admin_panel/public/stylesheets/safari/login.css +1 -1
- data/src/admin_panel/public/stylesheets/safari/style.css +97 -101
- data/src/admin_panel/test/functional/admin_controller_test.rb +10 -10
- data/src/admin_panel/test/functional/application_specification_controller_test.rb +7 -5
- data/src/admin_panel/test/functional/exceptions_controller_test.rb +2 -1
- data/src/admin_panel/test/functional/graph_controller_test.rb +3 -3
- data/src/admin_panel/test/test_helper.rb +1 -1
- data/src/admin_panel/test/unit/app_exception_test.rb +2 -1
- data/src/admin_panel/test/unit/app_test.rb +5 -4
- data/src/admin_panel/test/unit/app_time_sample_test.rb +4 -2
- data/src/admin_panel/test/unit/helpers/exceptions_helper_test.rb +1 -1
- data/src/admin_panel/test/unit/resource_usage_test.rb +6 -2
- data/src/admin_panel/test/unit/url_breakup_time_sample_test.rb +1 -1
- data/src/admin_panel/test/unit/url_time_sample_test.rb +3 -2
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/CHANGES +29 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/MIT-LICENSE +0 -2
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/README +6 -56
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/TODO +2 -7
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/install.rb +1 -1
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/lib/open_flash_chart_2.rb +242 -513
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/VERSION.txt +2 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/open-flash-chart.swf +0 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/swfobject.js +4 -4
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/tasks/open_flash_chart_tasks.rake +14 -6
- data/src/head/wr_access_log.c +6 -6
- data/src/head/wr_access_log.h +1 -1
- data/src/head/wr_application.c +57 -23
- data/src/head/wr_application.h +1 -1
- data/src/head/wr_config.h +28 -3
- data/src/head/wr_configurator.c +61 -7
- data/src/head/wr_configurator.h +4 -3
- data/src/head/wr_connection.c +23 -19
- data/src/head/wr_connection.h +4 -3
- data/src/head/wr_controller.c +38 -191
- data/src/head/wr_controller.h +4 -4
- data/src/head/wr_main.c +87 -5
- data/src/head/wr_request.c +172 -156
- data/src/head/wr_request.h +4 -13
- data/src/head/wr_resolver.c +58 -7
- data/src/head/wr_resolver.h +1 -1
- data/src/head/wr_server.c +7 -1
- data/src/head/wr_server.h +2 -1
- data/src/head/wr_worker.c +66 -60
- data/src/head/wr_worker.h +1 -1
- data/src/helper/wr_helper.h +2 -1
- data/src/helper/wr_logger.c +9 -1
- data/src/helper/wr_logger.h +2 -1
- data/src/helper/wr_macro.h +3 -1
- data/src/helper/wr_msg_queue_client.c +129 -0
- data/src/helper/wr_msg_queue_client.h +44 -0
- data/src/helper/wr_queue.c +1 -1
- data/src/helper/wr_queue.h +1 -1
- data/src/helper/wr_scgi.c +291 -261
- data/src/helper/wr_scgi.h +42 -54
- data/src/helper/wr_string.c +53 -1
- data/src/helper/wr_string.h +30 -12
- data/src/helper/wr_util.c +80 -1
- data/src/helper/wr_util.h +17 -1
- data/src/helper/wr_yaml_parser.c +1 -1
- data/src/helper/wr_yaml_parser.h +1 -1
- data/src/ruby_lib/analyzer/db_connect.rb +8 -5
- data/src/ruby_lib/analyzer/logger.rb +3 -2
- data/src/ruby_lib/analyzer/message_analyzer.rb +8 -15
- data/src/ruby_lib/analyzer/message_reader.rb +4 -3
- data/src/ruby_lib/analyzer/process_helper.rb +1 -1
- data/src/ruby_lib/analyzer/resources_analyzer.rb +21 -5
- data/src/ruby_lib/analyzer/user_defined_exception.rb +1 -1
- data/src/ruby_lib/analyzer/webroar_analyzer.rb +1 -1
- data/src/ruby_lib/analyzer/webroar_analyzer_script_runner.rb +10 -9
- data/src/ruby_lib/exception_tracker/instrumentation/action_controller.rb +1 -1
- data/src/ruby_lib/exception_tracker/instrumentation/instrumentation.rb +1 -1
- data/src/ruby_lib/exception_tracker/instrumentation/rails.rb +1 -1
- data/src/ruby_lib/exception_tracker/webroar_exception.rb +1 -1
- data/src/ruby_lib/mailer/smtpmail.rb +7 -4
- data/src/ruby_lib/profiler/instrumentation/action_controller.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/active_record.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/instrumentation.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/rails.rb +1 -1
- data/src/ruby_lib/profiler/message_dispatcher.rb +9 -10
- data/src/ruby_lib/profiler/webroar_profiling.rb +1 -1
- data/src/ruby_lib/rack/adapter/rack.rb +1 -1
- data/src/ruby_lib/rack/adapter/rails.rb +2 -2
- data/src/ruby_lib/ruby_interface/adapter.rb +1 -1
- data/src/ruby_lib/ruby_interface/client.rb +1 -1
- data/src/ruby_lib/ruby_interface/constants.rb +1 -1
- data/src/ruby_lib/ruby_interface/deflater.rb +9 -0
- data/src/ruby_lib/ruby_interface/logger.rb +1 -1
- data/src/ruby_lib/ruby_interface/request_body.rb +1 -1
- data/src/ruby_lib/ruby_interface/request_handler.rb +1 -1
- data/src/ruby_lib/ruby_interface/ruby_interface.rb +1 -1
- data/src/ruby_lib/ruby_interface/utils.rb +1 -1
- data/src/ruby_lib/ruby_interface/version.rb +2 -2
- data/src/ruby_lib/webroar_app_loader.rb +1 -1
- data/src/worker/wkr_controller.c +58 -60
- data/src/worker/wkr_http.c +48 -27
- data/src/worker/wkr_http.h +2 -1
- data/src/worker/wkr_http_request.c +29 -29
- data/src/worker/wkr_http_request.h +2 -2
- data/src/worker/wkr_http_response.c +175 -102
- data/src/worker/wkr_http_response.h +10 -4
- data/src/worker/wkr_main.c +137 -21
- data/src/worker/wkr_static.c +509 -0
- data/src/worker/wkr_static.h +40 -0
- data/src/worker/worker.c +5 -5
- data/src/worker/worker.h +7 -5
- data/tasks/compile.rake +10 -6
- data/tasks/gem.rake +16 -4
- data/tasks/test.rake +6 -2
- data/test/spec/access_log_spec.rb +1 -1
- data/test/spec/analytics_spec.rb +1 -1
- data/test/spec/conditional_spec.rb +1 -1
- data/test/spec/connection_keep_alive_spec.rb +1 -1
- data/test/spec/content_encoding_spec.rb +1 -1
- data/test/spec/heart_beat_spec.rb +1 -1
- data/test/spec/host_name_spec.rb +1 -1
- data/test/spec/http_request_parser_spec.rb +1 -1
- data/test/spec/http_spec.rb +1 -1
- data/test/spec/spec_helper.rb +8 -8
- data/test/spec/test_app/app/controllers/application_controller.rb +1 -1
- data/test/spec/test_app/app/controllers/test_controller.rb +1 -1
- data/test/spec/test_app/app/controllers/users_controller.rb +1 -1
- data/test/spec/test_app/app/helpers/application_helper.rb +1 -1
- data/test/spec/test_app/app/helpers/test_helper.rb +1 -1
- data/test/spec/test_app/app/helpers/users_helper.rb +1 -1
- data/test/spec/test_app/app/models/user.rb +1 -1
- data/test/spec/test_app/app/views/layouts/users.html.erb +1 -1
- data/test/spec/test_app/app/views/test/post_data.html.erb +1 -1
- data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
- data/test/spec/test_app/app/views/users/edit.html.erb +1 -1
- data/test/spec/test_app/app/views/users/index.html.erb +1 -1
- data/test/spec/test_app/app/views/users/new.html.erb +1 -1
- data/test/spec/test_app/app/views/users/show.html.erb +1 -1
- data/test/spec/test_app/db/migrate/20090602102438_create_users.rb +1 -1
- data/test/spec/upload_helper.rb +1 -1
- data/test/spec/webroar_command_spec.rb +1 -1
- data/test/unit/queue_test.c +1 -1
- data/test/unit/scgi_test.c +69 -66
- data/test/unit/test.c +1 -1
- data/test/unit/test.h +1 -1
- data/test/unit/ut_test.c +1 -1
- data/test/unit/ut_test.h +1 -1
- data/test/unit/util_test.c +1 -1
- data/test/unit/yaml_test.c +1 -1
- metadata +378 -1847
- data/src/admin_panel/public/blank_iframe.html +0 -2
- data/src/admin_panel/public/images/calendar_date_select/calendar.gif +0 -0
- data/src/admin_panel/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/src/admin_panel/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/src/admin_panel/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
- data/src/admin_panel/public/javascripts/calendar_date_select/format_finnish.js +0 -32
- data/src/admin_panel/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
- data/src/admin_panel/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
- data/src/admin_panel/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/de.js +0 -11
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/fr.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/pl.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/pt.js +0 -11
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/ru.js +0 -10
- data/src/admin_panel/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/src/admin_panel/public/stylesheets/calendar_date_select/default.css +0 -135
- data/src/admin_panel/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/src/admin_panel/public/stylesheets/calendar_date_select/red.css +0 -135
- data/src/admin_panel/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/src/admin_panel/vendor/rails/actionmailer/CHANGELOG +0 -358
- data/src/admin_panel/vendor/rails/actionmailer/MIT-LICENSE +0 -21
- data/src/admin_panel/vendor/rails/actionmailer/README +0 -149
- data/src/admin_panel/vendor/rails/actionmailer/Rakefile +0 -98
- data/src/admin_panel/vendor/rails/actionmailer/install.rb +0 -30
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -30
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/base.rb +0 -705
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +0 -113
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -17
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part.rb +0 -107
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +0 -55
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -61
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +0 -64
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +0 -68
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -7
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +0 -1466
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +0 -10
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +0 -426
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -46
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +0 -46
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +0 -41
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +0 -67
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +0 -63
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +0 -581
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +0 -960
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +0 -9
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +0 -1130
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +0 -578
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +0 -495
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +0 -248
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +0 -132
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -1476
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +0 -379
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +0 -118
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +0 -58
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +0 -49
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +0 -261
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +0 -280
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +0 -337
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +0 -39
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +0 -17
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/version.rb +0 -9
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer.rb +0 -62
- data/src/admin_panel/vendor/rails/actionmailer/lib/actionmailer.rb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/abstract_unit.rb +0 -65
- data/src/admin_panel/vendor/rails/actionmailer/test/asset_host_test.rb +0 -54
- data/src/admin_panel/vendor/rails/actionmailer/test/delivery_method_test.rb +0 -51
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -20
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -32
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -29
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -114
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -70
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -59
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -19
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -20
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -66
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -47
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -28
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +0 -104
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -100
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -10
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -95
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_layout_test.rb +0 -123
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_render_test.rb +0 -116
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_service_test.rb +0 -1078
- data/src/admin_panel/vendor/rails/actionmailer/test/quoting_test.rb +0 -99
- data/src/admin_panel/vendor/rails/actionmailer/test/test_helper_test.rb +0 -129
- data/src/admin_panel/vendor/rails/actionmailer/test/tmail_test.rb +0 -22
- data/src/admin_panel/vendor/rails/actionmailer/test/url_test.rb +0 -76
- data/src/admin_panel/vendor/rails/actionpack/CHANGELOG +0 -5156
- data/src/admin_panel/vendor/rails/actionpack/MIT-LICENSE +0 -21
- data/src/admin_panel/vendor/rails/actionpack/README +0 -409
- data/src/admin_panel/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -24
- data/src/admin_panel/vendor/rails/actionpack/Rakefile +0 -158
- data/src/admin_panel/vendor/rails/actionpack/install.rb +0 -30
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +0 -150
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +0 -146
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +0 -632
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +0 -127
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/base.rb +0 -1414
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +0 -107
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +0 -169
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +0 -152
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +0 -97
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -70
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +0 -112
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +0 -77
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cookies.rb +0 -94
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +0 -118
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/failsafe.rb +0 -52
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/filters.rb +0 -680
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -163
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/headers.rb +0 -33
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/helpers.rb +0 -225
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +0 -304
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/integration.rb +0 -687
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/layout.rb +0 -281
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +0 -119
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middlewares.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +0 -193
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_type.rb +0 -212
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_types.rb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/params_parser.rb +0 -71
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/performance_test.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -104
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/reloader.rb +0 -14
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request.rb +0 -489
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +0 -108
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rescue.rb +0 -183
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/resources.rb +0 -678
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/response.rb +0 -232
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb +0 -28
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +0 -197
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +0 -130
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +0 -167
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route.rb +0 -265
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +0 -488
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +0 -343
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing.rb +0 -385
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +0 -181
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -221
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +0 -51
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session_management.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/streaming.rb +0 -179
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -26
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +0 -11
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -29
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -10
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_case.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_process.rb +0 -572
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/translation.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +0 -44
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +0 -216
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -68
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +0 -537
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +0 -173
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -828
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -105
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +0 -16
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/adapter/camping.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/handler.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/request.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/basic.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/md5.rb +0 -124
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/nonce.rb +0 -51
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/params.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/request.rb +0 -40
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/openid.rb +0 -480
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/builder.rb +0 -63
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/cascade.rb +0 -36
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/chunked.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/commonlogger.rb +0 -61
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/conditionalget.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_length.rb +0 -29
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_type.rb +0 -23
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/deflater.rb +0 -85
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/directory.rb +0 -153
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/file.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/cgi.rb +0 -61
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/evented_mongrel.rb +0 -8
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb +0 -84
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/scgi.rb +0 -59
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/swiftiplied_mongrel.rb +0 -8
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/thin.rb +0 -18
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb +0 -67
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/head.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lint.rb +0 -462
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lobster.rb +0 -65
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lock.rb +0 -16
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb +0 -27
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mime.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mock.rb +0 -160
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/recursive.rb +0 -57
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/reloader.rb +0 -64
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/request.rb +0 -241
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/response.rb +0 -179
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/abstract/id.rb +0 -142
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/cookie.rb +0 -91
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/memcache.rb +0 -109
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/pool.rb +0 -100
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showexceptions.rb +0 -349
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showstatus.rb +0 -106
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/static.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/utils.rb +0 -392
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/verification.rb +0 -130
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller.rb +0 -116
- data/src/admin_panel/vendor/rails/actionpack/lib/action_pack/version.rb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/lib/action_pack.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/base.rb +0 -357
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/erb/util.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +0 -305
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +0 -682
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +0 -198
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +0 -136
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +0 -976
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +0 -1039
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +0 -530
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +0 -481
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +0 -208
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +0 -303
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +0 -1305
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -20
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +0 -251
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +0 -226
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +0 -150
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +0 -578
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +0 -638
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers.rb +0 -57
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/inline_template.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/locale/en.yml +0 -110
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/partials.rb +0 -240
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/paths.rb +0 -69
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +0 -117
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable.rb +0 -95
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +0 -47
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template.rb +0 -257
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_error.rb +0 -99
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handler.rb +0 -34
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +0 -17
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/test_case.rb +0 -87
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/actionpack.rb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/abstract_unit.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/test/active_record_unit.rb +0 -104
- data/src/admin_panel/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +0 -174
- data/src/admin_panel/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +0 -188
- data/src/admin_panel/vendor/rails/actionpack/test/adv_attr_test.rb +0 -20
- data/src/admin_panel/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +0 -516
- data/src/admin_panel/vendor/rails/actionpack/test/controller/addresses_render_test.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/test/controller/assert_select_test.rb +0 -734
- data/src/admin_panel/vendor/rails/actionpack/test/controller/base_test.rb +0 -217
- data/src/admin_panel/vendor/rails/actionpack/test/controller/benchmark_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/controller/caching_test.rb +0 -690
- data/src/admin_panel/vendor/rails/actionpack/test/controller/capture_test.rb +0 -66
- data/src/admin_panel/vendor/rails/actionpack/test/controller/content_type_test.rb +0 -168
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/cookie_test.rb +0 -111
- data/src/admin_panel/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/controller/dispatcher_test.rb +0 -103
- data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -33
- data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_models.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/test/controller/filters_test.rb +0 -885
- data/src/admin_panel/vendor/rails/actionpack/test/controller/flash_test.rb +0 -142
- data/src/admin_panel/vendor/rails/actionpack/test/controller/header_test.rb +0 -14
- data/src/admin_panel/vendor/rails/actionpack/test/controller/helper_test.rb +0 -224
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +0 -148
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +0 -273
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -238
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -50
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -131
- data/src/admin_panel/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +0 -178
- data/src/admin_panel/vendor/rails/actionpack/test/controller/integration_test.rb +0 -417
- data/src/admin_panel/vendor/rails/actionpack/test/controller/layout_test.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/test/controller/logging_test.rb +0 -46
- data/src/admin_panel/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +0 -90
- data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_responds_test.rb +0 -536
- data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_type_test.rb +0 -93
- data/src/admin_panel/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +0 -293
- data/src/admin_panel/vendor/rails/actionpack/test/controller/rack_test.rb +0 -294
- data/src/admin_panel/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -139
- data/src/admin_panel/vendor/rails/actionpack/test/controller/redirect_test.rb +0 -282
- data/src/admin_panel/vendor/rails/actionpack/test/controller/render_test.rb +0 -1752
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +0 -223
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +0 -184
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +0 -246
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request_test.rb +0 -407
- data/src/admin_panel/vendor/rails/actionpack/test/controller/rescue_test.rb +0 -536
- data/src/admin_panel/vendor/rails/actionpack/test/controller/resources_test.rb +0 -1341
- data/src/admin_panel/vendor/rails/actionpack/test/controller/routing_test.rb +0 -2557
- data/src/admin_panel/vendor/rails/actionpack/test/controller/selector_test.rb +0 -628
- data/src/admin_panel/vendor/rails/actionpack/test/controller/send_file_test.rb +0 -161
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +0 -239
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +0 -127
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/test_session_test.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/test/controller/test_test.rb +0 -692
- data/src/admin_panel/vendor/rails/actionpack/test/controller/translation_test.rb +0 -26
- data/src/admin_panel/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +0 -359
- data/src/admin_panel/vendor/rails/actionpack/test/controller/verification_test.rb +0 -270
- data/src/admin_panel/vendor/rails/actionpack/test/controller/view_paths_test.rb +0 -141
- data/src/admin_panel/vendor/rails/actionpack/test/controller/webservice_test.rb +0 -260
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/companies.yml +0 -24
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/company.rb +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -49
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developer.rb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers/_developer.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers.yml +0 -21
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -13
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/_game.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs +0 -6
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascot.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots.yml +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/boundary_problem_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/empty +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/hello.txt +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/none +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/project.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects/_project.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects.yml +0 -7
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/404.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.da.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies/_reply.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies.yml +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/reply.rb +0 -7
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/shared.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_counter.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_form.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_one.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_raise.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_two.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dont_pick_me +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -6
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -11
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/nested_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/template.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topic.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics.yml +0 -22
- data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +0 -44
- data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_test.rb +0 -302
- data/src/admin_panel/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -713
- data/src/admin_panel/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +0 -286
- data/src/admin_panel/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +0 -86
- data/src/admin_panel/vendor/rails/actionpack/test/template/compiled_templates_test.rb +0 -203
- data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_test.rb +0 -2469
- data/src/admin_panel/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_helper_test.rb +0 -1176
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_options_helper_test.rb +0 -751
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +0 -327
- data/src/admin_panel/vendor/rails/actionpack/test/template/javascript_helper_test.rb +0 -106
- data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +0 -69
- data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -128
- data/src/admin_panel/vendor/rails/actionpack/test/template/prototype_helper_test.rb +0 -639
- data/src/admin_panel/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/test/template/render_test.rb +0 -290
- data/src/admin_panel/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -90
- data/src/admin_panel/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -97
- data/src/admin_panel/vendor/rails/actionpack/test/template/test_test.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/test/template/text_helper_test.rb +0 -520
- data/src/admin_panel/vendor/rails/actionpack/test/template/translation_helper_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/template/url_helper_test.rb +0 -614
- data/src/admin_panel/vendor/rails/actionpack/test/testing_sandbox.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/view/test_case_test.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/CHANGELOG +0 -5832
- data/src/admin_panel/vendor/rails/activerecord/README +0 -351
- data/src/admin_panel/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -36
- data/src/admin_panel/vendor/rails/activerecord/Rakefile +0 -253
- data/src/admin_panel/vendor/rails/activerecord/examples/associations.png +0 -0
- data/src/admin_panel/vendor/rails/activerecord/install.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/aggregations.rb +0 -261
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/association_preload.rb +0 -389
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +0 -470
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +0 -279
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +0 -58
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -49
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +0 -127
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -121
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +0 -256
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +0 -124
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +0 -31
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations.rb +0 -2169
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +0 -388
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/autosave_association.rb +0 -349
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/base.rb +0 -3155
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/batches.rb +0 -73
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/calculations.rb +0 -317
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/callbacks.rb +0 -360
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +0 -371
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +0 -139
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +0 -289
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +0 -94
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -69
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +0 -708
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +0 -434
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -234
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +0 -617
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +0 -1050
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +0 -34
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -438
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dirty.rb +0 -183
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/fixtures.rb +0 -993
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locale/en.yml +0 -54
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +0 -181
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -77
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/migration.rb +0 -566
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/named_scope.rb +0 -197
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +0 -329
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/observer.rb +0 -197
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/query_cache.rb +0 -33
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/reflection.rb +0 -320
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema.rb +0 -51
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -179
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serialization.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +0 -99
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +0 -353
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/session_store.rb +0 -318
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/test_case.rb +0 -66
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/timestamp.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/transactions.rb +0 -235
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/validations.rb +0 -1066
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record.rb +0 -84
- data/src/admin_panel/vendor/rails/activerecord/lib/activerecord.rb +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/assets/flowers.jpg +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/adapter_test.rb +0 -133
- data/src/admin_panel/vendor/rails/activerecord/test/cases/aggregations_test.rb +0 -167
- data/src/admin_panel/vendor/rails/activerecord/test/cases/ar_schema_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +0 -345
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +0 -161
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +0 -131
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +0 -36
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +0 -130
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +0 -145
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_test.rb +0 -822
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/extension_test.rb +0 -62
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +0 -822
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +0 -1062
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +0 -279
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +0 -309
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +0 -192
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +0 -88
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +0 -712
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations_test.rb +0 -262
- data/src/admin_panel/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +0 -305
- data/src/admin_panel/vendor/rails/activerecord/test/cases/autosave_association_test.rb +0 -901
- data/src/admin_panel/vendor/rails/activerecord/test/cases/base_test.rb +0 -2107
- data/src/admin_panel/vendor/rails/activerecord/test/cases/batches_test.rb +0 -61
- data/src/admin_panel/vendor/rails/activerecord/test/cases/binary_test.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/cases/calculations_test.rb +0 -348
- data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +0 -38
- data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_test.rb +0 -438
- data/src/admin_panel/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/column_alias_test.rb +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/cases/column_definition_test.rb +0 -36
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_pool_test.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +0 -56
- data/src/admin_panel/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +0 -80
- data/src/admin_panel/vendor/rails/activerecord/test/cases/database_statements_test.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +0 -204
- data/src/admin_panel/vendor/rails/activerecord/test/cases/date_time_test.rb +0 -37
- data/src/admin_panel/vendor/rails/activerecord/test/cases/default_test_firebird.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/cases/defaults_test.rb +0 -111
- data/src/admin_panel/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/cases/dirty_test.rb +0 -306
- data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +0 -76
- data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_test.rb +0 -1083
- data/src/admin_panel/vendor/rails/activerecord/test/cases/fixtures_test.rb +0 -651
- data/src/admin_panel/vendor/rails/activerecord/test/cases/helper.rb +0 -69
- data/src/admin_panel/vendor/rails/activerecord/test/cases/i18n_test.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/test/cases/inheritance_test.rb +0 -262
- data/src/admin_panel/vendor/rails/activerecord/test/cases/invalid_date_test.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/json_serialization_test.rb +0 -205
- data/src/admin_panel/vendor/rails/activerecord/test/cases/lifecycle_test.rb +0 -193
- data/src/admin_panel/vendor/rails/activerecord/test/cases/locking_test.rb +0 -322
- data/src/admin_panel/vendor/rails/activerecord/test/cases/method_scoping_test.rb +0 -694
- data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test.rb +0 -1495
- data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +0 -124
- data/src/admin_panel/vendor/rails/activerecord/test/cases/mixin_test.rb +0 -96
- data/src/admin_panel/vendor/rails/activerecord/test/cases/modules_test.rb +0 -39
- data/src/admin_panel/vendor/rails/activerecord/test/cases/multiple_db_test.rb +0 -85
- data/src/admin_panel/vendor/rails/activerecord/test/cases/named_scope_test.rb +0 -359
- data/src/admin_panel/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +0 -509
- data/src/admin_panel/vendor/rails/activerecord/test/cases/pk_test.rb +0 -101
- data/src/admin_panel/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +0 -103
- data/src/admin_panel/vendor/rails/activerecord/test/cases/query_cache_test.rb +0 -123
- data/src/admin_panel/vendor/rails/activerecord/test/cases/readonly_test.rb +0 -107
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reflection_test.rb +0 -194
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reload_models_test.rb +0 -22
- data/src/admin_panel/vendor/rails/activerecord/test/cases/repair_helper.rb +0 -50
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +0 -176
- data/src/admin_panel/vendor/rails/activerecord/test/cases/sanitize_test.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +0 -75
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +0 -183
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +0 -102
- data/src/admin_panel/vendor/rails/activerecord/test/cases/serialization_test.rb +0 -47
- data/src/admin_panel/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/cases/transactions_test.rb +0 -522
- data/src/admin_panel/vendor/rails/activerecord/test/cases/unconnected_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +0 -915
- data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_test.rb +0 -1602
- data/src/admin_panel/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +0 -220
- data/src/admin_panel/vendor/rails/activerecord/test/config.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -23
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -28
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_addresses.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/authors.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/binaries.yml +0 -132
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/books.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -23
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/clubs.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/comments.yml +0 -59
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/companies.yml +0 -56
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/computers.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/courses.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/customers.yml +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers.yml +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/edges.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/items.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/jobs.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mateys.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/member_types.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/members.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/memberships.yml +0 -20
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/minimalistics.yml +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -29
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/movies.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/organizations.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/owners.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots.yml +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/people.yml +0 -15
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pets.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pirates.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/posts.yml +0 -49
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/price_estimates.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/projects.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/readers.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/references.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +0 -11
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/ships.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/sponsors.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscribers.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscriptions.yml +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -28
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tags.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/topics.yml +0 -42
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/toys.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/treasures.yml +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/warehouse-things.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +0 -15
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/models/author.rb +0 -141
- data/src/admin_panel/vendor/rails/activerecord/test/models/auto_id.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/binary.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/bird.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/book.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/categorization.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/category.rb +0 -34
- data/src/admin_panel/vendor/rails/activerecord/test/models/citation.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/models/club.rb +0 -13
- data/src/admin_panel/vendor/rails/activerecord/test/models/column_name.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/comment.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/models/company.rb +0 -159
- data/src/admin_panel/vendor/rails/activerecord/test/models/company_in_module.rb +0 -61
- data/src/admin_panel/vendor/rails/activerecord/test/models/computer.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/contact.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/course.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/customer.rb +0 -73
- data/src/admin_panel/vendor/rails/activerecord/test/models/default.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/developer.rb +0 -91
- data/src/admin_panel/vendor/rails/activerecord/test/models/edge.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/entrant.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/event.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/guid.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/item.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/models/job.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/joke.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/keyboard.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/legacy_thing.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/matey.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/member.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/models/member_detail.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/member_type.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/membership.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/models/minimalistic.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/movie.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/order.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/organization.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/owner.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/parrot.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/person.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/pet.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/pirate.rb +0 -63
- data/src/admin_panel/vendor/rails/activerecord/test/models/post.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/test/models/price_estimate.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/project.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/models/reader.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/reference.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/reply.rb +0 -45
- data/src/admin_panel/vendor/rails/activerecord/test/models/ship.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/models/ship_part.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/sponsor.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/subject.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/subscriber.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/models/subscription.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/tag.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/models/tagging.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/models/task.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/topic.rb +0 -81
- data/src/admin_panel/vendor/rails/activerecord/test/models/toy.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/treasure.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/models/vertex.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/models/warehouse_thing.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +0 -103
- data/src/admin_panel/vendor/rails/activerecord/test/schema/schema.rb +0 -473
- data/src/admin_panel/vendor/rails/activerecord/test/schema/schema2.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +0 -25
- data/src/admin_panel/vendor/rails/activeresource/CHANGELOG +0 -267
- data/src/admin_panel/vendor/rails/activeresource/README +0 -165
- data/src/admin_panel/vendor/rails/activeresource/Rakefile +0 -138
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/base.rb +0 -1077
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/connection.rb +0 -218
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +0 -120
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +0 -23
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +0 -34
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats.rb +0 -14
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/http_mock.rb +0 -207
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/validations.rb +0 -274
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource.rb +0 -44
- data/src/admin_panel/vendor/rails/activeresource/lib/activeresource.rb +0 -1
- data/src/admin_panel/vendor/rails/activeresource/test/abstract_unit.rb +0 -23
- data/src/admin_panel/vendor/rails/activeresource/test/authorization_test.rb +0 -122
- data/src/admin_panel/vendor/rails/activeresource/test/base/custom_methods_test.rb +0 -100
- data/src/admin_panel/vendor/rails/activeresource/test/base/equality_test.rb +0 -52
- data/src/admin_panel/vendor/rails/activeresource/test/base/load_test.rb +0 -146
- data/src/admin_panel/vendor/rails/activeresource/test/base_errors_test.rb +0 -48
- data/src/admin_panel/vendor/rails/activeresource/test/base_test.rb +0 -891
- data/src/admin_panel/vendor/rails/activeresource/test/connection_test.rb +0 -196
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/beast.rb +0 -14
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/customer.rb +0 -3
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/person.rb +0 -3
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -4
- data/src/admin_panel/vendor/rails/activeresource/test/format_test.rb +0 -112
- data/src/admin_panel/vendor/rails/activeresource/test/setter_trap.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/CHANGELOG +0 -1309
- data/src/admin_panel/vendor/rails/activesupport/README +0 -43
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +0 -72
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/base64.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/basic_object.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +0 -127
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +0 -72
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +0 -132
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +0 -104
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/callbacks.rb +0 -279
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +0 -53
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +0 -106
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +0 -37
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -6
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +0 -54
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -140
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -50
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +0 -42
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +0 -230
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +0 -107
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -10
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +0 -126
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +0 -96
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +0 -43
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -116
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +0 -45
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +0 -237
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +0 -143
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +0 -45
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -38
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +0 -145
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -32
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +0 -121
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +0 -39
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -17
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -81
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +0 -80
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +0 -1
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +0 -32
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +0 -41
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +0 -82
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -28
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +0 -167
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +0 -81
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +0 -303
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +0 -86
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -42
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +0 -36
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/dependencies.rb +0 -625
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/deprecation.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/duration.rb +0 -98
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/gzip.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflections.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflector.rb +0 -406
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/decoding.rb +0 -82
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -6
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -36
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoding.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -10
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/locale/en.yml +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/memoizable.rb +0 -100
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +0 -70
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_verifier.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +0 -701
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +0 -8
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +0 -71
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/option_merger.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +0 -106
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/rescuable.rb +0 -108
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/secure_random.rb +0 -199
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/test_case.rb +0 -39
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +0 -65
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/default.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +0 -55
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/performance.rb +0 -452
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +0 -91
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +0 -334
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +0 -404
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +0 -113
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +0 -250
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +0 -115
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +0 -139
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +0 -63
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +0 -328
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +0 -214
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +0 -53
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +0 -199
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +0 -100
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +0 -125
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +0 -1
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +0 -3
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +0 -568
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.6.5/memcache.rb +0 -935
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +0 -55
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +0 -219
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -166
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -86
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +0 -283
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +0 -136
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +0 -204
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +0 -161
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +0 -274
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -149
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +0 -194
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +0 -139
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +0 -144
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +0 -131
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +0 -282
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +0 -205
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +0 -171
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +0 -288
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +0 -67
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +0 -73
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +0 -161
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +0 -87
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +0 -164
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +0 -34
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +0 -78
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +0 -121
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -65
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +0 -164
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +0 -270
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +0 -187
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +0 -193
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +0 -37
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +0 -188
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +0 -181
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +0 -197
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +0 -179
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +0 -276
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +0 -218
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +0 -168
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +0 -268
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +0 -288
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +0 -211
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +0 -170
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +0 -181
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +0 -187
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +0 -176
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +0 -215
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +0 -173
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +0 -172
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +0 -183
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +0 -170
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +0 -212
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +0 -202
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +0 -28
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +0 -51
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +0 -44
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +0 -98
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +0 -292
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +0 -508
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +0 -94
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +0 -198
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +0 -129
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +0 -133
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +0 -77
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +0 -108
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/activesupport.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/CHANGELOG +0 -2156
- data/src/admin_panel/vendor/rails/railties/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/railties/README +0 -243
- data/src/admin_panel/vendor/rails/railties/Rakefile +0 -364
- data/src/admin_panel/vendor/rails/railties/bin/about +0 -4
- data/src/admin_panel/vendor/rails/railties/bin/console +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/dbconsole +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/destroy +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/generate +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/performance/benchmarker +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/performance/profiler +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/plugin +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/rails +0 -20
- data/src/admin_panel/vendor/rails/railties/bin/runner +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/server +0 -3
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info.rb +0 -129
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/configs/databases/frontbase.yml +0 -28
- data/src/admin_panel/vendor/rails/railties/configs/databases/ibm_db.yml +0 -62
- data/src/admin_panel/vendor/rails/railties/configs/databases/mysql.yml +0 -60
- data/src/admin_panel/vendor/rails/railties/configs/databases/oracle.yml +0 -39
- data/src/admin_panel/vendor/rails/railties/configs/databases/postgresql.yml +0 -51
- data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite2.yml +0 -19
- data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite3.yml +0 -22
- data/src/admin_panel/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/configs/initializers/inflections.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/configs/initializers/mime_types.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +0 -19
- data/src/admin_panel/vendor/rails/railties/configs/initializers/session_store.rb +0 -15
- data/src/admin_panel/vendor/rails/railties/configs/locales/en.yml +0 -5
- data/src/admin_panel/vendor/rails/railties/configs/routes.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/dispatches/config.ru +0 -7
- data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.fcgi +0 -24
- data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/dispatches/gateway.cgi +0 -97
- data/src/admin_panel/vendor/rails/railties/doc/README_FOR_APP +0 -2
- data/src/admin_panel/vendor/rails/railties/environments/boot.rb +0 -110
- data/src/admin_panel/vendor/rails/railties/environments/development.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/environments/environment.rb +0 -41
- data/src/admin_panel/vendor/rails/railties/environments/production.rb +0 -28
- data/src/admin_panel/vendor/rails/railties/environments/test.rb +0 -28
- data/src/admin_panel/vendor/rails/railties/fresh_rakefile +0 -10
- data/src/admin_panel/vendor/rails/railties/helpers/application_controller.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/helpers/application_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/helpers/performance_test.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/helpers/test_helper.rb +0 -38
- data/src/admin_panel/vendor/rails/railties/html/404.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/422.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/500.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/favicon.ico +0 -0
- data/src/admin_panel/vendor/rails/railties/html/images/rails.png +0 -0
- data/src/admin_panel/vendor/rails/railties/html/index.html +0 -275
- data/src/admin_panel/vendor/rails/railties/html/javascripts/application.js +0 -2
- data/src/admin_panel/vendor/rails/railties/html/javascripts/controls.js +0 -963
- data/src/admin_panel/vendor/rails/railties/html/javascripts/dragdrop.js +0 -973
- data/src/admin_panel/vendor/rails/railties/html/javascripts/effects.js +0 -1128
- data/src/admin_panel/vendor/rails/railties/html/javascripts/prototype.js +0 -4320
- data/src/admin_panel/vendor/rails/railties/html/robots.txt +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/code_statistics.rb +0 -107
- data/src/admin_panel/vendor/rails/railties/lib/commands/about.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/commands/console.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/commands/dbconsole.rb +0 -83
- data/src/admin_panel/vendor/rails/railties/lib/commands/destroy.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/commands/generate.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/listener +0 -86
- data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/tracker +0 -69
- data/src/admin_panel/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -50
- data/src/admin_panel/vendor/rails/railties/lib/commands/plugin.rb +0 -968
- data/src/admin_panel/vendor/rails/railties/lib/commands/runner.rb +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/commands/server.rb +0 -114
- data/src/admin_panel/vendor/rails/railties/lib/commands/update.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/commands.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/console_app.rb +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/console_sandbox.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/console_with_helpers.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/dispatcher.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/fcgi_handler.rb +0 -239
- data/src/admin_panel/vendor/rails/railties/lib/initializer.rb +0 -1105
- data/src/admin_panel/vendor/rails/railties/lib/performance_test_help.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/rails/gem_builder.rb +0 -21
- data/src/admin_panel/vendor/rails/railties/lib/rails/gem_dependency.rb +0 -282
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/loader.rb +0 -191
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/locator.rb +0 -100
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin.rb +0 -167
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/debugger.rb +0 -21
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/log_tailer.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/metal.rb +0 -51
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/static.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +0 -140
- data/src/admin_panel/vendor/rails/railties/lib/rails/version.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/base.rb +0 -266
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/commands.rb +0 -621
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -258
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/git.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +0 -401
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/USAGE +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +0 -25
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -15
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +0 -12
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -11
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -27
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -19
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -13
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -25
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -39
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -13
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -23
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +0 -23
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +0 -76
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -102
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -85
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +0 -18
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -18
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -249
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -53
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/options.rb +0 -150
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -12
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts.rb +0 -89
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/spec.rb +0 -44
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/lib/railties_path.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/ruby_version_check.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rubyprof_ext.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/source_annotation_extractor.rb +0 -102
- data/src/admin_panel/vendor/rails/railties/lib/tasks/annotations.rake +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/tasks/databases.rake +0 -423
- data/src/admin_panel/vendor/rails/railties/lib/tasks/documentation.rake +0 -88
- data/src/admin_panel/vendor/rails/railties/lib/tasks/framework.rake +0 -143
- data/src/admin_panel/vendor/rails/railties/lib/tasks/gems.rake +0 -65
- data/src/admin_panel/vendor/rails/railties/lib/tasks/log.rake +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/tasks/middleware.rake +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/tasks/misc.rake +0 -63
- data/src/admin_panel/vendor/rails/railties/lib/tasks/rails.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/tasks/routes.rake +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/tasks/statistics.rake +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/tasks/testing.rake +0 -139
- data/src/admin_panel/vendor/rails/railties/lib/tasks/tmp.rake +0 -37
- data/src/admin_panel/vendor/rails/railties/lib/test_help.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/webrick_server.rb +0 -156
@@ -1,1083 +0,0 @@
|
|
1
|
-
require "cases/helper"
|
2
|
-
require 'models/author'
|
3
|
-
require 'models/categorization'
|
4
|
-
require 'models/comment'
|
5
|
-
require 'models/company'
|
6
|
-
require 'models/topic'
|
7
|
-
require 'models/reply'
|
8
|
-
require 'models/entrant'
|
9
|
-
require 'models/developer'
|
10
|
-
require 'models/post'
|
11
|
-
require 'models/customer'
|
12
|
-
require 'models/job'
|
13
|
-
require 'models/categorization'
|
14
|
-
|
15
|
-
class DynamicFinderMatchTest < ActiveRecord::TestCase
|
16
|
-
def test_find_no_match
|
17
|
-
assert_nil ActiveRecord::DynamicFinderMatch.match("not_a_finder")
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_find_by
|
21
|
-
match = ActiveRecord::DynamicFinderMatch.match("find_by_age_and_sex_and_location")
|
22
|
-
assert_not_nil match
|
23
|
-
assert match.finder?
|
24
|
-
assert_equal :first, match.finder
|
25
|
-
assert_equal %w(age sex location), match.attribute_names
|
26
|
-
end
|
27
|
-
|
28
|
-
def find_by_bang
|
29
|
-
match = ActiveRecord::DynamicFinderMatch.match("find_by_age_and_sex_and_location!")
|
30
|
-
assert_not_nil match
|
31
|
-
assert match.finder?
|
32
|
-
assert match.bang?
|
33
|
-
assert_equal :first, match.finder
|
34
|
-
assert_equal %w(age sex location), match.attribute_names
|
35
|
-
end
|
36
|
-
|
37
|
-
def test_find_all_by
|
38
|
-
match = ActiveRecord::DynamicFinderMatch.match("find_all_by_age_and_sex_and_location")
|
39
|
-
assert_not_nil match
|
40
|
-
assert match.finder?
|
41
|
-
assert_equal :all, match.finder
|
42
|
-
assert_equal %w(age sex location), match.attribute_names
|
43
|
-
end
|
44
|
-
|
45
|
-
def test_find_or_initialize_by
|
46
|
-
match = ActiveRecord::DynamicFinderMatch.match("find_or_initialize_by_age_and_sex_and_location")
|
47
|
-
assert_not_nil match
|
48
|
-
assert !match.finder?
|
49
|
-
assert match.instantiator?
|
50
|
-
assert_equal :first, match.finder
|
51
|
-
assert_equal :new, match.instantiator
|
52
|
-
assert_equal %w(age sex location), match.attribute_names
|
53
|
-
end
|
54
|
-
|
55
|
-
def test_find_or_create_by
|
56
|
-
match = ActiveRecord::DynamicFinderMatch.match("find_or_create_by_age_and_sex_and_location")
|
57
|
-
assert_not_nil match
|
58
|
-
assert !match.finder?
|
59
|
-
assert match.instantiator?
|
60
|
-
assert_equal :first, match.finder
|
61
|
-
assert_equal :create, match.instantiator
|
62
|
-
assert_equal %w(age sex location), match.attribute_names
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
class FinderTest < ActiveRecord::TestCase
|
67
|
-
fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts, :authors, :customers
|
68
|
-
|
69
|
-
def test_find
|
70
|
-
assert_equal(topics(:first).title, Topic.find(1).title)
|
71
|
-
end
|
72
|
-
|
73
|
-
# find should handle strings that come from URLs
|
74
|
-
# (example: Category.find(params[:id]))
|
75
|
-
def test_find_with_string
|
76
|
-
assert_equal(Topic.find(1).title,Topic.find("1").title)
|
77
|
-
end
|
78
|
-
|
79
|
-
def test_exists
|
80
|
-
assert Topic.exists?(1)
|
81
|
-
assert Topic.exists?("1")
|
82
|
-
assert Topic.exists?(:author_name => "David")
|
83
|
-
assert Topic.exists?(:author_name => "Mary", :approved => true)
|
84
|
-
assert Topic.exists?(["parent_id = ?", 1])
|
85
|
-
assert !Topic.exists?(45)
|
86
|
-
|
87
|
-
begin
|
88
|
-
assert !Topic.exists?("foo")
|
89
|
-
rescue ActiveRecord::StatementInvalid
|
90
|
-
# PostgreSQL complains about string comparison with integer field
|
91
|
-
rescue Exception
|
92
|
-
flunk
|
93
|
-
end
|
94
|
-
|
95
|
-
assert_raise(NoMethodError) { Topic.exists?([1,2]) }
|
96
|
-
end
|
97
|
-
|
98
|
-
def test_exists_returns_true_with_one_record_and_no_args
|
99
|
-
assert Topic.exists?
|
100
|
-
end
|
101
|
-
|
102
|
-
def test_does_not_exist_with_empty_table_and_no_args_given
|
103
|
-
Topic.delete_all
|
104
|
-
assert !Topic.exists?
|
105
|
-
end
|
106
|
-
|
107
|
-
def test_exists_with_aggregate_having_three_mappings
|
108
|
-
existing_address = customers(:david).address
|
109
|
-
assert Customer.exists?(:address => existing_address)
|
110
|
-
end
|
111
|
-
|
112
|
-
def test_exists_with_aggregate_having_three_mappings_with_one_difference
|
113
|
-
existing_address = customers(:david).address
|
114
|
-
assert !Customer.exists?(:address =>
|
115
|
-
Address.new(existing_address.street, existing_address.city, existing_address.country + "1"))
|
116
|
-
assert !Customer.exists?(:address =>
|
117
|
-
Address.new(existing_address.street, existing_address.city + "1", existing_address.country))
|
118
|
-
assert !Customer.exists?(:address =>
|
119
|
-
Address.new(existing_address.street + "1", existing_address.city, existing_address.country))
|
120
|
-
end
|
121
|
-
|
122
|
-
def test_find_by_array_of_one_id
|
123
|
-
assert_kind_of(Array, Topic.find([ 1 ]))
|
124
|
-
assert_equal(1, Topic.find([ 1 ]).length)
|
125
|
-
end
|
126
|
-
|
127
|
-
def test_find_by_ids
|
128
|
-
assert_equal 2, Topic.find(1, 2).size
|
129
|
-
assert_equal topics(:second).title, Topic.find([2]).first.title
|
130
|
-
end
|
131
|
-
|
132
|
-
def test_find_by_ids_with_limit_and_offset
|
133
|
-
assert_equal 2, Entrant.find([1,3,2], :limit => 2).size
|
134
|
-
assert_equal 1, Entrant.find([1,3,2], :limit => 3, :offset => 2).size
|
135
|
-
|
136
|
-
# Also test an edge case: If you have 11 results, and you set a
|
137
|
-
# limit of 3 and offset of 9, then you should find that there
|
138
|
-
# will be only 2 results, regardless of the limit.
|
139
|
-
devs = Developer.find :all
|
140
|
-
last_devs = Developer.find devs.map(&:id), :limit => 3, :offset => 9
|
141
|
-
assert_equal 2, last_devs.size
|
142
|
-
end
|
143
|
-
|
144
|
-
def test_find_an_empty_array
|
145
|
-
assert_equal [], Topic.find([])
|
146
|
-
end
|
147
|
-
|
148
|
-
def test_find_by_ids_missing_one
|
149
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, 2, 45) }
|
150
|
-
end
|
151
|
-
|
152
|
-
def test_find_all_with_limit
|
153
|
-
entrants = Entrant.find(:all, :order => "id ASC", :limit => 2)
|
154
|
-
|
155
|
-
assert_equal(2, entrants.size)
|
156
|
-
assert_equal(entrants(:first).name, entrants.first.name)
|
157
|
-
end
|
158
|
-
|
159
|
-
def test_find_all_with_prepared_limit_and_offset
|
160
|
-
entrants = Entrant.find(:all, :order => "id ASC", :limit => 2, :offset => 1)
|
161
|
-
|
162
|
-
assert_equal(2, entrants.size)
|
163
|
-
assert_equal(entrants(:second).name, entrants.first.name)
|
164
|
-
|
165
|
-
entrants = Entrant.find(:all, :order => "id ASC", :limit => 2, :offset => 2)
|
166
|
-
assert_equal(1, entrants.size)
|
167
|
-
assert_equal(entrants(:third).name, entrants.first.name)
|
168
|
-
end
|
169
|
-
|
170
|
-
def test_find_all_with_limit_and_offset_and_multiple_orderings
|
171
|
-
developers = Developer.find(:all, :order => "salary ASC, id DESC", :limit => 3, :offset => 1)
|
172
|
-
assert_equal ["David", "fixture_10", "fixture_9"], developers.collect {|d| d.name}
|
173
|
-
end
|
174
|
-
|
175
|
-
def test_find_with_limit_and_condition
|
176
|
-
developers = Developer.find(:all, :order => "id DESC", :conditions => "salary = 100000", :limit => 3, :offset =>7)
|
177
|
-
assert_equal(1, developers.size)
|
178
|
-
assert_equal("fixture_3", developers.first.name)
|
179
|
-
end
|
180
|
-
|
181
|
-
def test_find_with_group
|
182
|
-
developers = Developer.find(:all, :group => "salary", :select => "salary")
|
183
|
-
assert_equal 4, developers.size
|
184
|
-
assert_equal 4, developers.map(&:salary).uniq.size
|
185
|
-
end
|
186
|
-
|
187
|
-
def test_find_with_group_and_having
|
188
|
-
developers = Developer.find(:all, :group => "salary", :having => "sum(salary) > 10000", :select => "salary")
|
189
|
-
assert_equal 3, developers.size
|
190
|
-
assert_equal 3, developers.map(&:salary).uniq.size
|
191
|
-
assert developers.all? { |developer| developer.salary > 10000 }
|
192
|
-
end
|
193
|
-
|
194
|
-
def test_find_with_group_and_sanitized_having
|
195
|
-
developers = Developer.find(:all, :group => "salary", :having => ["sum(salary) > ?", 10000], :select => "salary")
|
196
|
-
assert_equal 3, developers.size
|
197
|
-
assert_equal 3, developers.map(&:salary).uniq.size
|
198
|
-
assert developers.all? { |developer| developer.salary > 10000 }
|
199
|
-
end
|
200
|
-
|
201
|
-
def test_find_with_entire_select_statement
|
202
|
-
topics = Topic.find_by_sql "SELECT * FROM topics WHERE author_name = 'Mary'"
|
203
|
-
|
204
|
-
assert_equal(1, topics.size)
|
205
|
-
assert_equal(topics(:second).title, topics.first.title)
|
206
|
-
end
|
207
|
-
|
208
|
-
def test_find_with_prepared_select_statement
|
209
|
-
topics = Topic.find_by_sql ["SELECT * FROM topics WHERE author_name = ?", "Mary"]
|
210
|
-
|
211
|
-
assert_equal(1, topics.size)
|
212
|
-
assert_equal(topics(:second).title, topics.first.title)
|
213
|
-
end
|
214
|
-
|
215
|
-
def test_find_by_sql_with_sti_on_joined_table
|
216
|
-
accounts = Account.find_by_sql("SELECT * FROM accounts INNER JOIN companies ON companies.id = accounts.firm_id")
|
217
|
-
assert_equal [Account], accounts.collect(&:class).uniq
|
218
|
-
end
|
219
|
-
|
220
|
-
def test_find_first
|
221
|
-
first = Topic.find(:first, :conditions => "title = 'The First Topic'")
|
222
|
-
assert_equal(topics(:first).title, first.title)
|
223
|
-
end
|
224
|
-
|
225
|
-
def test_find_first_failing
|
226
|
-
first = Topic.find(:first, :conditions => "title = 'The First Topic!'")
|
227
|
-
assert_nil(first)
|
228
|
-
end
|
229
|
-
|
230
|
-
def test_first
|
231
|
-
assert_equal topics(:second).title, Topic.first(:conditions => "title = 'The Second Topic of the day'").title
|
232
|
-
end
|
233
|
-
|
234
|
-
def test_first_failing
|
235
|
-
assert_nil Topic.first(:conditions => "title = 'The Second Topic of the day!'")
|
236
|
-
end
|
237
|
-
|
238
|
-
def test_unexisting_record_exception_handling
|
239
|
-
assert_raise(ActiveRecord::RecordNotFound) {
|
240
|
-
Topic.find(1).parent
|
241
|
-
}
|
242
|
-
|
243
|
-
Topic.find(2).topic
|
244
|
-
end
|
245
|
-
|
246
|
-
def test_find_only_some_columns
|
247
|
-
topic = Topic.find(1, :select => "author_name")
|
248
|
-
assert_raise(ActiveRecord::MissingAttributeError) {topic.title}
|
249
|
-
assert_equal "David", topic.author_name
|
250
|
-
assert !topic.attribute_present?("title")
|
251
|
-
#assert !topic.respond_to?("title")
|
252
|
-
assert topic.attribute_present?("author_name")
|
253
|
-
assert topic.respond_to?("author_name")
|
254
|
-
end
|
255
|
-
|
256
|
-
def test_find_on_blank_conditions
|
257
|
-
[nil, " ", [], {}].each do |blank|
|
258
|
-
assert_nothing_raised { Topic.find(:first, :conditions => blank) }
|
259
|
-
end
|
260
|
-
end
|
261
|
-
|
262
|
-
def test_find_on_blank_bind_conditions
|
263
|
-
[ [""], ["",{}] ].each do |blank|
|
264
|
-
assert_nothing_raised { Topic.find(:first, :conditions => blank) }
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
def test_find_on_array_conditions
|
269
|
-
assert Topic.find(1, :conditions => ["approved = ?", false])
|
270
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => ["approved = ?", true]) }
|
271
|
-
end
|
272
|
-
|
273
|
-
def test_find_on_hash_conditions
|
274
|
-
assert Topic.find(1, :conditions => { :approved => false })
|
275
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { :approved => true }) }
|
276
|
-
end
|
277
|
-
|
278
|
-
def test_find_on_hash_conditions_with_explicit_table_name
|
279
|
-
assert Topic.find(1, :conditions => { 'topics.approved' => false })
|
280
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { 'topics.approved' => true }) }
|
281
|
-
end
|
282
|
-
|
283
|
-
def test_find_on_hash_conditions_with_hashed_table_name
|
284
|
-
assert Topic.find(1, :conditions => {:topics => { :approved => false }})
|
285
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => {:topics => { :approved => true }}) }
|
286
|
-
end
|
287
|
-
|
288
|
-
def test_find_with_hash_conditions_on_joined_table
|
289
|
-
firms = Firm.all :joins => :account, :conditions => {:accounts => { :credit_limit => 50 }}
|
290
|
-
assert_equal 1, firms.size
|
291
|
-
assert_equal companies(:first_firm), firms.first
|
292
|
-
end
|
293
|
-
|
294
|
-
def test_find_with_hash_conditions_on_joined_table_and_with_range
|
295
|
-
firms = DependentFirm.all :joins => :account, :conditions => {:name => 'RailsCore', :accounts => { :credit_limit => 55..60 }}
|
296
|
-
assert_equal 1, firms.size
|
297
|
-
assert_equal companies(:rails_core), firms.first
|
298
|
-
end
|
299
|
-
|
300
|
-
def test_find_on_hash_conditions_with_explicit_table_name_and_aggregate
|
301
|
-
david = customers(:david)
|
302
|
-
assert Customer.find(david.id, :conditions => { 'customers.name' => david.name, :address => david.address })
|
303
|
-
assert_raise(ActiveRecord::RecordNotFound) {
|
304
|
-
Customer.find(david.id, :conditions => { 'customers.name' => david.name + "1", :address => david.address })
|
305
|
-
}
|
306
|
-
end
|
307
|
-
|
308
|
-
def test_find_on_association_proxy_conditions
|
309
|
-
assert_equal [1, 2, 3, 5, 6, 7, 8, 9, 10], Comment.find_all_by_post_id(authors(:david).posts).map(&:id).sort
|
310
|
-
end
|
311
|
-
|
312
|
-
def test_find_on_hash_conditions_with_range
|
313
|
-
assert_equal [1,2], Topic.find(:all, :conditions => { :id => 1..2 }).map(&:id).sort
|
314
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { :id => 2..3 }) }
|
315
|
-
end
|
316
|
-
|
317
|
-
def test_find_on_hash_conditions_with_end_exclusive_range
|
318
|
-
assert_equal [1,2,3], Topic.find(:all, :conditions => { :id => 1..3 }).map(&:id).sort
|
319
|
-
assert_equal [1,2], Topic.find(:all, :conditions => { :id => 1...3 }).map(&:id).sort
|
320
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(3, :conditions => { :id => 2...3 }) }
|
321
|
-
end
|
322
|
-
|
323
|
-
def test_find_on_hash_conditions_with_multiple_ranges
|
324
|
-
assert_equal [1,2,3], Comment.find(:all, :conditions => { :id => 1..3, :post_id => 1..2 }).map(&:id).sort
|
325
|
-
assert_equal [1], Comment.find(:all, :conditions => { :id => 1..1, :post_id => 1..10 }).map(&:id).sort
|
326
|
-
end
|
327
|
-
|
328
|
-
def test_find_on_multiple_hash_conditions
|
329
|
-
assert Topic.find(1, :conditions => { :author_name => "David", :title => "The First Topic", :replies_count => 1, :approved => false })
|
330
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { :author_name => "David", :title => "The First Topic", :replies_count => 1, :approved => true }) }
|
331
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { :author_name => "David", :title => "HHC", :replies_count => 1, :approved => false }) }
|
332
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1, :conditions => { :author_name => "David", :title => "The First Topic", :replies_count => 1, :approved => true }) }
|
333
|
-
end
|
334
|
-
|
335
|
-
def test_condition_interpolation
|
336
|
-
assert_kind_of Firm, Company.find(:first, :conditions => ["name = '%s'", "37signals"])
|
337
|
-
assert_nil Company.find(:first, :conditions => ["name = '%s'", "37signals!"])
|
338
|
-
assert_nil Company.find(:first, :conditions => ["name = '%s'", "37signals!' OR 1=1"])
|
339
|
-
assert_kind_of Time, Topic.find(:first, :conditions => ["id = %d", 1]).written_on
|
340
|
-
end
|
341
|
-
|
342
|
-
def test_condition_array_interpolation
|
343
|
-
assert_kind_of Firm, Company.find(:first, :conditions => ["name = '%s'", "37signals"])
|
344
|
-
assert_nil Company.find(:first, :conditions => ["name = '%s'", "37signals!"])
|
345
|
-
assert_nil Company.find(:first, :conditions => ["name = '%s'", "37signals!' OR 1=1"])
|
346
|
-
assert_kind_of Time, Topic.find(:first, :conditions => ["id = %d", 1]).written_on
|
347
|
-
end
|
348
|
-
|
349
|
-
def test_condition_hash_interpolation
|
350
|
-
assert_kind_of Firm, Company.find(:first, :conditions => { :name => "37signals"})
|
351
|
-
assert_nil Company.find(:first, :conditions => { :name => "37signals!"})
|
352
|
-
assert_kind_of Time, Topic.find(:first, :conditions => {:id => 1}).written_on
|
353
|
-
end
|
354
|
-
|
355
|
-
def test_hash_condition_find_malformed
|
356
|
-
assert_raise(ActiveRecord::StatementInvalid) {
|
357
|
-
Company.find(:first, :conditions => { :id => 2, :dhh => true })
|
358
|
-
}
|
359
|
-
end
|
360
|
-
|
361
|
-
def test_hash_condition_find_with_escaped_characters
|
362
|
-
Company.create("name" => "Ain't noth'n like' \#stuff")
|
363
|
-
assert Company.find(:first, :conditions => { :name => "Ain't noth'n like' \#stuff" })
|
364
|
-
end
|
365
|
-
|
366
|
-
def test_hash_condition_find_with_array
|
367
|
-
p1, p2 = Post.find(:all, :limit => 2, :order => 'id asc')
|
368
|
-
assert_equal [p1, p2], Post.find(:all, :conditions => { :id => [p1, p2] }, :order => 'id asc')
|
369
|
-
assert_equal [p1, p2], Post.find(:all, :conditions => { :id => [p1, p2.id] }, :order => 'id asc')
|
370
|
-
end
|
371
|
-
|
372
|
-
def test_hash_condition_find_with_nil
|
373
|
-
topic = Topic.find(:first, :conditions => { :last_read => nil } )
|
374
|
-
assert_not_nil topic
|
375
|
-
assert_nil topic.last_read
|
376
|
-
end
|
377
|
-
|
378
|
-
def test_hash_condition_find_with_aggregate_having_one_mapping
|
379
|
-
balance = customers(:david).balance
|
380
|
-
assert_kind_of Money, balance
|
381
|
-
found_customer = Customer.find(:first, :conditions => {:balance => balance})
|
382
|
-
assert_equal customers(:david), found_customer
|
383
|
-
end
|
384
|
-
|
385
|
-
def test_hash_condition_find_with_aggregate_attribute_having_same_name_as_field_and_key_value_being_aggregate
|
386
|
-
gps_location = customers(:david).gps_location
|
387
|
-
assert_kind_of GpsLocation, gps_location
|
388
|
-
found_customer = Customer.find(:first, :conditions => {:gps_location => gps_location})
|
389
|
-
assert_equal customers(:david), found_customer
|
390
|
-
end
|
391
|
-
|
392
|
-
def test_hash_condition_find_with_aggregate_having_one_mapping_and_key_value_being_attribute_value
|
393
|
-
balance = customers(:david).balance
|
394
|
-
assert_kind_of Money, balance
|
395
|
-
found_customer = Customer.find(:first, :conditions => {:balance => balance.amount})
|
396
|
-
assert_equal customers(:david), found_customer
|
397
|
-
end
|
398
|
-
|
399
|
-
def test_hash_condition_find_with_aggregate_attribute_having_same_name_as_field_and_key_value_being_attribute_value
|
400
|
-
gps_location = customers(:david).gps_location
|
401
|
-
assert_kind_of GpsLocation, gps_location
|
402
|
-
found_customer = Customer.find(:first, :conditions => {:gps_location => gps_location.gps_location})
|
403
|
-
assert_equal customers(:david), found_customer
|
404
|
-
end
|
405
|
-
|
406
|
-
def test_hash_condition_find_with_aggregate_having_three_mappings
|
407
|
-
address = customers(:david).address
|
408
|
-
assert_kind_of Address, address
|
409
|
-
found_customer = Customer.find(:first, :conditions => {:address => address})
|
410
|
-
assert_equal customers(:david), found_customer
|
411
|
-
end
|
412
|
-
|
413
|
-
def test_hash_condition_find_with_one_condition_being_aggregate_and_another_not
|
414
|
-
address = customers(:david).address
|
415
|
-
assert_kind_of Address, address
|
416
|
-
found_customer = Customer.find(:first, :conditions => {:address => address, :name => customers(:david).name})
|
417
|
-
assert_equal customers(:david), found_customer
|
418
|
-
end
|
419
|
-
|
420
|
-
def test_bind_variables
|
421
|
-
assert_kind_of Firm, Company.find(:first, :conditions => ["name = ?", "37signals"])
|
422
|
-
assert_nil Company.find(:first, :conditions => ["name = ?", "37signals!"])
|
423
|
-
assert_nil Company.find(:first, :conditions => ["name = ?", "37signals!' OR 1=1"])
|
424
|
-
assert_kind_of Time, Topic.find(:first, :conditions => ["id = ?", 1]).written_on
|
425
|
-
assert_raise(ActiveRecord::PreparedStatementInvalid) {
|
426
|
-
Company.find(:first, :conditions => ["id=? AND name = ?", 2])
|
427
|
-
}
|
428
|
-
assert_raise(ActiveRecord::PreparedStatementInvalid) {
|
429
|
-
Company.find(:first, :conditions => ["id=?", 2, 3, 4])
|
430
|
-
}
|
431
|
-
end
|
432
|
-
|
433
|
-
def test_bind_variables_with_quotes
|
434
|
-
Company.create("name" => "37signals' go'es agains")
|
435
|
-
assert Company.find(:first, :conditions => ["name = ?", "37signals' go'es agains"])
|
436
|
-
end
|
437
|
-
|
438
|
-
def test_named_bind_variables_with_quotes
|
439
|
-
Company.create("name" => "37signals' go'es agains")
|
440
|
-
assert Company.find(:first, :conditions => ["name = :name", {:name => "37signals' go'es agains"}])
|
441
|
-
end
|
442
|
-
|
443
|
-
def test_bind_arity
|
444
|
-
assert_nothing_raised { bind '' }
|
445
|
-
assert_raise(ActiveRecord::PreparedStatementInvalid) { bind '', 1 }
|
446
|
-
|
447
|
-
assert_raise(ActiveRecord::PreparedStatementInvalid) { bind '?' }
|
448
|
-
assert_nothing_raised { bind '?', 1 }
|
449
|
-
assert_raise(ActiveRecord::PreparedStatementInvalid) { bind '?', 1, 1 }
|
450
|
-
end
|
451
|
-
|
452
|
-
def test_named_bind_variables
|
453
|
-
assert_equal '1', bind(':a', :a => 1) # ' ruby-mode
|
454
|
-
assert_equal '1 1', bind(':a :a', :a => 1) # ' ruby-mode
|
455
|
-
|
456
|
-
assert_nothing_raised { bind("'+00:00'", :foo => "bar") }
|
457
|
-
|
458
|
-
assert_kind_of Firm, Company.find(:first, :conditions => ["name = :name", { :name => "37signals" }])
|
459
|
-
assert_nil Company.find(:first, :conditions => ["name = :name", { :name => "37signals!" }])
|
460
|
-
assert_nil Company.find(:first, :conditions => ["name = :name", { :name => "37signals!' OR 1=1" }])
|
461
|
-
assert_kind_of Time, Topic.find(:first, :conditions => ["id = :id", { :id => 1 }]).written_on
|
462
|
-
end
|
463
|
-
|
464
|
-
def test_bind_enumerable
|
465
|
-
quoted_abc = %(#{ActiveRecord::Base.connection.quote('a')},#{ActiveRecord::Base.connection.quote('b')},#{ActiveRecord::Base.connection.quote('c')})
|
466
|
-
|
467
|
-
assert_equal '1,2,3', bind('?', [1, 2, 3])
|
468
|
-
assert_equal quoted_abc, bind('?', %w(a b c))
|
469
|
-
|
470
|
-
assert_equal '1,2,3', bind(':a', :a => [1, 2, 3])
|
471
|
-
assert_equal quoted_abc, bind(':a', :a => %w(a b c)) # '
|
472
|
-
|
473
|
-
require 'set'
|
474
|
-
assert_equal '1,2,3', bind('?', Set.new([1, 2, 3]))
|
475
|
-
assert_equal quoted_abc, bind('?', Set.new(%w(a b c)))
|
476
|
-
|
477
|
-
assert_equal '1,2,3', bind(':a', :a => Set.new([1, 2, 3]))
|
478
|
-
assert_equal quoted_abc, bind(':a', :a => Set.new(%w(a b c))) # '
|
479
|
-
end
|
480
|
-
|
481
|
-
def test_bind_empty_enumerable
|
482
|
-
quoted_nil = ActiveRecord::Base.connection.quote(nil)
|
483
|
-
assert_equal quoted_nil, bind('?', [])
|
484
|
-
assert_equal " in (#{quoted_nil})", bind(' in (?)', [])
|
485
|
-
assert_equal "foo in (#{quoted_nil})", bind('foo in (?)', [])
|
486
|
-
end
|
487
|
-
|
488
|
-
def test_bind_string
|
489
|
-
assert_equal ActiveRecord::Base.connection.quote(''), bind('?', '')
|
490
|
-
end
|
491
|
-
|
492
|
-
def test_bind_chars
|
493
|
-
quoted_bambi = ActiveRecord::Base.connection.quote("Bambi")
|
494
|
-
quoted_bambi_and_thumper = ActiveRecord::Base.connection.quote("Bambi\nand\nThumper")
|
495
|
-
assert_equal "name=#{quoted_bambi}", bind('name=?', "Bambi")
|
496
|
-
assert_equal "name=#{quoted_bambi_and_thumper}", bind('name=?', "Bambi\nand\nThumper")
|
497
|
-
assert_equal "name=#{quoted_bambi}", bind('name=?', "Bambi".mb_chars)
|
498
|
-
assert_equal "name=#{quoted_bambi_and_thumper}", bind('name=?', "Bambi\nand\nThumper".mb_chars)
|
499
|
-
end
|
500
|
-
|
501
|
-
def test_bind_record
|
502
|
-
o = Struct.new(:quoted_id).new(1)
|
503
|
-
assert_equal '1', bind('?', o)
|
504
|
-
|
505
|
-
os = [o] * 3
|
506
|
-
assert_equal '1,1,1', bind('?', os)
|
507
|
-
end
|
508
|
-
|
509
|
-
def test_named_bind_with_postgresql_type_casts
|
510
|
-
l = Proc.new { bind(":a::integer '2009-01-01'::date", :a => '10') }
|
511
|
-
assert_nothing_raised(&l)
|
512
|
-
assert_equal "#{ActiveRecord::Base.quote_value('10')}::integer '2009-01-01'::date", l.call
|
513
|
-
end
|
514
|
-
|
515
|
-
def test_string_sanitation
|
516
|
-
assert_not_equal "#{ActiveRecord::Base.connection.quoted_string_prefix}'something ' 1=1'", ActiveRecord::Base.sanitize("something ' 1=1")
|
517
|
-
assert_equal "#{ActiveRecord::Base.connection.quoted_string_prefix}'something; select table'", ActiveRecord::Base.sanitize("something; select table")
|
518
|
-
end
|
519
|
-
|
520
|
-
def test_count
|
521
|
-
assert_equal(0, Entrant.count(:conditions => "id > 3"))
|
522
|
-
assert_equal(1, Entrant.count(:conditions => ["id > ?", 2]))
|
523
|
-
assert_equal(2, Entrant.count(:conditions => ["id > ?", 1]))
|
524
|
-
end
|
525
|
-
|
526
|
-
def test_count_by_sql
|
527
|
-
assert_equal(0, Entrant.count_by_sql("SELECT COUNT(*) FROM entrants WHERE id > 3"))
|
528
|
-
assert_equal(1, Entrant.count_by_sql(["SELECT COUNT(*) FROM entrants WHERE id > ?", 2]))
|
529
|
-
assert_equal(2, Entrant.count_by_sql(["SELECT COUNT(*) FROM entrants WHERE id > ?", 1]))
|
530
|
-
end
|
531
|
-
|
532
|
-
def test_dynamic_finders_should_go_through_the_find_class_method
|
533
|
-
Topic.expects(:find).with(:first, :conditions => { :title => 'The First Topic!' })
|
534
|
-
Topic.find_by_title("The First Topic!")
|
535
|
-
|
536
|
-
Topic.expects(:find).with(:last, :conditions => { :title => 'The Last Topic!' })
|
537
|
-
Topic.find_last_by_title("The Last Topic!")
|
538
|
-
|
539
|
-
Topic.expects(:find).with(:all, :conditions => { :title => 'A Topic.' })
|
540
|
-
Topic.find_all_by_title("A Topic.")
|
541
|
-
|
542
|
-
Topic.expects(:find).with(:first, :conditions => { :title => 'Does not exist yet for sure!' }).times(2)
|
543
|
-
Topic.find_or_initialize_by_title('Does not exist yet for sure!')
|
544
|
-
Topic.find_or_create_by_title('Does not exist yet for sure!')
|
545
|
-
end
|
546
|
-
|
547
|
-
def test_find_by_one_attribute
|
548
|
-
assert_equal topics(:first), Topic.find_by_title("The First Topic")
|
549
|
-
assert_nil Topic.find_by_title("The First Topic!")
|
550
|
-
end
|
551
|
-
|
552
|
-
def test_find_by_one_attribute_bang
|
553
|
-
assert_equal topics(:first), Topic.find_by_title!("The First Topic")
|
554
|
-
assert_raise(ActiveRecord::RecordNotFound) { Topic.find_by_title!("The First Topic!") }
|
555
|
-
end
|
556
|
-
|
557
|
-
def test_find_by_one_attribute_caches_dynamic_finder
|
558
|
-
# ensure this test can run independently of order
|
559
|
-
class << Topic; self; end.send(:remove_method, :find_by_title) if Topic.public_methods.any? { |m| m.to_s == 'find_by_title' }
|
560
|
-
assert !Topic.public_methods.any? { |m| m.to_s == 'find_by_title' }
|
561
|
-
t = Topic.find_by_title("The First Topic")
|
562
|
-
assert Topic.public_methods.any? { |m| m.to_s == 'find_by_title' }
|
563
|
-
end
|
564
|
-
|
565
|
-
def test_dynamic_finder_returns_same_results_after_caching
|
566
|
-
# ensure this test can run independently of order
|
567
|
-
class << Topic; self; end.send(:remove_method, :find_by_title) if Topic.public_method_defined?(:find_by_title)
|
568
|
-
t = Topic.find_by_title("The First Topic")
|
569
|
-
assert_equal t, Topic.find_by_title("The First Topic") # find_by_title has been cached
|
570
|
-
end
|
571
|
-
|
572
|
-
def test_find_by_one_attribute_with_order_option
|
573
|
-
assert_equal accounts(:signals37), Account.find_by_credit_limit(50, :order => 'id')
|
574
|
-
assert_equal accounts(:rails_core_account), Account.find_by_credit_limit(50, :order => 'id DESC')
|
575
|
-
end
|
576
|
-
|
577
|
-
def test_find_by_one_attribute_with_conditions
|
578
|
-
assert_equal accounts(:rails_core_account), Account.find_by_credit_limit(50, :conditions => ['firm_id = ?', 6])
|
579
|
-
end
|
580
|
-
|
581
|
-
def test_find_by_one_attribute_that_is_an_aggregate
|
582
|
-
address = customers(:david).address
|
583
|
-
assert_kind_of Address, address
|
584
|
-
found_customer = Customer.find_by_address(address)
|
585
|
-
assert_equal customers(:david), found_customer
|
586
|
-
end
|
587
|
-
|
588
|
-
def test_find_by_one_attribute_that_is_an_aggregate_with_one_attribute_difference
|
589
|
-
address = customers(:david).address
|
590
|
-
assert_kind_of Address, address
|
591
|
-
missing_address = Address.new(address.street, address.city, address.country + "1")
|
592
|
-
assert_nil Customer.find_by_address(missing_address)
|
593
|
-
missing_address = Address.new(address.street, address.city + "1", address.country)
|
594
|
-
assert_nil Customer.find_by_address(missing_address)
|
595
|
-
missing_address = Address.new(address.street + "1", address.city, address.country)
|
596
|
-
assert_nil Customer.find_by_address(missing_address)
|
597
|
-
end
|
598
|
-
|
599
|
-
def test_find_by_two_attributes_that_are_both_aggregates
|
600
|
-
balance = customers(:david).balance
|
601
|
-
address = customers(:david).address
|
602
|
-
assert_kind_of Money, balance
|
603
|
-
assert_kind_of Address, address
|
604
|
-
found_customer = Customer.find_by_balance_and_address(balance, address)
|
605
|
-
assert_equal customers(:david), found_customer
|
606
|
-
end
|
607
|
-
|
608
|
-
def test_find_by_two_attributes_with_one_being_an_aggregate
|
609
|
-
balance = customers(:david).balance
|
610
|
-
assert_kind_of Money, balance
|
611
|
-
found_customer = Customer.find_by_balance_and_name(balance, customers(:david).name)
|
612
|
-
assert_equal customers(:david), found_customer
|
613
|
-
end
|
614
|
-
|
615
|
-
def test_dynamic_finder_on_one_attribute_with_conditions_caches_method
|
616
|
-
# ensure this test can run independently of order
|
617
|
-
class << Account; self; end.send(:remove_method, :find_by_credit_limit) if Account.public_methods.any? { |m| m.to_s == 'find_by_credit_limit' }
|
618
|
-
assert !Account.public_methods.any? { |m| m.to_s == 'find_by_credit_limit' }
|
619
|
-
a = Account.find_by_credit_limit(50, :conditions => ['firm_id = ?', 6])
|
620
|
-
assert Account.public_methods.any? { |m| m.to_s == 'find_by_credit_limit' }
|
621
|
-
end
|
622
|
-
|
623
|
-
def test_dynamic_finder_on_one_attribute_with_conditions_returns_same_results_after_caching
|
624
|
-
# ensure this test can run independently of order
|
625
|
-
class << Account; self; end.send(:remove_method, :find_by_credit_limit) if Account.public_methods.any? { |m| m.to_s == 'find_by_credit_limit' }
|
626
|
-
a = Account.find_by_credit_limit(50, :conditions => ['firm_id = ?', 6])
|
627
|
-
assert_equal a, Account.find_by_credit_limit(50, :conditions => ['firm_id = ?', 6]) # find_by_credit_limit has been cached
|
628
|
-
end
|
629
|
-
|
630
|
-
def test_find_by_one_attribute_with_several_options
|
631
|
-
assert_equal accounts(:unknown), Account.find_by_credit_limit(50, :order => 'id DESC', :conditions => ['id != ?', 3])
|
632
|
-
end
|
633
|
-
|
634
|
-
def test_find_by_one_missing_attribute
|
635
|
-
assert_raise(NoMethodError) { Topic.find_by_undertitle("The First Topic!") }
|
636
|
-
end
|
637
|
-
|
638
|
-
def test_find_by_invalid_method_syntax
|
639
|
-
assert_raise(NoMethodError) { Topic.fail_to_find_by_title("The First Topic") }
|
640
|
-
assert_raise(NoMethodError) { Topic.find_by_title?("The First Topic") }
|
641
|
-
assert_raise(NoMethodError) { Topic.fail_to_find_or_create_by_title("Nonexistent Title") }
|
642
|
-
assert_raise(NoMethodError) { Topic.find_or_create_by_title?("Nonexistent Title") }
|
643
|
-
end
|
644
|
-
|
645
|
-
def test_find_by_two_attributes
|
646
|
-
assert_equal topics(:first), Topic.find_by_title_and_author_name("The First Topic", "David")
|
647
|
-
assert_nil Topic.find_by_title_and_author_name("The First Topic", "Mary")
|
648
|
-
end
|
649
|
-
|
650
|
-
def test_find_last_by_one_attribute
|
651
|
-
assert_equal Topic.last, Topic.find_last_by_title(Topic.last.title)
|
652
|
-
assert_nil Topic.find_last_by_title("A title with no matches")
|
653
|
-
end
|
654
|
-
|
655
|
-
def test_find_last_by_one_attribute_caches_dynamic_finder
|
656
|
-
# ensure this test can run independently of order
|
657
|
-
class << Topic; self; end.send(:remove_method, :find_last_by_title) if Topic.public_methods.any? { |m| m.to_s == 'find_last_by_title' }
|
658
|
-
assert !Topic.public_methods.any? { |m| m.to_s == 'find_last_by_title' }
|
659
|
-
t = Topic.find_last_by_title(Topic.last.title)
|
660
|
-
assert Topic.public_methods.any? { |m| m.to_s == 'find_last_by_title' }
|
661
|
-
end
|
662
|
-
|
663
|
-
def test_find_last_by_invalid_method_syntax
|
664
|
-
assert_raise(NoMethodError) { Topic.fail_to_find_last_by_title("The First Topic") }
|
665
|
-
assert_raise(NoMethodError) { Topic.find_last_by_title?("The First Topic") }
|
666
|
-
end
|
667
|
-
|
668
|
-
def test_find_last_by_one_attribute_with_several_options
|
669
|
-
assert_equal accounts(:signals37), Account.find_last_by_credit_limit(50, :order => 'id DESC', :conditions => ['id != ?', 3])
|
670
|
-
end
|
671
|
-
|
672
|
-
def test_find_last_by_one_missing_attribute
|
673
|
-
assert_raise(NoMethodError) { Topic.find_last_by_undertitle("The Last Topic!") }
|
674
|
-
end
|
675
|
-
|
676
|
-
def test_find_last_by_two_attributes
|
677
|
-
topic = Topic.last
|
678
|
-
assert_equal topic, Topic.find_last_by_title_and_author_name(topic.title, topic.author_name)
|
679
|
-
assert_nil Topic.find_last_by_title_and_author_name(topic.title, "Anonymous")
|
680
|
-
end
|
681
|
-
|
682
|
-
def test_find_all_by_one_attribute
|
683
|
-
topics = Topic.find_all_by_content("Have a nice day")
|
684
|
-
assert_equal 2, topics.size
|
685
|
-
assert topics.include?(topics(:first))
|
686
|
-
|
687
|
-
assert_equal [], Topic.find_all_by_title("The First Topic!!")
|
688
|
-
end
|
689
|
-
|
690
|
-
def test_find_all_by_one_attribute_that_is_an_aggregate
|
691
|
-
balance = customers(:david).balance
|
692
|
-
assert_kind_of Money, balance
|
693
|
-
found_customers = Customer.find_all_by_balance(balance)
|
694
|
-
assert_equal 1, found_customers.size
|
695
|
-
assert_equal customers(:david), found_customers.first
|
696
|
-
end
|
697
|
-
|
698
|
-
def test_find_all_by_two_attributes_that_are_both_aggregates
|
699
|
-
balance = customers(:david).balance
|
700
|
-
address = customers(:david).address
|
701
|
-
assert_kind_of Money, balance
|
702
|
-
assert_kind_of Address, address
|
703
|
-
found_customers = Customer.find_all_by_balance_and_address(balance, address)
|
704
|
-
assert_equal 1, found_customers.size
|
705
|
-
assert_equal customers(:david), found_customers.first
|
706
|
-
end
|
707
|
-
|
708
|
-
def test_find_all_by_two_attributes_with_one_being_an_aggregate
|
709
|
-
balance = customers(:david).balance
|
710
|
-
assert_kind_of Money, balance
|
711
|
-
found_customers = Customer.find_all_by_balance_and_name(balance, customers(:david).name)
|
712
|
-
assert_equal 1, found_customers.size
|
713
|
-
assert_equal customers(:david), found_customers.first
|
714
|
-
end
|
715
|
-
|
716
|
-
def test_find_all_by_one_attribute_with_options
|
717
|
-
topics = Topic.find_all_by_content("Have a nice day", :order => "id DESC")
|
718
|
-
assert topics(:first), topics.last
|
719
|
-
|
720
|
-
topics = Topic.find_all_by_content("Have a nice day", :order => "id")
|
721
|
-
assert topics(:first), topics.first
|
722
|
-
end
|
723
|
-
|
724
|
-
def test_find_all_by_array_attribute
|
725
|
-
assert_equal 2, Topic.find_all_by_title(["The First Topic", "The Second Topic of the day"]).size
|
726
|
-
end
|
727
|
-
|
728
|
-
def test_find_all_by_boolean_attribute
|
729
|
-
topics = Topic.find_all_by_approved(false)
|
730
|
-
assert_equal 1, topics.size
|
731
|
-
assert topics.include?(topics(:first))
|
732
|
-
|
733
|
-
topics = Topic.find_all_by_approved(true)
|
734
|
-
assert_equal 3, topics.size
|
735
|
-
assert topics.include?(topics(:second))
|
736
|
-
end
|
737
|
-
|
738
|
-
def test_find_by_nil_attribute
|
739
|
-
topic = Topic.find_by_last_read nil
|
740
|
-
assert_not_nil topic
|
741
|
-
assert_nil topic.last_read
|
742
|
-
end
|
743
|
-
|
744
|
-
def test_find_all_by_nil_attribute
|
745
|
-
topics = Topic.find_all_by_last_read nil
|
746
|
-
assert_equal 3, topics.size
|
747
|
-
assert topics.collect(&:last_read).all?(&:nil?)
|
748
|
-
end
|
749
|
-
|
750
|
-
def test_find_by_nil_and_not_nil_attributes
|
751
|
-
topic = Topic.find_by_last_read_and_author_name nil, "Mary"
|
752
|
-
assert_equal "Mary", topic.author_name
|
753
|
-
end
|
754
|
-
|
755
|
-
def test_find_all_by_nil_and_not_nil_attributes
|
756
|
-
topics = Topic.find_all_by_last_read_and_author_name nil, "Mary"
|
757
|
-
assert_equal 1, topics.size
|
758
|
-
assert_equal "Mary", topics[0].author_name
|
759
|
-
end
|
760
|
-
|
761
|
-
def test_find_or_create_from_one_attribute
|
762
|
-
number_of_companies = Company.count
|
763
|
-
sig38 = Company.find_or_create_by_name("38signals")
|
764
|
-
assert_equal number_of_companies + 1, Company.count
|
765
|
-
assert_equal sig38, Company.find_or_create_by_name("38signals")
|
766
|
-
assert !sig38.new_record?
|
767
|
-
end
|
768
|
-
|
769
|
-
def test_find_or_create_from_two_attributes
|
770
|
-
number_of_topics = Topic.count
|
771
|
-
another = Topic.find_or_create_by_title_and_author_name("Another topic","John")
|
772
|
-
assert_equal number_of_topics + 1, Topic.count
|
773
|
-
assert_equal another, Topic.find_or_create_by_title_and_author_name("Another topic", "John")
|
774
|
-
assert !another.new_record?
|
775
|
-
end
|
776
|
-
|
777
|
-
def test_find_or_create_from_two_attributes_with_one_being_an_aggregate
|
778
|
-
number_of_customers = Customer.count
|
779
|
-
created_customer = Customer.find_or_create_by_balance_and_name(Money.new(123), "Elizabeth")
|
780
|
-
assert_equal number_of_customers + 1, Customer.count
|
781
|
-
assert_equal created_customer, Customer.find_or_create_by_balance(Money.new(123), "Elizabeth")
|
782
|
-
assert !created_customer.new_record?
|
783
|
-
end
|
784
|
-
|
785
|
-
def test_find_or_create_from_one_attribute_and_hash
|
786
|
-
number_of_companies = Company.count
|
787
|
-
sig38 = Company.find_or_create_by_name({:name => "38signals", :firm_id => 17, :client_of => 23})
|
788
|
-
assert_equal number_of_companies + 1, Company.count
|
789
|
-
assert_equal sig38, Company.find_or_create_by_name({:name => "38signals", :firm_id => 17, :client_of => 23})
|
790
|
-
assert !sig38.new_record?
|
791
|
-
assert_equal "38signals", sig38.name
|
792
|
-
assert_equal 17, sig38.firm_id
|
793
|
-
assert_equal 23, sig38.client_of
|
794
|
-
end
|
795
|
-
|
796
|
-
def test_find_or_create_from_one_aggregate_attribute
|
797
|
-
number_of_customers = Customer.count
|
798
|
-
created_customer = Customer.find_or_create_by_balance(Money.new(123))
|
799
|
-
assert_equal number_of_customers + 1, Customer.count
|
800
|
-
assert_equal created_customer, Customer.find_or_create_by_balance(Money.new(123))
|
801
|
-
assert !created_customer.new_record?
|
802
|
-
end
|
803
|
-
|
804
|
-
def test_find_or_create_from_one_aggregate_attribute_and_hash
|
805
|
-
number_of_customers = Customer.count
|
806
|
-
balance = Money.new(123)
|
807
|
-
name = "Elizabeth"
|
808
|
-
created_customer = Customer.find_or_create_by_balance({:balance => balance, :name => name})
|
809
|
-
assert_equal number_of_customers + 1, Customer.count
|
810
|
-
assert_equal created_customer, Customer.find_or_create_by_balance({:balance => balance, :name => name})
|
811
|
-
assert !created_customer.new_record?
|
812
|
-
assert_equal balance, created_customer.balance
|
813
|
-
assert_equal name, created_customer.name
|
814
|
-
end
|
815
|
-
|
816
|
-
def test_find_or_initialize_from_one_attribute
|
817
|
-
sig38 = Company.find_or_initialize_by_name("38signals")
|
818
|
-
assert_equal "38signals", sig38.name
|
819
|
-
assert sig38.new_record?
|
820
|
-
end
|
821
|
-
|
822
|
-
def test_find_or_initialize_from_one_aggregate_attribute
|
823
|
-
new_customer = Customer.find_or_initialize_by_balance(Money.new(123))
|
824
|
-
assert_equal 123, new_customer.balance.amount
|
825
|
-
assert new_customer.new_record?
|
826
|
-
end
|
827
|
-
|
828
|
-
def test_find_or_initialize_from_one_attribute_should_not_set_attribute_even_when_protected
|
829
|
-
c = Company.find_or_initialize_by_name({:name => "Fortune 1000", :rating => 1000})
|
830
|
-
assert_equal "Fortune 1000", c.name
|
831
|
-
assert_not_equal 1000, c.rating
|
832
|
-
assert c.valid?
|
833
|
-
assert c.new_record?
|
834
|
-
end
|
835
|
-
|
836
|
-
def test_find_or_create_from_one_attribute_should_set_not_attribute_even_when_protected
|
837
|
-
c = Company.find_or_create_by_name({:name => "Fortune 1000", :rating => 1000})
|
838
|
-
assert_equal "Fortune 1000", c.name
|
839
|
-
assert_not_equal 1000, c.rating
|
840
|
-
assert c.valid?
|
841
|
-
assert !c.new_record?
|
842
|
-
end
|
843
|
-
|
844
|
-
def test_find_or_initialize_from_one_attribute_should_set_attribute_even_when_protected
|
845
|
-
c = Company.find_or_initialize_by_name_and_rating("Fortune 1000", 1000)
|
846
|
-
assert_equal "Fortune 1000", c.name
|
847
|
-
assert_equal 1000, c.rating
|
848
|
-
assert c.valid?
|
849
|
-
assert c.new_record?
|
850
|
-
end
|
851
|
-
|
852
|
-
def test_find_or_create_from_one_attribute_should_set_attribute_even_when_protected
|
853
|
-
c = Company.find_or_create_by_name_and_rating("Fortune 1000", 1000)
|
854
|
-
assert_equal "Fortune 1000", c.name
|
855
|
-
assert_equal 1000, c.rating
|
856
|
-
assert c.valid?
|
857
|
-
assert !c.new_record?
|
858
|
-
end
|
859
|
-
|
860
|
-
def test_find_or_initialize_should_set_protected_attributes_if_given_as_block
|
861
|
-
c = Company.find_or_initialize_by_name(:name => "Fortune 1000") { |f| f.rating = 1000 }
|
862
|
-
assert_equal "Fortune 1000", c.name
|
863
|
-
assert_equal 1000.to_f, c.rating.to_f
|
864
|
-
assert c.valid?
|
865
|
-
assert c.new_record?
|
866
|
-
end
|
867
|
-
|
868
|
-
def test_find_or_create_should_set_protected_attributes_if_given_as_block
|
869
|
-
c = Company.find_or_create_by_name(:name => "Fortune 1000") { |f| f.rating = 1000 }
|
870
|
-
assert_equal "Fortune 1000", c.name
|
871
|
-
assert_equal 1000.to_f, c.rating.to_f
|
872
|
-
assert c.valid?
|
873
|
-
assert !c.new_record?
|
874
|
-
end
|
875
|
-
|
876
|
-
def test_find_or_create_should_work_with_block_on_first_call
|
877
|
-
class << Company
|
878
|
-
undef_method(:find_or_create_by_name) if method_defined?(:find_or_create_by_name)
|
879
|
-
end
|
880
|
-
c = Company.find_or_create_by_name(:name => "Fortune 1000") { |f| f.rating = 1000 }
|
881
|
-
assert_equal "Fortune 1000", c.name
|
882
|
-
assert_equal 1000.to_f, c.rating.to_f
|
883
|
-
assert c.valid?
|
884
|
-
assert !c.new_record?
|
885
|
-
end
|
886
|
-
|
887
|
-
def test_dynamic_find_or_initialize_from_one_attribute_caches_method
|
888
|
-
class << Company; self; end.send(:remove_method, :find_or_initialize_by_name) if Company.public_methods.any? { |m| m.to_s == 'find_or_initialize_by_name' }
|
889
|
-
assert !Company.public_methods.any? { |m| m.to_s == 'find_or_initialize_by_name' }
|
890
|
-
sig38 = Company.find_or_initialize_by_name("38signals")
|
891
|
-
assert Company.public_methods.any? { |m| m.to_s == 'find_or_initialize_by_name' }
|
892
|
-
end
|
893
|
-
|
894
|
-
def test_find_or_initialize_from_two_attributes
|
895
|
-
another = Topic.find_or_initialize_by_title_and_author_name("Another topic","John")
|
896
|
-
assert_equal "Another topic", another.title
|
897
|
-
assert_equal "John", another.author_name
|
898
|
-
assert another.new_record?
|
899
|
-
end
|
900
|
-
|
901
|
-
def test_find_or_initialize_from_one_aggregate_attribute_and_one_not
|
902
|
-
new_customer = Customer.find_or_initialize_by_balance_and_name(Money.new(123), "Elizabeth")
|
903
|
-
assert_equal 123, new_customer.balance.amount
|
904
|
-
assert_equal "Elizabeth", new_customer.name
|
905
|
-
assert new_customer.new_record?
|
906
|
-
end
|
907
|
-
|
908
|
-
def test_find_or_initialize_from_one_attribute_and_hash
|
909
|
-
sig38 = Company.find_or_initialize_by_name({:name => "38signals", :firm_id => 17, :client_of => 23})
|
910
|
-
assert_equal "38signals", sig38.name
|
911
|
-
assert_equal 17, sig38.firm_id
|
912
|
-
assert_equal 23, sig38.client_of
|
913
|
-
assert sig38.new_record?
|
914
|
-
end
|
915
|
-
|
916
|
-
def test_find_or_initialize_from_one_aggregate_attribute_and_hash
|
917
|
-
balance = Money.new(123)
|
918
|
-
name = "Elizabeth"
|
919
|
-
new_customer = Customer.find_or_initialize_by_balance({:balance => balance, :name => name})
|
920
|
-
assert_equal balance, new_customer.balance
|
921
|
-
assert_equal name, new_customer.name
|
922
|
-
assert new_customer.new_record?
|
923
|
-
end
|
924
|
-
|
925
|
-
def test_find_with_bad_sql
|
926
|
-
assert_raise(ActiveRecord::StatementInvalid) { Topic.find_by_sql "select 1 from badtable" }
|
927
|
-
end
|
928
|
-
|
929
|
-
def test_find_with_invalid_params
|
930
|
-
assert_raise(ArgumentError) { Topic.find :first, :join => "It should be `joins'" }
|
931
|
-
assert_raise(ArgumentError) { Topic.find :first, :conditions => '1 = 1', :join => "It should be `joins'" }
|
932
|
-
end
|
933
|
-
|
934
|
-
def test_dynamic_finder_with_invalid_params
|
935
|
-
assert_raise(ArgumentError) { Topic.find_by_title 'No Title', :join => "It should be `joins'" }
|
936
|
-
end
|
937
|
-
|
938
|
-
def test_find_all_with_limit
|
939
|
-
first_five_developers = Developer.find :all, :order => 'id ASC', :limit => 5
|
940
|
-
assert_equal 5, first_five_developers.length
|
941
|
-
assert_equal 'David', first_five_developers.first.name
|
942
|
-
assert_equal 'fixture_5', first_five_developers.last.name
|
943
|
-
|
944
|
-
no_developers = Developer.find :all, :order => 'id ASC', :limit => 0
|
945
|
-
assert_equal 0, no_developers.length
|
946
|
-
end
|
947
|
-
|
948
|
-
def test_find_all_with_limit_and_offset
|
949
|
-
first_three_developers = Developer.find :all, :order => 'id ASC', :limit => 3, :offset => 0
|
950
|
-
second_three_developers = Developer.find :all, :order => 'id ASC', :limit => 3, :offset => 3
|
951
|
-
last_two_developers = Developer.find :all, :order => 'id ASC', :limit => 2, :offset => 8
|
952
|
-
|
953
|
-
assert_equal 3, first_three_developers.length
|
954
|
-
assert_equal 3, second_three_developers.length
|
955
|
-
assert_equal 2, last_two_developers.length
|
956
|
-
|
957
|
-
assert_equal 'David', first_three_developers.first.name
|
958
|
-
assert_equal 'fixture_4', second_three_developers.first.name
|
959
|
-
assert_equal 'fixture_9', last_two_developers.first.name
|
960
|
-
end
|
961
|
-
|
962
|
-
def test_find_all_with_limit_and_offset_and_multiple_order_clauses
|
963
|
-
first_three_posts = Post.find :all, :order => 'author_id, id', :limit => 3, :offset => 0
|
964
|
-
second_three_posts = Post.find :all, :order => ' author_id,id ', :limit => 3, :offset => 3
|
965
|
-
last_posts = Post.find :all, :order => ' author_id, id ', :limit => 3, :offset => 6
|
966
|
-
|
967
|
-
assert_equal [[0,3],[1,1],[1,2]], first_three_posts.map { |p| [p.author_id, p.id] }
|
968
|
-
assert_equal [[1,4],[1,5],[1,6]], second_three_posts.map { |p| [p.author_id, p.id] }
|
969
|
-
assert_equal [[2,7]], last_posts.map { |p| [p.author_id, p.id] }
|
970
|
-
end
|
971
|
-
|
972
|
-
def test_find_all_with_join
|
973
|
-
developers_on_project_one = Developer.find(
|
974
|
-
:all,
|
975
|
-
:joins => 'LEFT JOIN developers_projects ON developers.id = developers_projects.developer_id',
|
976
|
-
:conditions => 'project_id=1'
|
977
|
-
)
|
978
|
-
assert_equal 3, developers_on_project_one.length
|
979
|
-
developer_names = developers_on_project_one.map { |d| d.name }
|
980
|
-
assert developer_names.include?('David')
|
981
|
-
assert developer_names.include?('Jamis')
|
982
|
-
end
|
983
|
-
|
984
|
-
def test_joins_dont_clobber_id
|
985
|
-
first = Firm.find(
|
986
|
-
:first,
|
987
|
-
:joins => 'INNER JOIN companies AS clients ON clients.firm_id = companies.id',
|
988
|
-
:conditions => 'companies.id = 1'
|
989
|
-
)
|
990
|
-
assert_equal 1, first.id
|
991
|
-
end
|
992
|
-
|
993
|
-
def test_joins_with_string_array
|
994
|
-
person_with_reader_and_post = Post.find(
|
995
|
-
:all,
|
996
|
-
:joins => [
|
997
|
-
"INNER JOIN categorizations ON categorizations.post_id = posts.id",
|
998
|
-
"INNER JOIN categories ON categories.id = categorizations.category_id AND categories.type = 'SpecialCategory'"
|
999
|
-
]
|
1000
|
-
)
|
1001
|
-
assert_equal 1, person_with_reader_and_post.size
|
1002
|
-
end
|
1003
|
-
|
1004
|
-
def test_find_by_id_with_conditions_with_or
|
1005
|
-
assert_nothing_raised do
|
1006
|
-
Post.find([1,2,3],
|
1007
|
-
:conditions => "posts.id <= 3 OR posts.#{QUOTED_TYPE} = 'Post'")
|
1008
|
-
end
|
1009
|
-
end
|
1010
|
-
|
1011
|
-
# http://dev.rubyonrails.org/ticket/6778
|
1012
|
-
def test_find_ignores_previously_inserted_record
|
1013
|
-
post = Post.create!(:title => 'test', :body => 'it out')
|
1014
|
-
assert_equal [], Post.find_all_by_id(nil)
|
1015
|
-
end
|
1016
|
-
|
1017
|
-
def test_find_by_empty_ids
|
1018
|
-
assert_equal [], Post.find([])
|
1019
|
-
end
|
1020
|
-
|
1021
|
-
def test_find_by_empty_in_condition
|
1022
|
-
assert_equal [], Post.find(:all, :conditions => ['id in (?)', []])
|
1023
|
-
end
|
1024
|
-
|
1025
|
-
def test_find_by_records
|
1026
|
-
p1, p2 = Post.find(:all, :limit => 2, :order => 'id asc')
|
1027
|
-
assert_equal [p1, p2], Post.find(:all, :conditions => ['id in (?)', [p1, p2]], :order => 'id asc')
|
1028
|
-
assert_equal [p1, p2], Post.find(:all, :conditions => ['id in (?)', [p1, p2.id]], :order => 'id asc')
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
def test_select_value
|
1032
|
-
assert_equal "37signals", Company.connection.select_value("SELECT name FROM companies WHERE id = 1")
|
1033
|
-
assert_nil Company.connection.select_value("SELECT name FROM companies WHERE id = -1")
|
1034
|
-
# make sure we didn't break count...
|
1035
|
-
assert_equal 0, Company.count_by_sql("SELECT COUNT(*) FROM companies WHERE name = 'Halliburton'")
|
1036
|
-
assert_equal 1, Company.count_by_sql("SELECT COUNT(*) FROM companies WHERE name = '37signals'")
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
def test_select_values
|
1040
|
-
assert_equal ["1","2","3","4","5","6","7","8","9"], Company.connection.select_values("SELECT id FROM companies ORDER BY id").map! { |i| i.to_s }
|
1041
|
-
assert_equal ["37signals","Summit","Microsoft", "Flamboyant Software", "Ex Nihilo", "RailsCore", "Leetsoft", "Jadedpixel", "Odegy"], Company.connection.select_values("SELECT name FROM companies ORDER BY id")
|
1042
|
-
end
|
1043
|
-
|
1044
|
-
def test_select_rows
|
1045
|
-
assert_equal(
|
1046
|
-
[["1", nil, nil, "37signals"],
|
1047
|
-
["2", "1", "2", "Summit"],
|
1048
|
-
["3", "1", "1", "Microsoft"]],
|
1049
|
-
Company.connection.select_rows("SELECT id, firm_id, client_of, name FROM companies WHERE id IN (1,2,3) ORDER BY id").map! {|i| i.map! {|j| j.to_s unless j.nil?}})
|
1050
|
-
assert_equal [["1", "37signals"], ["2", "Summit"], ["3", "Microsoft"]],
|
1051
|
-
Company.connection.select_rows("SELECT id, name FROM companies WHERE id IN (1,2,3) ORDER BY id").map! {|i| i.map! {|j| j.to_s unless j.nil?}}
|
1052
|
-
end
|
1053
|
-
|
1054
|
-
def test_find_with_order_on_included_associations_with_construct_finder_sql_for_association_limiting_and_is_distinct
|
1055
|
-
assert_equal 2, Post.find(:all, :include => { :authors => :author_address }, :order => ' author_addresses.id DESC ', :limit => 2).size
|
1056
|
-
|
1057
|
-
assert_equal 3, Post.find(:all, :include => { :author => :author_address, :authors => :author_address},
|
1058
|
-
:order => ' author_addresses_authors.id DESC ', :limit => 3).size
|
1059
|
-
end
|
1060
|
-
|
1061
|
-
def test_with_limiting_with_custom_select
|
1062
|
-
posts = Post.find(:all, :include => :author, :select => ' posts.*, authors.id as "author_id"', :limit => 3, :order => 'posts.id')
|
1063
|
-
assert_equal 3, posts.size
|
1064
|
-
assert_equal [0, 1, 1], posts.map(&:author_id).sort
|
1065
|
-
end
|
1066
|
-
|
1067
|
-
def test_finder_with_scoped_from
|
1068
|
-
all_topics = Topic.all
|
1069
|
-
|
1070
|
-
Topic.with_scope(:find => { :from => 'fake_topics' }) do
|
1071
|
-
assert_equal all_topics, Topic.all(:from => 'topics')
|
1072
|
-
end
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
protected
|
1076
|
-
def bind(statement, *vars)
|
1077
|
-
if vars.first.is_a?(Hash)
|
1078
|
-
ActiveRecord::Base.send(:replace_named_bind_variables, statement, vars.first)
|
1079
|
-
else
|
1080
|
-
ActiveRecord::Base.send(:replace_bind_variables, statement, vars)
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
end
|