backbone-queryparams-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +4 -8
- data/lib/backbone/query_params/rails/version.rb +1 -1
- metadata +24 -2411
- data/vendor/bundle/bin/erubis +0 -23
- data/vendor/bundle/bin/rackup +0 -23
- data/vendor/bundle/bin/rails +0 -23
- data/vendor/bundle/bin/rake +0 -23
- data/vendor/bundle/bin/rake2thor +0 -23
- data/vendor/bundle/bin/rdoc +0 -23
- data/vendor/bundle/bin/ri +0 -23
- data/vendor/bundle/bin/sprockets +0 -23
- data/vendor/bundle/bin/thor +0 -23
- data/vendor/bundle/bin/tilt +0 -23
- data/vendor/bundle/cache/actionpack-3.2.11.gem +0 -0
- data/vendor/bundle/cache/activemodel-3.2.11.gem +0 -0
- data/vendor/bundle/cache/activesupport-3.2.11.gem +0 -0
- data/vendor/bundle/cache/builder-3.0.4.gem +0 -0
- data/vendor/bundle/cache/erubis-2.7.0.gem +0 -0
- data/vendor/bundle/cache/hike-1.2.1.gem +0 -0
- data/vendor/bundle/cache/i18n-0.6.1.gem +0 -0
- data/vendor/bundle/cache/journey-1.0.4.gem +0 -0
- data/vendor/bundle/cache/json-1.7.6.gem +0 -0
- data/vendor/bundle/cache/multi_json-1.5.0.gem +0 -0
- data/vendor/bundle/cache/rack-1.4.4.gem +0 -0
- data/vendor/bundle/cache/rack-cache-1.2.gem +0 -0
- data/vendor/bundle/cache/rack-ssl-1.3.2.gem +0 -0
- data/vendor/bundle/cache/rack-test-0.6.2.gem +0 -0
- data/vendor/bundle/cache/railties-3.2.11.gem +0 -0
- data/vendor/bundle/cache/rake-10.0.3.gem +0 -0
- data/vendor/bundle/cache/rdoc-3.12.gem +0 -0
- data/vendor/bundle/cache/sprockets-2.2.2.gem +0 -0
- data/vendor/bundle/cache/thor-0.16.0.gem +0 -0
- data/vendor/bundle/cache/tilt-1.3.3.gem +0 -0
- data/vendor/bundle/gems/actionpack-3.2.11/CHANGELOG.md +0 -447
- data/vendor/bundle/gems/actionpack-3.2.11/MIT-LICENSE +0 -21
- data/vendor/bundle/gems/actionpack-3.2.11/README.rdoc +0 -341
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller.rb +0 -28
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/asset_paths.rb +0 -10
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/base.rb +0 -213
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/callbacks.rb +0 -198
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/collector.rb +0 -32
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/helpers.rb +0 -167
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/layouts.rb +0 -423
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/logger.rb +0 -13
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/railties/routes_helpers.rb +0 -18
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/rendering.rb +0 -179
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/translation.rb +0 -13
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/url_for.rb +0 -33
- data/vendor/bundle/gems/actionpack-3.2.11/lib/abstract_controller/view_paths.rb +0 -96
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller.rb +0 -65
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/base.rb +0 -235
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching.rb +0 -86
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/actions.rb +0 -185
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/fragments.rb +0 -127
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/pages.rb +0 -187
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/caching/sweeping.rb +0 -97
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated.rb +0 -3
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated/integration_test.rb +0 -2
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/deprecated/performance_test.rb +0 -1
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/log_subscriber.rb +0 -67
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal.rb +0 -250
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/compatibility.rb +0 -64
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/conditional_get.rb +0 -131
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/cookies.rb +0 -16
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/data_streaming.rb +0 -177
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/exceptions.rb +0 -46
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/flash.rb +0 -28
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/force_ssl.rb +0 -39
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/head.rb +0 -35
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/helpers.rb +0 -113
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/hide_actions.rb +0 -47
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/http_authentication.rb +0 -466
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/implicit_render.rb +0 -19
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/instrumentation.rb +0 -105
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/mime_responds.rb +0 -317
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/params_wrapper.rb +0 -240
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rack_delegation.rb +0 -26
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/redirecting.rb +0 -109
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/renderers.rb +0 -109
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rendering.rb +0 -65
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/request_forgery_protection.rb +0 -113
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/rescue.rb +0 -35
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/responder.rb +0 -286
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/session_management.rb +0 -14
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/streaming.rb +0 -229
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/testing.rb +0 -37
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/metal/url_for.rb +0 -47
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/middleware.rb +0 -39
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/railtie.rb +0 -51
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/railties/paths.rb +0 -25
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/record_identifier.rb +0 -85
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/test_case.rb +0 -558
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner.rb +0 -20
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/document.rb +0 -68
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/node.rb +0 -532
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +0 -177
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -830
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -107
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch.rb +0 -102
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/cache.rb +0 -123
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/filter_parameters.rb +0 -70
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/headers.rb +0 -31
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_negotiation.rb +0 -110
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_type.rb +0 -276
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/mime_types.rb +0 -35
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/parameter_filter.rb +0 -74
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/parameters.rb +0 -83
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/rack_cache.rb +0 -62
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/request.rb +0 -279
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/response.rb +0 -206
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/upload.rb +0 -47
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/http/url.rb +0 -174
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/best_standards_support.rb +0 -22
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/body_proxy.rb +0 -30
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb +0 -32
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/cookies.rb +0 -353
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb +0 -82
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/exception_wrapper.rb +0 -82
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/flash.rb +0 -263
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/head.rb +0 -18
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/params_parser.rb +0 -75
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/public_exceptions.rb +0 -30
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/reloader.rb +0 -89
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/remote_ip.rb +0 -81
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/request_id.rb +0 -39
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/rescue.rb +0 -26
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/abstract_store.rb +0 -88
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/cache_store.rb +0 -49
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/cookie_store.rb +0 -71
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/session/mem_cache_store.rb +0 -17
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/show_exceptions.rb +0 -87
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/stack.rb +0 -124
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/static.rb +0 -65
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb +0 -31
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb +0 -26
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb +0 -10
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/layout.erb +0 -32
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/missing_template.erb +0 -2
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb +0 -15
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb +0 -17
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb +0 -2
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/railtie.rb +0 -34
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing.rb +0 -293
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/mapper.rb +0 -1509
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/polymorphic_routes.rb +0 -209
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/redirection.rb +0 -131
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb +0 -659
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/routes_proxy.rb +0 -39
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/routing/url_for.rb +0 -167
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions.rb +0 -18
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/dom.rb +0 -37
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/response.rb +0 -96
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/routing.rb +0 -217
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/selector.rb +0 -435
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/assertions/tag.rb +0 -138
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/integration.rb +0 -498
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/performance_test.rb +0 -10
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_process.rb +0 -41
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_request.rb +0 -74
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_dispatch/testing/test_response.rb +0 -29
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_pack.rb +0 -24
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_pack/version.rb +0 -10
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view.rb +0 -84
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/asset_paths.rb +0 -142
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/base.rb +0 -220
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/buffers.rb +0 -43
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/context.rb +0 -36
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/flows.rb +0 -79
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers.rb +0 -60
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/active_model_helper.rb +0 -50
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_paths.rb +0 -7
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helper.rb +0 -457
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/asset_include_tag.rb +0 -146
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb +0 -93
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +0 -193
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/asset_tag_helpers/stylesheet_tag_helpers.rb +0 -148
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/atom_feed_helper.rb +0 -200
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/cache_helper.rb +0 -64
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/capture_helper.rb +0 -203
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/controller_helper.rb +0 -25
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/csrf_helper.rb +0 -32
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/date_helper.rb +0 -1057
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/debug_helper.rb +0 -40
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_helper.rb +0 -1487
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_options_helper.rb +0 -658
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/form_tag_helper.rb +0 -685
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/javascript_helper.rb +0 -110
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/number_helper.rb +0 -608
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/output_safety_helper.rb +0 -38
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/record_tag_helper.rb +0 -109
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/rendering_helper.rb +0 -90
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/sanitize_helper.rb +0 -259
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/tag_helper.rb +0 -160
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/text_helper.rb +0 -426
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/translation_helper.rb +0 -88
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/helpers/url_helper.rb +0 -693
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/locale/en.yml +0 -160
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/log_subscriber.rb +0 -28
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/lookup_context.rb +0 -241
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/path_set.rb +0 -89
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/railtie.rb +0 -55
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/abstract_renderer.rb +0 -41
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/partial_renderer.rb +0 -415
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/renderer.rb +0 -54
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/streaming_template_renderer.rb +0 -106
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/renderer/template_renderer.rb +0 -94
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template.rb +0 -337
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/error.rb +0 -128
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers.rb +0 -50
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers/builder.rb +0 -26
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/handlers/erb.rb +0 -109
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/resolver.rb +0 -258
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/template/text.rb +0 -30
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/test_case.rb +0 -245
- data/vendor/bundle/gems/actionpack-3.2.11/lib/action_view/testing/resolvers.rb +0 -50
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/assets.rake +0 -99
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/bootstrap.rb +0 -37
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/compressors.rb +0 -83
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers.rb +0 -6
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers/isolated_helper.rb +0 -13
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/helpers/rails_helper.rb +0 -175
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/railtie.rb +0 -62
- data/vendor/bundle/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb +0 -56
- data/vendor/bundle/gems/activemodel-3.2.11/CHANGELOG.md +0 -62
- data/vendor/bundle/gems/activemodel-3.2.11/MIT-LICENSE +0 -21
- data/vendor/bundle/gems/activemodel-3.2.11/README.rdoc +0 -211
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model.rb +0 -61
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/attribute_methods.rb +0 -452
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/callbacks.rb +0 -134
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/conversion.rb +0 -73
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/dirty.rb +0 -167
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/errors.rb +0 -370
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/lint.rb +0 -123
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/locale/en.yml +0 -27
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security.rb +0 -237
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security/permission_set.rb +0 -40
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/mass_assignment_security/sanitizer.rb +0 -59
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/naming.rb +0 -171
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/observer_array.rb +0 -147
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/observing.rb +0 -252
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/railtie.rb +0 -2
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/secure_password.rb +0 -74
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serialization.rb +0 -139
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serializers/json.rb +0 -108
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/serializers/xml.rb +0 -199
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/test_case.rb +0 -16
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/translation.rb +0 -70
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations.rb +0 -237
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/acceptance.rb +0 -67
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/callbacks.rb +0 -57
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/confirmation.rb +0 -67
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/exclusion.rb +0 -79
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/format.rb +0 -105
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/inclusion.rb +0 -79
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/length.rb +0 -127
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/numericality.rb +0 -138
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/presence.rb +0 -49
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/validates.rb +0 -137
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validations/with.rb +0 -142
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/validator.rb +0 -184
- data/vendor/bundle/gems/activemodel-3.2.11/lib/active_model/version.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/CHANGELOG.md +0 -157
- data/vendor/bundle/gems/activesupport-3.2.11/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/activesupport-3.2.11/README.rdoc +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support.rb +0 -82
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/all.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/backtrace_cleaner.rb +0 -99
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/base64.rb +0 -54
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/basic_object.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/benchmarkable.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/buffered_logger.rb +0 -125
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/builder.rb +0 -6
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache.rb +0 -638
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/file_store.rb +0 -178
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/mem_cache_store.rb +0 -206
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/memory_store.rb +0 -159
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/null_store.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb +0 -169
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/callbacks.rb +0 -626
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/concern.rb +0 -131
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/configurable.rb +0 -90
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/access.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/conversions.rb +0 -164
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/extract_options.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/grouping.rb +0 -100
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/prepend_and_append.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/random_access.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/uniq_by.rb +0 -16
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/array/wrap.rb +0 -48
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/benchmark.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/big_decimal/conversions.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/attribute_accessors.rb +0 -168
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/class/subclasses.rb +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/calculations.rb +0 -276
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/conversions.rb +0 -106
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/freeze.rb +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date/zones.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/calculations.rb +0 -143
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/conversions.rb +0 -103
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/date_time/zones.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/enumerable.rb +0 -127
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/exception.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/atomic.rb +0 -42
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/file/path.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/float/rounding.rb +0 -19
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/conversions.rb +0 -175
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_dup.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/deep_merge.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/diff.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/except.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/indifferent_access.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/keys.rb +0 -54
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/reverse_merge.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/hash/slice.rb +0 -40
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/inflections.rb +0 -17
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/multiple.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/integer/time.rb +0 -39
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/io.rb +0 -15
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/debugger.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/reporting.rb +0 -93
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/load_error.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/logger.rb +0 -83
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module.rb +0 -12
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/aliasing.rb +0 -70
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/anonymous.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attr_internal.rb +0 -39
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/attribute_accessors.rb +0 -64
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/delegation.rb +0 -153
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/deprecation.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/introspection.rb +0 -88
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/method_names.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/qualified_const.rb +0 -64
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/reachable.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/remove_method.rb +0 -16
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/module/synchronization.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/name_error.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/numeric/time.rb +0 -79
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/acts_like.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/blank.rb +0 -121
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/conversions.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/duplicable.rb +0 -119
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/inclusion.rb +0 -25
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/instance_variables.rb +0 -33
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_json.rb +0 -19
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_param.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/to_query.rb +0 -27
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/try.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/object/with_options.rb +0 -43
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/proc.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process.rb +0 -1
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/process/daemon.rb +0 -23
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/blockless_step.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/conversions.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/cover.rb +0 -3
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/include_range.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/range/overlaps.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/regexp.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/rexml.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string.rb +0 -14
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/access.rb +0 -99
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/behavior.rb +0 -6
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/conversions.rb +0 -66
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/encoding.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/exclude.rb +0 -11
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/filters.rb +0 -49
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inflections.rb +0 -202
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/inquiry.rb +0 -13
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/interpolation.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/multibyte.rb +0 -72
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/output_safety.rb +0 -186
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/strip.rb +0 -26
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/string/xchar.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/acts_like.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/calculations.rb +0 -360
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/conversions.rb +0 -85
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/marshal.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/time/zones.rb +0 -86
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/core_ext/uri.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies.rb +0 -703
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/dependencies/autoload.rb +0 -50
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation.rb +0 -18
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/behaviors.rb +0 -49
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/method_wrappers.rb +0 -29
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/proxy_wrappers.rb +0 -81
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/deprecation/reporting.rb +0 -65
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/descendants_tracker.rb +0 -45
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/duration.rb +0 -110
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_update_checker.rb +0 -121
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/file_watcher.rb +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/gzip.rb +0 -30
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/hash_with_indifferent_access.rb +0 -178
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/i18n_railtie.rb +0 -102
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflections.rb +0 -63
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/inflections.rb +0 -174
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/methods.rb +0 -321
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/inflector/transliterate.rb +0 -98
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json.rb +0 -2
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/decoding.rb +0 -79
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/encoding.rb +0 -284
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/json/variable.rb +0 -9
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/lazy_load_hooks.rb +0 -46
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/locale/en.yml +0 -36
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber.rb +0 -122
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/log_subscriber/test_helper.rb +0 -101
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/memoizable.rb +0 -116
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_encryptor.rb +0 -103
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/message_verifier.rb +0 -74
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte.rb +0 -44
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/chars.rb +0 -476
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/exceptions.rb +0 -8
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/unicode.rb +0 -393
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/multibyte/utils.rb +0 -60
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications.rb +0 -154
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/fanout.rb +0 -61
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb +0 -53
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/option_merger.rb +0 -25
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_hash.rb +0 -222
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ordered_options.rb +0 -61
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/railtie.rb +0 -59
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/rescuable.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/ruby/shim.rb +0 -22
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/string_inquirer.rb +0 -21
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb +0 -80
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/test_case.rb +0 -34
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/assertions.rb +0 -97
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/declarative.rb +0 -40
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/deprecation.rb +0 -55
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/isolation.rb +0 -157
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/mochaing.rb +0 -7
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/pending.rb +0 -52
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance.rb +0 -317
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/jruby.rb +0 -115
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/rubinius.rb +0 -113
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby.rb +0 -152
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/mri.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/performance/ruby/yarv.rb +0 -57
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/testing/setup_and_teardown.rb +0 -118
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time.rb +0 -35
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time/autoload.rb +0 -5
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/time_with_zone.rb +0 -358
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/time_zone.rb +0 -397
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/values/unicode_tables.dat +0 -0
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/version.rb +0 -10
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/whiny_nil.rb +0 -24
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini.rb +0 -168
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/jdom.rb +0 -175
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxml.rb +0 -80
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/libxmlsax.rb +0 -86
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogiri.rb +0 -84
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/nokogirisax.rb +0 -88
- data/vendor/bundle/gems/activesupport-3.2.11/lib/active_support/xml_mini/rexml.rb +0 -130
- data/vendor/bundle/gems/builder-3.0.4/CHANGES +0 -101
- data/vendor/bundle/gems/builder-3.0.4/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/builder-3.0.4/README.rdoc +0 -225
- data/vendor/bundle/gems/builder-3.0.4/Rakefile +0 -189
- data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-1.2.4.rdoc +0 -31
- data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.0.0.rdoc +0 -46
- data/vendor/bundle/gems/builder-3.0.4/doc/releases/builder-2.1.1.rdoc +0 -58
- data/vendor/bundle/gems/builder-3.0.4/lib/blankslate.rb +0 -137
- data/vendor/bundle/gems/builder-3.0.4/lib/builder.rb +0 -13
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/blankslate.rb +0 -23
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/version.rb +0 -8
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/xchar.rb +0 -197
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlbase.rb +0 -192
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlevents.rb +0 -63
- data/vendor/bundle/gems/builder-3.0.4/lib/builder/xmlmarkup.rb +0 -334
- data/vendor/bundle/gems/builder-3.0.4/test/performance.rb +0 -40
- data/vendor/bundle/gems/builder-3.0.4/test/preload.rb +0 -39
- data/vendor/bundle/gems/builder-3.0.4/test/test_blankslate.rb +0 -217
- data/vendor/bundle/gems/builder-3.0.4/test/test_eventbuilder.rb +0 -150
- data/vendor/bundle/gems/builder-3.0.4/test/test_markupbuilder.rb +0 -578
- data/vendor/bundle/gems/builder-3.0.4/test/test_method_caching.rb +0 -62
- data/vendor/bundle/gems/builder-3.0.4/test/test_namecollision.rb +0 -39
- data/vendor/bundle/gems/builder-3.0.4/test/test_xchar.rb +0 -77
- data/vendor/bundle/gems/erubis-2.7.0/CHANGES.txt +0 -828
- data/vendor/bundle/gems/erubis-2.7.0/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/README.txt +0 -102
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/Makefile +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench.rb +0 -313
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/bench_context.yaml +0 -141
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_footer.html +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/_header.html +0 -52
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erb.rhtml +0 -29
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_erubis.rhtml +0 -29
- data/vendor/bundle/gems/erubis-2.7.0/benchmark/templates/bench_eruby.rhtml +0 -29
- data/vendor/bundle/gems/erubis-2.7.0/bin/erubis +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis +0 -3468
- data/vendor/bundle/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -132
- data/vendor/bundle/gems/erubis-2.7.0/contrib/inline-require +0 -179
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView.html +0 -105
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ActionView/TemplateHandlers/ErubisHandler.html +0 -209
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/ERB.html +0 -101
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis.html +0 -362
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEnhancer.html +0 -175
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayBufferEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEnhancer.html +0 -174
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ArrayEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic.html +0 -112
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Converter.html +0 -327
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Basic/Engine.html +0 -130
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEnhancer.html +0 -215
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/BiPatternEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CGenerator.html +0 -386
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CommandOptionError.html +0 -113
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Context.html +0 -344
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Converter.html +0 -283
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/CppGenerator.html +0 -382
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEnhancer.html +0 -150
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/DeleteIndentEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ec.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ecpp.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejava.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ejavascript.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Engine.html +0 -305
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eperl.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Ephp.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEnhancer.html +0 -175
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErboutEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/ErubisError.html +0 -117
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Eruby.html +0 -132
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapeEnhancer.html +0 -165
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEc.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEcpp.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjava.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEjavascript.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEperl.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEphp.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEruby.html +0 -127
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/EscapedEscheme.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Escheme.html +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Evaluator.html +0 -212
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/FastEruby.html +0 -131
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Generator.html +0 -416
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEnhancer.html +0 -267
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/HeaderFooterEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers.html +0 -116
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsFormHelper.html +0 -787
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper.html +0 -349
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Helpers/RailsHelper/TemplateConverter.html +0 -213
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEnhancer.html +0 -305
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/InterpolationEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavaGenerator.html +0 -359
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/JavascriptGenerator.html +0 -386
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/Main.html +0 -341
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEnhancer.html +0 -249
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoCodeEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEnhancer.html +0 -159
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NoTextEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/NotSupportedError.html +0 -119
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedEruby.html +0 -163
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedGenerator.html +0 -439
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/OptimizedXmlEruby.html +0 -163
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI.html +0 -125
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Converter.html +0 -266
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ec.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ecpp.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejava.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ejavascript.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Engine.html +0 -122
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eperl.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Ephp.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Eruby.html +0 -155
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/Escheme.html +0 -166
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PI/TinyEruby.html +0 -293
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEnhancer.html +0 -163
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PercentLineEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PerlGenerator.html +0 -344
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PhpGenerator.html +0 -350
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEnhancer.html +0 -210
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrefixedLineEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingEruby.html +0 -183
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PreprocessingHelper.html +0 -212
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEnhancer.html +0 -212
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintEnabledEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEnhancer.html +0 -244
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/PrintOutSimplifiedEruby.html +0 -121
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyEvaluator.html +0 -227
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/RubyGenerator.html +0 -328
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SchemeGenerator.html +0 -382
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifiedEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/SimplifyEnhancer.html +0 -191
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEnhancer.html +0 -173
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StdoutSimplifiedEruby.html +0 -121
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEnhancer.html +0 -174
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringBufferEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/StringIOEruby.html +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/TinyEruby.html +0 -298
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlEruby.html +0 -130
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Erubis/XmlHelper.html +0 -255
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/classes/Kernel.html +0 -155
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/created.rid +0 -1
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/README_txt.html +0 -247
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/context_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/converter_rb.html +0 -114
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ec_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ecpp_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejava_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ejavascript_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/enhanced_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eperl_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/ephp_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/eruby_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/escheme_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine/optimized_rb.html +0 -114
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/engine_rb.html +0 -117
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/enhancer_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/error_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/evaluator_rb.html +0 -115
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/generator_rb.html +0 -114
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helper_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_form_helper_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/helpers/rails_helper_rb.html +0 -116
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/local-setting_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/main_rb.html +0 -129
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/preprocessing_rb.html +0 -114
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/tiny_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis/util_rb.html +0 -107
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/files/erubis_rb.html +0 -118
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_class_index.html +0 -129
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_file_index.html +0 -53
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/fr_method_index.html +0 -265
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/index.html +0 -24
- data/vendor/bundle/gems/erubis-2.7.0/doc-api/rdoc-style.css +0 -208
- data/vendor/bundle/gems/erubis-2.7.0/doc/docstyle.css +0 -209
- data/vendor/bundle/gems/erubis-2.7.0/doc/users-guide.html +0 -3551
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/Makefile +0 -58
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ec +0 -42
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ecpp +0 -33
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejava +0 -45
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ejs +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eperl +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.ephp +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.eruby +0 -15
- data/vendor/bundle/gems/erubis-2.7.0/examples/basic/example.escheme +0 -26
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/Makefile +0 -54
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ec +0 -42
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejava +0 -45
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ejs +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eperl +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.ephp +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.eruby +0 -15
- data/vendor/bundle/gems/erubis-2.7.0/examples/pi/example.escheme +0 -26
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis.rb +0 -73
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/context.rb +0 -83
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -357
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -120
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -117
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -113
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -110
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -119
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -126
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -95
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -99
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -125
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -114
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -127
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -723
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/error.rb +0 -23
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -88
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -85
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -47
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -197
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -353
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/main.rb +0 -516
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -58
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -144
- data/vendor/bundle/gems/erubis-2.7.0/lib/erubis/util.rb +0 -22
- data/vendor/bundle/gems/erubis-2.7.0/setup.rb +0 -1331
- data/vendor/bundle/gems/erubis-2.7.0/test/assert-text-equal.rb +0 -44
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/Example.ejava +0 -55
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/array_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/arraybuffer_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern-example.rhtml +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bipattern_example.result +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.rb +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/bufvar-example.result +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.rb +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/context.yaml +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.rb +0 -14
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/def_method.result +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/escape_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ec +0 -27
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ecpp +0 -30
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ejs +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eperl +0 -18
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.ephp +0 -18
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.eruby +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example.escheme +0 -28
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.eruby +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.rb +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1.result +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.rb +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.result +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10.xhtml +0 -14
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example10_x.result +0 -17
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.php +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.result +0 -23
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11.rhtml +0 -21
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_C.result +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_N.result +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_php.result +0 -15
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example1_x.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.eruby +0 -7
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.rb +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2.result +0 -27
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_trim.result +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example2_x.result +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.eruby +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3.rb +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example31.result +0 -22
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example32.result +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example3_e.result +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.eruby +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.rb +0 -11
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4.result +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example4_x.result +0 -5
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.eruby +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.rb +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example5.result +0 -7
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.rb +0 -12
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example6.result +0 -7
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example7.eruby +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example71.result +0 -13
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example72.result +0 -13
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8.eruby +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_ruby.result +0 -7
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example8_yaml.result +0 -7
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.eruby +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example9.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example91.result +0 -5
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example92.result +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_c.result +0 -32
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_java.result +0 -56
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_js.result +0 -22
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_perl.result +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_php.result +0 -19
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme.result +0 -30
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example_scheme_display.result +0 -29
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby-example.result +0 -18
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rb +0 -11
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.result +0 -38
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/fasteruby.rhtml +0 -15
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example.eruby +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter-example2.rhtml +0 -10
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example.result +0 -11
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/headerfooter_example2.result +0 -13
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/interpolation_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program1.result +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/main_program2.result +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-example.eruby +0 -14
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode-php.result +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/nocode_example.result +0 -15
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal-eruby-test.eruby +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/normal_eruby_test.result +0 -11
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.eruby +0 -14
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-example.php +0 -19
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext-php.result +0 -20
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/notext_example.result +0 -16
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline-example.rhtml +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/percentline_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rb +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline-example.rhtml +0 -6
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/prefixedline_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenable_example.result +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.eruby +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printstatement_example.result +0 -8
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/simplify_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stderr.log +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stdout_exmple.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/stringbuffer_example.result +0 -9
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tail_260.result +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/tailnewline.rhtml +0 -3
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template1.rhtml +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/template2.rhtml +0 -4
- data/vendor/bundle/gems/erubis-2.7.0/test/test-engines.rb +0 -425
- data/vendor/bundle/gems/erubis-2.7.0/test/test-enhancers.rb +0 -646
- data/vendor/bundle/gems/erubis-2.7.0/test/test-erubis.rb +0 -887
- data/vendor/bundle/gems/erubis-2.7.0/test/test-index-cgi.rb +0 -191
- data/vendor/bundle/gems/erubis-2.7.0/test/test-main.rb +0 -752
- data/vendor/bundle/gems/erubis-2.7.0/test/test-users-guide.rb +0 -73
- data/vendor/bundle/gems/erubis-2.7.0/test/test.rb +0 -45
- data/vendor/bundle/gems/erubis-2.7.0/test/testutil.rb +0 -111
- data/vendor/bundle/gems/hike-1.2.1/LICENSE +0 -20
- data/vendor/bundle/gems/hike-1.2.1/README.md +0 -52
- data/vendor/bundle/gems/hike-1.2.1/lib/hike.rb +0 -9
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/extensions.rb +0 -23
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/index.rb +0 -204
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/normalized_array.rb +0 -59
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/paths.rb +0 -27
- data/vendor/bundle/gems/hike-1.2.1/lib/hike/trail.rb +0 -179
- data/vendor/bundle/gems/i18n-0.6.1/CHANGELOG.textile +0 -152
- data/vendor/bundle/gems/i18n-0.6.1/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/i18n-0.6.1/README.textile +0 -105
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails +0 -5
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.no-rails.lock +0 -14
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x +0 -9
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-2.3.x.lock +0 -23
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x +0 -9
- data/vendor/bundle/gems/i18n-0.6.1/ci/Gemfile.rails-3.x.lock +0 -23
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n.rb +0 -332
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend.rb +0 -18
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/base.rb +0 -181
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cache.rb +0 -96
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/cascade.rb +0 -54
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/chain.rb +0 -78
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb +0 -65
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/flatten.rb +0 -113
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/gettext.rb +0 -72
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/interpolation_compiler.rb +0 -121
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/key_value.rb +0 -101
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/memoize.rb +0 -46
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/metadata.rb +0 -65
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/pluralization.rb +0 -53
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/simple.rb +0 -87
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb +0 -98
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/config.rb +0 -86
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/hash.rb +0 -29
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/kernel/surpress_warnings.rb +0 -9
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/core_ext/string/interpolate.rb +0 -105
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/exceptions.rb +0 -106
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext.rb +0 -25
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/helpers.rb +0 -64
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/gettext/po_parser.rb +0 -329
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/interpolate/ruby.rb +0 -31
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale.rb +0 -6
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/fallbacks.rb +0 -96
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag.rb +0 -28
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/parents.rb +0 -22
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/rfc4646.rb +0 -74
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/locale/tag/simple.rb +0 -39
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests.rb +0 -12
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/basics.rb +0 -54
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/defaults.rb +0 -40
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/interpolation.rb +0 -133
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/link.rb +0 -56
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization.rb +0 -19
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date.rb +0 -84
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/date_time.rb +0 -77
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/procs.rb +0 -116
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/localization/time.rb +0 -76
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/lookup.rb +0 -74
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/pluralization.rb +0 -35
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/tests/procs.rb +0 -55
- data/vendor/bundle/gems/i18n-0.6.1/lib/i18n/version.rb +0 -3
- data/vendor/bundle/gems/i18n-0.6.1/test/all.rb +0 -8
- data/vendor/bundle/gems/i18n-0.6.1/test/api/all_features_test.rb +0 -58
- data/vendor/bundle/gems/i18n-0.6.1/test/api/cascade_test.rb +0 -28
- data/vendor/bundle/gems/i18n-0.6.1/test/api/chain_test.rb +0 -24
- data/vendor/bundle/gems/i18n-0.6.1/test/api/fallbacks_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.6.1/test/api/key_value_test.rb +0 -28
- data/vendor/bundle/gems/i18n-0.6.1/test/api/memoize_test.rb +0 -60
- data/vendor/bundle/gems/i18n-0.6.1/test/api/override_test.rb +0 -48
- data/vendor/bundle/gems/i18n-0.6.1/test/api/pluralization_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.6.1/test/api/simple_test.rb +0 -28
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/cache_test.rb +0 -85
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/cascade_test.rb +0 -85
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/chain_test.rb +0 -72
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/exceptions_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/fallbacks_test.rb +0 -125
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/interpolation_compiler_test.rb +0 -102
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/key_value_test.rb +0 -46
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/memoize_test.rb +0 -47
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/metadata_test.rb +0 -47
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/pluralization_test.rb +0 -44
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/simple_test.rb +0 -83
- data/vendor/bundle/gems/i18n-0.6.1/test/backend/transliterator_test.rb +0 -81
- data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/hash_test.rb +0 -30
- data/vendor/bundle/gems/i18n-0.6.1/test/core_ext/string/interpolate_test.rb +0 -99
- data/vendor/bundle/gems/i18n-0.6.1/test/gettext/api_test.rb +0 -206
- data/vendor/bundle/gems/i18n-0.6.1/test/gettext/backend_test.rb +0 -101
- data/vendor/bundle/gems/i18n-0.6.1/test/i18n/exceptions_test.rb +0 -116
- data/vendor/bundle/gems/i18n-0.6.1/test/i18n/interpolate_test.rb +0 -61
- data/vendor/bundle/gems/i18n-0.6.1/test/i18n/load_path_test.rb +0 -26
- data/vendor/bundle/gems/i18n-0.6.1/test/i18n_test.rb +0 -254
- data/vendor/bundle/gems/i18n-0.6.1/test/locale/fallbacks_test.rb +0 -136
- data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/rfc4646_test.rb +0 -142
- data/vendor/bundle/gems/i18n-0.6.1/test/locale/tag/simple_test.rb +0 -32
- data/vendor/bundle/gems/i18n-0.6.1/test/run_all.rb +0 -21
- data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/de.po +0 -82
- data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.rb +0 -3
- data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/en.yml +0 -3
- data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/invalid/empty.yml +0 -0
- data/vendor/bundle/gems/i18n-0.6.1/test/test_data/locales/plurals.rb +0 -113
- data/vendor/bundle/gems/i18n-0.6.1/test/test_helper.rb +0 -56
- data/vendor/bundle/gems/journey-1.0.4/CHANGELOG.rdoc +0 -20
- data/vendor/bundle/gems/journey-1.0.4/Gemfile +0 -14
- data/vendor/bundle/gems/journey-1.0.4/Manifest.txt +0 -49
- data/vendor/bundle/gems/journey-1.0.4/README.rdoc +0 -48
- data/vendor/bundle/gems/journey-1.0.4/Rakefile +0 -32
- data/vendor/bundle/gems/journey-1.0.4/journey.gemspec +0 -48
- data/vendor/bundle/gems/journey-1.0.4/lib/journey.rb +0 -5
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/backwards.rb +0 -5
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/core-ext/hash.rb +0 -11
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/formatter.rb +0 -131
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/builder.rb +0 -159
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/simulator.rb +0 -43
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/gtg/transition_table.rb +0 -153
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/builder.rb +0 -74
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/dot.rb +0 -34
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/simulator.rb +0 -45
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/nfa/transition_table.rb +0 -164
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/nodes/node.rb +0 -122
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.rb +0 -204
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser.y +0 -47
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb +0 -21
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/path/pattern.rb +0 -193
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/route.rb +0 -95
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/router.rb +0 -145
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/strexp.rb +0 -22
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/router/utils.rb +0 -57
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/routes.rb +0 -75
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/scanner.rb +0 -58
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/visitors.rb +0 -190
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.css +0 -34
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/fsm.js +0 -134
- data/vendor/bundle/gems/journey-1.0.4/lib/journey/visualizer/index.html.erb +0 -52
- data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_builder.rb +0 -77
- data/vendor/bundle/gems/journey-1.0.4/test/gtg/test_transition_table.rb +0 -113
- data/vendor/bundle/gems/journey-1.0.4/test/helper.rb +0 -4
- data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_simulator.rb +0 -96
- data/vendor/bundle/gems/journey-1.0.4/test/nfa/test_transition_table.rb +0 -70
- data/vendor/bundle/gems/journey-1.0.4/test/nodes/test_symbol.rb +0 -15
- data/vendor/bundle/gems/journey-1.0.4/test/path/test_pattern.rb +0 -282
- data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_parser.rb +0 -108
- data/vendor/bundle/gems/journey-1.0.4/test/route/definition/test_scanner.rb +0 -54
- data/vendor/bundle/gems/journey-1.0.4/test/router/test_strexp.rb +0 -30
- data/vendor/bundle/gems/journey-1.0.4/test/router/test_utils.rb +0 -19
- data/vendor/bundle/gems/journey-1.0.4/test/test_route.rb +0 -109
- data/vendor/bundle/gems/journey-1.0.4/test/test_router.rb +0 -544
- data/vendor/bundle/gems/journey-1.0.4/test/test_routes.rb +0 -51
- data/vendor/bundle/gems/json-1.7.6/CHANGES +0 -258
- data/vendor/bundle/gems/json-1.7.6/COPYING +0 -58
- data/vendor/bundle/gems/json-1.7.6/COPYING-json-jruby +0 -57
- data/vendor/bundle/gems/json-1.7.6/GPL +0 -340
- data/vendor/bundle/gems/json-1.7.6/Gemfile +0 -9
- data/vendor/bundle/gems/json-1.7.6/README-json-jruby.markdown +0 -33
- data/vendor/bundle/gems/json-1.7.6/README.rdoc +0 -358
- data/vendor/bundle/gems/json-1.7.6/Rakefile +0 -412
- data/vendor/bundle/gems/json-1.7.6/TODO +0 -1
- data/vendor/bundle/gems/json-1.7.6/VERSION +0 -1
- data/vendor/bundle/gems/json-1.7.6/data/example.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/data/index.html +0 -38
- data/vendor/bundle/gems/json-1.7.6/data/prototype.js +0 -4184
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/fbuffer/fbuffer.h +0 -185
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/Makefile +0 -214
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/depend +0 -1
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/extconf.rb +0 -14
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.c +0 -1427
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.h +0 -149
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/Makefile +0 -214
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/depend +0 -1
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/extconf.rb +0 -13
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.c +0 -2204
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.h +0 -77
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-1.7.6/ext/json/ext/parser/parser.rl +0 -927
- data/vendor/bundle/gems/json-1.7.6/install.rb +0 -23
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/ByteListTranscoder.java +0 -167
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Generator.java +0 -444
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorMethods.java +0 -232
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorService.java +0 -43
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/GeneratorState.java +0 -542
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/OptionsReader.java +0 -113
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Parser.java +0 -2644
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Parser.rl +0 -968
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/ParserService.java +0 -35
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/RuntimeInfo.java +0 -121
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/StringDecoder.java +0 -167
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/StringEncoder.java +0 -106
- data/vendor/bundle/gems/json-1.7.6/java/src/json/ext/Utils.java +0 -89
- data/vendor/bundle/gems/json-1.7.6/json-java.gemspec +0 -22
- data/vendor/bundle/gems/json-1.7.6/json.gemspec +0 -37
- data/vendor/bundle/gems/json-1.7.6/json_pure.gemspec +0 -39
- data/vendor/bundle/gems/json-1.7.6/lib/json.rb +0 -62
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/bigdecimal.rb +0 -28
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/complex.rb +0 -22
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/core.rb +0 -11
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/date.rb +0 -34
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/date_time.rb +0 -50
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/exception.rb +0 -31
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/ostruct.rb +0 -31
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/range.rb +0 -29
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/rational.rb +0 -22
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/regexp.rb +0 -30
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/struct.rb +0 -30
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/symbol.rb +0 -25
- data/vendor/bundle/gems/json-1.7.6/lib/json/add/time.rb +0 -38
- data/vendor/bundle/gems/json-1.7.6/lib/json/common.rb +0 -480
- data/vendor/bundle/gems/json-1.7.6/lib/json/ext.rb +0 -21
- data/vendor/bundle/gems/json-1.7.6/lib/json/ext/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.7.6/lib/json/ext/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.7.6/lib/json/generic_object.rb +0 -54
- data/vendor/bundle/gems/json-1.7.6/lib/json/pure.rb +0 -21
- data/vendor/bundle/gems/json-1.7.6/lib/json/pure/generator.rb +0 -492
- data/vendor/bundle/gems/json-1.7.6/lib/json/pure/parser.rb +0 -359
- data/vendor/bundle/gems/json-1.7.6/lib/json/version.rb +0 -8
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail1.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail10.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail11.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail12.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail13.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail14.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail18.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail19.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail2.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail20.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail21.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail22.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail23.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail24.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail25.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail27.json +0 -2
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail28.json +0 -2
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail3.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail4.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail5.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail6.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail7.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail8.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/fail9.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass1.json +0 -56
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass15.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass16.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass17.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass2.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass26.json +0 -1
- data/vendor/bundle/gems/json-1.7.6/tests/fixtures/pass3.json +0 -6
- data/vendor/bundle/gems/json-1.7.6/tests/setup_variant.rb +0 -11
- data/vendor/bundle/gems/json-1.7.6/tests/test_json.rb +0 -539
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_addition.rb +0 -188
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_encoding.rb +0 -65
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_fixtures.rb +0 -35
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_generate.rb +0 -299
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_generic_object.rb +0 -46
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_string_matching.rb +0 -40
- data/vendor/bundle/gems/json-1.7.6/tests/test_json_unicode.rb +0 -72
- data/vendor/bundle/gems/json-1.7.6/tools/fuzz.rb +0 -139
- data/vendor/bundle/gems/json-1.7.6/tools/server.rb +0 -62
- data/vendor/bundle/gems/multi_json-1.5.0/Gemfile +0 -7
- data/vendor/bundle/gems/multi_json-1.5.0/LICENSE.md +0 -20
- data/vendor/bundle/gems/multi_json-1.5.0/README.md +0 -88
- data/vendor/bundle/gems/multi_json-1.5.0/Rakefile +0 -20
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json.rb +0 -130
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_common.rb +0 -25
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_gem.rb +0 -12
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/json_pure.rb +0 -12
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/nsjsonserialization.rb +0 -34
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/oj.rb +0 -26
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/ok_json.rb +0 -48
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/adapters/yajl.rb +0 -18
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/vendor/okjson.rb +0 -602
- data/vendor/bundle/gems/multi_json-1.5.0/lib/multi_json/version.rb +0 -3
- data/vendor/bundle/gems/multi_json-1.5.0/multi_json.gemspec +0 -23
- data/vendor/bundle/gems/multi_json-1.5.0/spec/adapter_shared_example.rb +0 -127
- data/vendor/bundle/gems/multi_json-1.5.0/spec/helper.rb +0 -39
- data/vendor/bundle/gems/multi_json-1.5.0/spec/multi_json_spec.rb +0 -100
- data/vendor/bundle/gems/rack-1.4.4/COPYING +0 -18
- data/vendor/bundle/gems/rack-1.4.4/KNOWN-ISSUES +0 -30
- data/vendor/bundle/gems/rack-1.4.4/README.rdoc +0 -579
- data/vendor/bundle/gems/rack-1.4.4/Rakefile +0 -122
- data/vendor/bundle/gems/rack-1.4.4/SPEC +0 -173
- data/vendor/bundle/gems/rack-1.4.4/bin/rackup +0 -4
- data/vendor/bundle/gems/rack-1.4.4/contrib/rack.png +0 -0
- data/vendor/bundle/gems/rack-1.4.4/contrib/rack.svg +0 -150
- data/vendor/bundle/gems/rack-1.4.4/contrib/rack_logo.svg +0 -111
- data/vendor/bundle/gems/rack-1.4.4/contrib/rdoc.css +0 -412
- data/vendor/bundle/gems/rack-1.4.4/example/lobster.ru +0 -4
- data/vendor/bundle/gems/rack-1.4.4/example/protectedlobster.rb +0 -14
- data/vendor/bundle/gems/rack-1.4.4/example/protectedlobster.ru +0 -8
- data/vendor/bundle/gems/rack-1.4.4/lib/rack.rb +0 -95
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/abstract/handler.rb +0 -37
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/abstract/request.rb +0 -47
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/basic.rb +0 -58
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/md5.rb +0 -129
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/nonce.rb +0 -51
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/params.rb +0 -53
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/auth/digest/request.rb +0 -41
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_18.rb +0 -56
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_192.rb +0 -52
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/backports/uri/common_193.rb +0 -29
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/body_proxy.rb +0 -39
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/builder.rb +0 -145
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/cascade.rb +0 -52
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/chunked.rb +0 -58
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/commonlogger.rb +0 -64
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/conditionalget.rb +0 -67
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/config.rb +0 -15
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/content_length.rb +0 -33
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/content_type.rb +0 -29
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/deflater.rb +0 -103
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/directory.rb +0 -161
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/etag.rb +0 -64
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/file.rb +0 -151
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler.rb +0 -94
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/cgi.rb +0 -61
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/evented_mongrel.rb +0 -8
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/fastcgi.rb +0 -98
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/lsws.rb +0 -61
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/mongrel.rb +0 -100
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/scgi.rb +0 -67
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/swiftiplied_mongrel.rb +0 -8
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/thin.rb +0 -24
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/handler/webrick.rb +0 -80
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/head.rb +0 -20
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/lint.rb +0 -569
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/lobster.rb +0 -65
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/lock.rb +0 -24
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/logger.rb +0 -18
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/methodoverride.rb +0 -33
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/mime.rb +0 -648
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/mock.rb +0 -190
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart.rb +0 -34
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/generator.rb +0 -93
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/parser.rb +0 -176
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/multipart/uploaded_file.rb +0 -34
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/nulllogger.rb +0 -18
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/recursive.rb +0 -61
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/reloader.rb +0 -109
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/request.rb +0 -339
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/response.rb +0 -156
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/rewindable_input.rb +0 -104
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/runtime.rb +0 -27
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/sendfile.rb +0 -141
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/server.rb +0 -349
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/abstract/id.rb +0 -377
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/cookie.rb +0 -170
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/memcache.rb +0 -93
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/session/pool.rb +0 -79
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/showexceptions.rb +0 -378
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/showstatus.rb +0 -113
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/static.rb +0 -153
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/urlmap.rb +0 -75
- data/vendor/bundle/gems/rack-1.4.4/lib/rack/utils.rb +0 -553
- data/vendor/bundle/gems/rack-1.4.4/rack.gemspec +0 -37
- data/vendor/bundle/gems/rack-1.4.4/test/builder/anything.rb +0 -5
- data/vendor/bundle/gems/rack-1.4.4/test/builder/comment.ru +0 -4
- data/vendor/bundle/gems/rack-1.4.4/test/builder/end.ru +0 -5
- data/vendor/bundle/gems/rack-1.4.4/test/builder/line.ru +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/builder/options.ru +0 -2
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/folder/test.js +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/fonts/font.eot +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/images/image.png +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/index.html +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/javascripts/app.js +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/assets/stylesheets/app.css +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/lighttpd.conf +0 -26
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/rackup_stub.rb +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/sample_rackup.ru +0 -5
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/test +0 -9
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/test+directory/test+file +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/test.fcgi +0 -8
- data/vendor/bundle/gems/rack-1.4.4/test/cgi/test.ru +0 -5
- data/vendor/bundle/gems/rack-1.4.4/test/gemloader.rb +0 -10
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/bad_robots +0 -259
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/binary +0 -0
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/content_type_and_no_filename +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/empty +0 -10
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/fail_16384_nofile +0 -814
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/file1.txt +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_and_modification_param +0 -7
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_escaped_quotes +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_escaped_quotes_and_modification_param +0 -7
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_percent_escaped_quotes +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages2 +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_percentages3 +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/filename_with_unescaped_quotes +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/ie +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/mixed_files +0 -21
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/nested +0 -10
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/none +0 -9
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/semicolon +0 -6
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/text +0 -15
- data/vendor/bundle/gems/rack-1.4.4/test/multipart/webkit +0 -32
- data/vendor/bundle/gems/rack-1.4.4/test/rackup/config.ru +0 -31
- data/vendor/bundle/gems/rack-1.4.4/test/registering_handler/rack/handler/registering_myself.rb +0 -8
- data/vendor/bundle/gems/rack-1.4.4/test/spec_auth.rb +0 -57
- data/vendor/bundle/gems/rack-1.4.4/test/spec_auth_basic.rb +0 -81
- data/vendor/bundle/gems/rack-1.4.4/test/spec_auth_digest.rb +0 -259
- data/vendor/bundle/gems/rack-1.4.4/test/spec_body_proxy.rb +0 -69
- data/vendor/bundle/gems/rack-1.4.4/test/spec_builder.rb +0 -207
- data/vendor/bundle/gems/rack-1.4.4/test/spec_cascade.rb +0 -61
- data/vendor/bundle/gems/rack-1.4.4/test/spec_cgi.rb +0 -102
- data/vendor/bundle/gems/rack-1.4.4/test/spec_chunked.rb +0 -87
- data/vendor/bundle/gems/rack-1.4.4/test/spec_commonlogger.rb +0 -57
- data/vendor/bundle/gems/rack-1.4.4/test/spec_conditionalget.rb +0 -102
- data/vendor/bundle/gems/rack-1.4.4/test/spec_config.rb +0 -22
- data/vendor/bundle/gems/rack-1.4.4/test/spec_content_length.rb +0 -86
- data/vendor/bundle/gems/rack-1.4.4/test/spec_content_type.rb +0 -45
- data/vendor/bundle/gems/rack-1.4.4/test/spec_deflater.rb +0 -187
- data/vendor/bundle/gems/rack-1.4.4/test/spec_directory.rb +0 -88
- data/vendor/bundle/gems/rack-1.4.4/test/spec_etag.rb +0 -98
- data/vendor/bundle/gems/rack-1.4.4/test/spec_fastcgi.rb +0 -107
- data/vendor/bundle/gems/rack-1.4.4/test/spec_file.rb +0 -200
- data/vendor/bundle/gems/rack-1.4.4/test/spec_handler.rb +0 -59
- data/vendor/bundle/gems/rack-1.4.4/test/spec_head.rb +0 -48
- data/vendor/bundle/gems/rack-1.4.4/test/spec_lint.rb +0 -515
- data/vendor/bundle/gems/rack-1.4.4/test/spec_lobster.rb +0 -58
- data/vendor/bundle/gems/rack-1.4.4/test/spec_lock.rb +0 -167
- data/vendor/bundle/gems/rack-1.4.4/test/spec_logger.rb +0 -23
- data/vendor/bundle/gems/rack-1.4.4/test/spec_methodoverride.rb +0 -72
- data/vendor/bundle/gems/rack-1.4.4/test/spec_mock.rb +0 -269
- data/vendor/bundle/gems/rack-1.4.4/test/spec_mongrel.rb +0 -182
- data/vendor/bundle/gems/rack-1.4.4/test/spec_multipart.rb +0 -445
- data/vendor/bundle/gems/rack-1.4.4/test/spec_nulllogger.rb +0 -23
- data/vendor/bundle/gems/rack-1.4.4/test/spec_recursive.rb +0 -72
- data/vendor/bundle/gems/rack-1.4.4/test/spec_request.rb +0 -938
- data/vendor/bundle/gems/rack-1.4.4/test/spec_response.rb +0 -313
- data/vendor/bundle/gems/rack-1.4.4/test/spec_rewindable_input.rb +0 -118
- data/vendor/bundle/gems/rack-1.4.4/test/spec_runtime.rb +0 -49
- data/vendor/bundle/gems/rack-1.4.4/test/spec_sendfile.rb +0 -89
- data/vendor/bundle/gems/rack-1.4.4/test/spec_server.rb +0 -121
- data/vendor/bundle/gems/rack-1.4.4/test/spec_session_abstract_id.rb +0 -43
- data/vendor/bundle/gems/rack-1.4.4/test/spec_session_cookie.rb +0 -361
- data/vendor/bundle/gems/rack-1.4.4/test/spec_session_memcache.rb +0 -321
- data/vendor/bundle/gems/rack-1.4.4/test/spec_session_pool.rb +0 -209
- data/vendor/bundle/gems/rack-1.4.4/test/spec_showexceptions.rb +0 -92
- data/vendor/bundle/gems/rack-1.4.4/test/spec_showstatus.rb +0 -84
- data/vendor/bundle/gems/rack-1.4.4/test/spec_static.rb +0 -145
- data/vendor/bundle/gems/rack-1.4.4/test/spec_thin.rb +0 -86
- data/vendor/bundle/gems/rack-1.4.4/test/spec_urlmap.rb +0 -213
- data/vendor/bundle/gems/rack-1.4.4/test/spec_utils.rb +0 -537
- data/vendor/bundle/gems/rack-1.4.4/test/spec_webrick.rb +0 -143
- data/vendor/bundle/gems/rack-1.4.4/test/static/another/index.html +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/static/index.html +0 -1
- data/vendor/bundle/gems/rack-1.4.4/test/testrequest.rb +0 -78
- data/vendor/bundle/gems/rack-1.4.4/test/unregistered_handler/rack/handler/unregistered.rb +0 -7
- data/vendor/bundle/gems/rack-1.4.4/test/unregistered_handler/rack/handler/unregistered_long_one.rb +0 -7
- data/vendor/bundle/gems/rack-cache-1.2/CHANGES +0 -241
- data/vendor/bundle/gems/rack-cache-1.2/COPYING +0 -18
- data/vendor/bundle/gems/rack-cache-1.2/Gemfile +0 -2
- data/vendor/bundle/gems/rack-cache-1.2/README +0 -126
- data/vendor/bundle/gems/rack-cache-1.2/Rakefile +0 -139
- data/vendor/bundle/gems/rack-cache-1.2/TODO +0 -27
- data/vendor/bundle/gems/rack-cache-1.2/doc/configuration.markdown +0 -127
- data/vendor/bundle/gems/rack-cache-1.2/doc/faq.markdown +0 -148
- data/vendor/bundle/gems/rack-cache-1.2/doc/index.markdown +0 -121
- data/vendor/bundle/gems/rack-cache-1.2/doc/layout.html.erb +0 -34
- data/vendor/bundle/gems/rack-cache-1.2/doc/license.markdown +0 -24
- data/vendor/bundle/gems/rack-cache-1.2/doc/rack-cache.css +0 -362
- data/vendor/bundle/gems/rack-cache-1.2/doc/server.ru +0 -34
- data/vendor/bundle/gems/rack-cache-1.2/doc/storage.markdown +0 -164
- data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/app.rb +0 -21
- data/vendor/bundle/gems/rack-cache-1.2/example/sinatra/views/index.erb +0 -44
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack-cache.rb +0 -1
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache.rb +0 -45
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/appengine.rb +0 -52
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/cachecontrol.rb +0 -194
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/context.rb +0 -286
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/entitystore.rb +0 -341
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/key.rb +0 -52
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/metastore.rb +0 -418
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/options.rb +0 -166
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/request.rb +0 -33
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/response.rb +0 -255
- data/vendor/bundle/gems/rack-cache-1.2/lib/rack/cache/storage.rb +0 -62
- data/vendor/bundle/gems/rack-cache-1.2/rack-cache.gemspec +0 -75
- data/vendor/bundle/gems/rack-cache-1.2/test/cache_test.rb +0 -38
- data/vendor/bundle/gems/rack-cache-1.2/test/cachecontrol_test.rb +0 -145
- data/vendor/bundle/gems/rack-cache-1.2/test/context_test.rb +0 -916
- data/vendor/bundle/gems/rack-cache-1.2/test/entitystore_test.rb +0 -268
- data/vendor/bundle/gems/rack-cache-1.2/test/key_test.rb +0 -50
- data/vendor/bundle/gems/rack-cache-1.2/test/metastore_test.rb +0 -338
- data/vendor/bundle/gems/rack-cache-1.2/test/options_test.rb +0 -77
- data/vendor/bundle/gems/rack-cache-1.2/test/pony.jpg +0 -0
- data/vendor/bundle/gems/rack-cache-1.2/test/request_test.rb +0 -19
- data/vendor/bundle/gems/rack-cache-1.2/test/response_test.rb +0 -184
- data/vendor/bundle/gems/rack-cache-1.2/test/spec_setup.rb +0 -232
- data/vendor/bundle/gems/rack-cache-1.2/test/storage_test.rb +0 -94
- data/vendor/bundle/gems/rack-ssl-1.3.2/LICENSE +0 -22
- data/vendor/bundle/gems/rack-ssl-1.3.2/README.md +0 -13
- data/vendor/bundle/gems/rack-ssl-1.3.2/lib/rack/ssl.rb +0 -88
- data/vendor/bundle/gems/rack-test-0.6.2/Gemfile +0 -6
- data/vendor/bundle/gems/rack-test-0.6.2/Gemfile.lock +0 -31
- data/vendor/bundle/gems/rack-test-0.6.2/History.txt +0 -166
- data/vendor/bundle/gems/rack-test-0.6.2/MIT-LICENSE.txt +0 -19
- data/vendor/bundle/gems/rack-test-0.6.2/README.rdoc +0 -85
- data/vendor/bundle/gems/rack-test-0.6.2/Rakefile +0 -33
- data/vendor/bundle/gems/rack-test-0.6.2/Thorfile +0 -114
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/mock_session.rb +0 -66
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test.rb +0 -304
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/cookie_jar.rb +0 -182
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/methods.rb +0 -82
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/mock_digest_request.rb +0 -29
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/uploaded_file.rb +0 -50
- data/vendor/bundle/gems/rack-test-0.6.2/lib/rack/test/utils.rb +0 -136
- data/vendor/bundle/gems/rack-test-0.6.2/rack-test.gemspec +0 -77
- data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/bar.txt +0 -1
- data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/config.ru +0 -3
- data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/fake_app.rb +0 -143
- data/vendor/bundle/gems/rack-test-0.6.2/spec/fixtures/foo.txt +0 -1
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/cookie_spec.rb +0 -219
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/digest_auth_spec.rb +0 -46
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/multipart_spec.rb +0 -145
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/uploaded_file_spec.rb +0 -22
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test/utils_spec.rb +0 -122
- data/vendor/bundle/gems/rack-test-0.6.2/spec/rack/test_spec.rb +0 -510
- data/vendor/bundle/gems/rack-test-0.6.2/spec/spec_helper.rb +0 -66
- data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/body.rb +0 -9
- data/vendor/bundle/gems/rack-test-0.6.2/spec/support/matchers/challenge.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/CHANGELOG.md +0 -87
- data/vendor/bundle/gems/railties-3.2.11/README.rdoc +0 -35
- data/vendor/bundle/gems/railties-3.2.11/bin/rails +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/belongs_to.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/book_icon.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/challenge.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/chapters_icon.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/check_bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/credits_pic_blank.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/csrf.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/customized_error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/edge_badge.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/feature_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/footer_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/fxn.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/grey_bullet.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/habtm.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_many.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_many_through.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_one.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/has_one_through.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/header_backdrop.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/header_tile.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_html_safe.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_localized_pirate.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translated_en.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translated_pirate.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_translation_missing.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/i18n/demo_untranslated.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/README +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/1.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/10.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/11.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/12.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/13.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/14.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/15.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/2.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/3.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/4.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/5.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/6.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/7.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/8.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/callouts/9.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/caution.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/example.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/home.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/important.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/next.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/note.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/prev.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/tip.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/up.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/icons/warning.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/jaimeiniesta.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/nav_arrow.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/polymorphic.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/posts_index.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/radar.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_guides_kindle_cover.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_guides_logo.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_logo_remix.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/rails_welcome.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/session_fixation.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_grey.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_info.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_note.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_red.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_yellow.gif +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/tab_yellow.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/validation_error_messages.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/images/vijaydev.jpg +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/guides.js +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js +0 -59
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +0 -75
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js +0 -59
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +0 -65
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +0 -100
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js +0 -97
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js +0 -91
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +0 -55
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js +0 -41
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js +0 -52
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +0 -67
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js +0 -52
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js +0 -57
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +0 -58
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js +0 -72
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js +0 -88
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js +0 -33
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +0 -74
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js +0 -64
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js +0 -55
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js +0 -94
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js +0 -51
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js +0 -66
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js +0 -56
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js +0 -69
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/javascripts/syntaxhighlighter/shCore.js +0 -17
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/fixes.css +0 -16
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/kindle.css +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/main.css +0 -453
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/print.css +0 -52
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/reset.css +0 -43
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/style.css +0 -13
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCore.css +0 -226
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +0 -328
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +0 -331
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +0 -339
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +0 -324
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +0 -328
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +0 -324
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +0 -324
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +0 -324
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +0 -117
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +0 -120
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +0 -128
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +0 -113
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +0 -117
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +0 -113
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +0 -113
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +0 -113
- data/vendor/bundle/gems/railties-3.2.11/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +0 -116
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/Gemfile +0 -38
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/README.rdoc +0 -261
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/Rakefile +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/images/rails.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/application.js +0 -15
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/comments.js.coffee +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/home.js.coffee +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/javascripts/posts.js.coffee +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/application.css +0 -13
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/comments.css.scss +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/home.css.scss +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/posts.css.scss +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/assets/stylesheets/scaffolds.css.scss +0 -56
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/application_controller.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/comments_controller.rb +0 -16
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/home_controller.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/controllers/posts_controller.rb +0 -84
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/application_helper.rb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/comments_helper.rb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/home_helper.rb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/helpers/posts_helper.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/comment.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/post.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/models/tag.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/comments/_comment.html.erb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/comments/_form.html.erb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/home/index.html.erb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/layouts/application.html.erb +0 -14
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/_form.html.erb +0 -32
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/edit.html.erb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/index.html.erb +0 -27
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/new.html.erb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/posts/show.html.erb +0 -31
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/app/views/tags/_form.html.erb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config.ru +0 -4
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/application.rb +0 -59
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/boot.rb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/database.yml +0 -25
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environment.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/development.rb +0 -37
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/production.rb +0 -67
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/environments/test.rb +0 -37
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/backtrace_silencers.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/inflections.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/mime_types.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/secret_token.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/session_store.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/initializers/wrap_parameters.rb +0 -14
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/locales/en.yml +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/config/routes.rb +0 -64
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901012504_create_posts.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901012815_create_comments.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/migrate/20110901013701_create_tags.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/schema.rb +0 -43
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/db/seeds.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/doc/README_FOR_APP +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/404.html +0 -26
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/422.html +0 -26
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/500.html +0 -25
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/favicon.ico +0 -0
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/public/robots.txt +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/script/rails +0 -6
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/comments.yml +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/posts.yml +0 -11
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/fixtures/tags.yml +0 -9
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/comments_controller_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/home_controller_test.rb +0 -9
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/functional/posts_controller_test.rb +0 -49
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/performance/browsing_test.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/test_helper.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/comment_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/comments_helper_test.rb +0 -4
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/home_helper_test.rb +0 -4
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/helpers/posts_helper_test.rb +0 -4
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/post_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/code/getting_started/test/unit/tag_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides.rb +0 -50
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/generator.rb +0 -310
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/helpers.rb +0 -45
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/indexer.rb +0 -69
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/levenshtein.rb +0 -31
- data/vendor/bundle/gems/railties-3.2.11/guides/rails_guides/textile_extensions.rb +0 -63
- data/vendor/bundle/gems/railties-3.2.11/guides/source/2_2_release_notes.textile +0 -422
- data/vendor/bundle/gems/railties-3.2.11/guides/source/2_3_release_notes.textile +0 -610
- data/vendor/bundle/gems/railties-3.2.11/guides/source/3_0_release_notes.textile +0 -595
- data/vendor/bundle/gems/railties-3.2.11/guides/source/3_1_release_notes.textile +0 -553
- data/vendor/bundle/gems/railties-3.2.11/guides/source/3_2_release_notes.textile +0 -540
- data/vendor/bundle/gems/railties-3.2.11/guides/source/_license.html.erb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/guides/source/_welcome.html.erb +0 -19
- data/vendor/bundle/gems/railties-3.2.11/guides/source/action_controller_overview.textile +0 -820
- data/vendor/bundle/gems/railties-3.2.11/guides/source/action_mailer_basics.textile +0 -516
- data/vendor/bundle/gems/railties-3.2.11/guides/source/action_view_overview.textile +0 -1497
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_model_basics.textile +0 -205
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_basics.textile +0 -218
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_querying.textile +0 -1433
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_record_validations_callbacks.textile +0 -1283
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_resource_basics.textile +0 -120
- data/vendor/bundle/gems/railties-3.2.11/guides/source/active_support_core_extensions.textile +0 -3713
- data/vendor/bundle/gems/railties-3.2.11/guides/source/ajax_on_rails.textile +0 -267
- data/vendor/bundle/gems/railties-3.2.11/guides/source/api_documentation_guidelines.textile +0 -185
- data/vendor/bundle/gems/railties-3.2.11/guides/source/asset_pipeline.textile +0 -707
- data/vendor/bundle/gems/railties-3.2.11/guides/source/association_basics.textile +0 -1959
- data/vendor/bundle/gems/railties-3.2.11/guides/source/caching_with_rails.textile +0 -437
- data/vendor/bundle/gems/railties-3.2.11/guides/source/command_line.textile +0 -574
- data/vendor/bundle/gems/railties-3.2.11/guides/source/configuring.textile +0 -641
- data/vendor/bundle/gems/railties-3.2.11/guides/source/contributing_to_ruby_on_rails.textile +0 -448
- data/vendor/bundle/gems/railties-3.2.11/guides/source/credits.html.erb +0 -72
- data/vendor/bundle/gems/railties-3.2.11/guides/source/debugging_rails_applications.textile +0 -714
- data/vendor/bundle/gems/railties-3.2.11/guides/source/documents.yaml +0 -157
- data/vendor/bundle/gems/railties-3.2.11/guides/source/engines.textile +0 -618
- data/vendor/bundle/gems/railties-3.2.11/guides/source/form_helpers.textile +0 -798
- data/vendor/bundle/gems/railties-3.2.11/guides/source/generators.textile +0 -621
- data/vendor/bundle/gems/railties-3.2.11/guides/source/getting_started.textile +0 -1929
- data/vendor/bundle/gems/railties-3.2.11/guides/source/i18n.textile +0 -931
- data/vendor/bundle/gems/railties-3.2.11/guides/source/index.html.erb +0 -30
- data/vendor/bundle/gems/railties-3.2.11/guides/source/initialization.textile +0 -1116
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/KINDLE.md +0 -26
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/copyright.html.erb +0 -1
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/layout.html.erb +0 -27
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/rails_guides.opf.erb +0 -52
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/toc.html.erb +0 -24
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/toc.ncx.erb +0 -64
- data/vendor/bundle/gems/railties-3.2.11/guides/source/kindle/welcome.html.erb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/guides/source/layout.html.erb +0 -124
- data/vendor/bundle/gems/railties-3.2.11/guides/source/layouts_and_rendering.textile +0 -1237
- data/vendor/bundle/gems/railties-3.2.11/guides/source/migrations.textile +0 -900
- data/vendor/bundle/gems/railties-3.2.11/guides/source/nested_model_forms.textile +0 -222
- data/vendor/bundle/gems/railties-3.2.11/guides/source/performance_testing.textile +0 -597
- data/vendor/bundle/gems/railties-3.2.11/guides/source/plugins.textile +0 -464
- data/vendor/bundle/gems/railties-3.2.11/guides/source/rails_application_templates.textile +0 -240
- data/vendor/bundle/gems/railties-3.2.11/guides/source/rails_on_rack.textile +0 -236
- data/vendor/bundle/gems/railties-3.2.11/guides/source/routing.textile +0 -885
- data/vendor/bundle/gems/railties-3.2.11/guides/source/ruby_on_rails_guides_guidelines.textile +0 -79
- data/vendor/bundle/gems/railties-3.2.11/guides/source/security.textile +0 -1004
- data/vendor/bundle/gems/railties-3.2.11/guides/source/testing.textile +0 -947
- data/vendor/bundle/gems/railties-3.2.11/guides/w3c_validator.rb +0 -91
- data/vendor/bundle/gems/railties-3.2.11/lib/rails.rb +0 -126
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/all.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application.rb +0 -320
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/bootstrap.rb +0 -73
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/configuration.rb +0 -151
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/finisher.rb +0 -98
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/railties.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/route_inspector.rb +0 -84
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/application/routes_reloader.rb +0 -56
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/backtrace_cleaner.rb +0 -42
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/cli.rb +0 -16
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/code_statistics.rb +0 -118
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands.rb +0 -104
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/application.rb +0 -38
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/benchmarker.rb +0 -34
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/console.rb +0 -55
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/dbconsole.rb +0 -123
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/destroy.rb +0 -10
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/generate.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/plugin.rb +0 -544
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/plugin_new.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/profiler.rb +0 -32
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/runner.rb +0 -54
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/server.rb +0 -100
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/commands/update.rb +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/configuration.rb +0 -89
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/console/app.rb +0 -36
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/console/helpers.rb +0 -11
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine.rb +0 -657
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/commands.rb +0 -43
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/configuration.rb +0 -84
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/engine/railties.rb +0 -33
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators.rb +0 -339
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/actions.rb +0 -325
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/active_model.rb +0 -78
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/app_base.rb +0 -281
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/base.rb +0 -390
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/assets/assets_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/assets/templates/stylesheet.css +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/css/scaffold/scaffold_generator.rb +0 -16
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb.rb +0 -21
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/controller/controller_generator.rb +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/controller/templates/view.html.erb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/mailer/mailer_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/mailer/templates/view.text.erb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/scaffold_generator.rb +0 -29
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/_form.html.erb +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/edit.html.erb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/index.html.erb +0 -27
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/new.html.erb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/erb/scaffold/templates/show.html.erb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/generated_attribute.rb +0 -107
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/js/assets/assets_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/js/assets/templates/javascript.js +0 -2
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/migration.rb +0 -68
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/named_base.rb +0 -202
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/USAGE +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/app_generator.rb +0 -303
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/Gemfile +0 -26
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/README +0 -261
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/Rakefile +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/images/rails.png +0 -0
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +0 -17
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/assets/stylesheets/application.css +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb +0 -2
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +0 -14
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config.ru +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/application.rb +0 -74
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/boot.rb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/frontbase.yml +0 -31
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/ibm_db.yml +0 -86
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbc.yml +0 -62
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcmysql.yml +0 -33
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcpostgresql.yml +0 -43
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/jdbcsqlite3.yml +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/mysql.yml +0 -54
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/oracle.yml +0 -39
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml +0 -55
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml +0 -25
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environment.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +0 -41
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +0 -73
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +0 -39
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/inflections.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/secret_token.rb.tt +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/session_store.rb.tt +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt +0 -16
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/locales/en.yml +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/config/routes.rb +0 -58
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/db/seeds.rb.tt +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/doc/README_FOR_APP +0 -2
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/gitignore +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/404.html +0 -26
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/422.html +0 -26
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/500.html +0 -25
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/favicon.ico +0 -0
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/index.html +0 -241
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/public/robots.txt +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/script/rails +0 -5
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/app/templates/test/test_helper.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/USAGE +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/assets_generator.rb +0 -25
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/templates/javascript.js +0 -2
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/assets/templates/stylesheet.css +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/USAGE +0 -18
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/controller_generator.rb +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/controller/templates/controller.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/USAGE +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/generator_generator.rb +0 -25
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/generator/templates/USAGE.tt +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/USAGE +0 -17
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/helper_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/helper/templates/helper.rb +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/integration_test/USAGE +0 -10
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/integration_test/integration_test_generator.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/migration/USAGE +0 -29
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/migration/migration_generator.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/model/USAGE +0 -45
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/model/model_generator.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/observer/USAGE +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/observer/observer_generator.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/performance_test/USAGE +0 -10
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/performance_test/performance_test_generator.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/USAGE +0 -10
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +0 -318
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +0 -29
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/Gemfile +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/MIT-LICENSE +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/README.rdoc +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/Rakefile +0 -31
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/controllers/%name%/application_controller.rb.tt +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/helpers/%name%/application_helper.rb.tt +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/app/views/layouts/%name%/application.html.erb.tt +0 -14
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/config/routes.rb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/gitignore +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%.rb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%/engine.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/%name%/version.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/lib/tasks/%name%_tasks.rake +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/application.rb +0 -18
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/boot.rb +0 -10
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/rails/routes.rb +0 -4
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/script/rails.tt +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/integration/navigation_test.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/plugin_new/templates/test/test_helper.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource/USAGE +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource/resource_generator.rb +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/resource_route/resource_route_generator.rb +0 -50
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/USAGE +0 -35
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/scaffold_generator.rb +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold/templates/scaffold.css +0 -56
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/USAGE +0 -19
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb +0 -25
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/scaffold_controller/templates/controller.rb +0 -89
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/session_migration/USAGE +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/session_migration/session_migration_generator.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/USAGE +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/task_generator.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/rails/task/templates/task.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/resource_helpers.rb +0 -80
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_case.rb +0 -247
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/controller/controller_generator.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/controller/templates/functional_test.rb +0 -19
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/helper/helper_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/helper/templates/helper_test.rb +0 -6
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/integration/integration_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/integration/templates/integration_test.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/mailer/mailer_generator.rb +0 -14
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/mailer/templates/functional_test.rb +0 -21
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/model_generator.rb +0 -24
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/templates/fixtures.yml +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/model/templates/unit_test.rb +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/observer/observer_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/observer/templates/unit_test.rb +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/performance/performance_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/performance/templates/performance_test.rb +0 -12
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/plugin_generator.rb +0 -13
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +0 -38
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb +0 -51
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/info.rb +0 -116
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/info_controller.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/initializable.rb +0 -89
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/paths.rb +0 -211
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/performance_test_help.rb +0 -3
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/plugin.rb +0 -92
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack.rb +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/debugger.rb +0 -24
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/log_tailer.rb +0 -34
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/rack/logger.rb +0 -60
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie.rb +0 -202
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie/configurable.rb +0 -35
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/railtie/configuration.rb +0 -90
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/ruby_version_check.rb +0 -23
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/rubyprof_ext.rb +0 -35
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/script_rails_loader.rb +0 -29
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/source_annotation_extractor.rb +0 -104
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks.rb +0 -16
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake +0 -20
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/documentation.rake +0 -155
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/engine.rake +0 -72
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/framework.rake +0 -76
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/log.rake +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/middleware.rake +0 -7
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/misc.rake +0 -67
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/routes.rake +0 -9
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/statistics.rake +0 -16
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/tmp.rake +0 -37
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_help.rb +0 -56
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/railtie.rb +0 -15
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/sub_test_task.rb +0 -8
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/test_unit/testing.rake +0 -146
- data/vendor/bundle/gems/railties-3.2.11/lib/rails/version.rb +0 -10
- data/vendor/bundle/gems/rake-10.0.3/CHANGES +0 -526
- data/vendor/bundle/gems/rake-10.0.3/MIT-LICENSE +0 -21
- data/vendor/bundle/gems/rake-10.0.3/README.rdoc +0 -187
- data/vendor/bundle/gems/rake-10.0.3/Rakefile +0 -374
- data/vendor/bundle/gems/rake-10.0.3/TODO +0 -21
- data/vendor/bundle/gems/rake-10.0.3/bin/rake +0 -33
- data/vendor/bundle/gems/rake-10.0.3/doc/command_line_usage.rdoc +0 -152
- data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile1 +0 -38
- data/vendor/bundle/gems/rake-10.0.3/doc/example/Rakefile2 +0 -35
- data/vendor/bundle/gems/rake-10.0.3/doc/example/a.c +0 -6
- data/vendor/bundle/gems/rake-10.0.3/doc/example/b.c +0 -6
- data/vendor/bundle/gems/rake-10.0.3/doc/example/main.c +0 -11
- data/vendor/bundle/gems/rake-10.0.3/doc/glossary.rdoc +0 -51
- data/vendor/bundle/gems/rake-10.0.3/doc/jamis.rb +0 -591
- data/vendor/bundle/gems/rake-10.0.3/doc/proto_rake.rdoc +0 -127
- data/vendor/bundle/gems/rake-10.0.3/doc/rake.1.gz +0 -0
- data/vendor/bundle/gems/rake-10.0.3/doc/rakefile.rdoc +0 -557
- data/vendor/bundle/gems/rake-10.0.3/doc/rational.rdoc +0 -151
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.14.rdoc +0 -23
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.4.15.rdoc +0 -35
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.0.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.3.rdoc +0 -78
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.5.4.rdoc +0 -46
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.6.0.rdoc +0 -141
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.0.rdoc +0 -119
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.1.rdoc +0 -59
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.2.rdoc +0 -121
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.7.3.rdoc +0 -47
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.0.rdoc +0 -114
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.2.rdoc +0 -165
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.3.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.4.rdoc +0 -147
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.5.rdoc +0 -53
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.6.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.8.7.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.0.rdoc +0 -112
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.1.rdoc +0 -52
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.2.rdoc +0 -55
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.2.rdoc +0 -49
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.3.rdoc +0 -102
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.4.rdoc +0 -110
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.5.rdoc +0 -114
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-0.9.6.rdoc +0 -127
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.0.rdoc +0 -178
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.1.rdoc +0 -187
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.2.rdoc +0 -191
- data/vendor/bundle/gems/rake-10.0.3/doc/release_notes/rake-10.0.3.rdoc +0 -191
- data/vendor/bundle/gems/rake-10.0.3/install.rb +0 -90
- data/vendor/bundle/gems/rake-10.0.3/lib/rake.rb +0 -71
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/alt_system.rb +0 -109
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/application.rb +0 -669
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/backtrace.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/clean.rb +0 -32
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/cloneable.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/compositepublisher.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/ftptools.rb +0 -151
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/publisher.rb +0 -73
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/rubyforgepublisher.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sshpublisher.rb +0 -50
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/contrib/sys.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/default_loader.rb +0 -10
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/dsl_definition.rb +0 -156
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/early_time.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/core.rb +0 -27
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/module.rb +0 -0
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/string.rb +0 -168
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ext/time.rb +0 -15
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_creation_task.rb +0 -24
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_list.rb +0 -410
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_task.rb +0 -47
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils.rb +0 -114
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/file_utils_ext.rb +0 -146
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/gempackagetask.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_chain.rb +0 -51
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/invocation_exception_mixin.rb +0 -16
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/loaders/makefile.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/multi_task.rb +0 -13
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/name_space.rb +0 -25
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/packagetask.rb +0 -185
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/pathmap.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/phony.rb +0 -15
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/private_reader.rb +0 -20
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/promise.rb +0 -99
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/pseudo_status.rb +0 -24
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_module.rb +0 -37
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rake_test_loader.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rdoctask.rb +0 -1
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/ruby182_test_unit_fix.rb +0 -25
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/rule_recursion_overflow_error.rb +0 -20
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/runtest.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task.rb +0 -350
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_argument_error.rb +0 -7
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_arguments.rb +0 -78
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/task_manager.rb +0 -296
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/tasklib.rb +0 -22
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/testtask.rb +0 -198
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_history_display.rb +0 -48
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/thread_pool.rb +0 -155
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/trace_output.rb +0 -19
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/version.rb +0 -13
- data/vendor/bundle/gems/rake-10.0.3/lib/rake/win32.rb +0 -55
- data/vendor/bundle/gems/rake-10.0.3/test/file_creation.rb +0 -34
- data/vendor/bundle/gems/rake-10.0.3/test/helper.rb +0 -562
- data/vendor/bundle/gems/rake-10.0.3/test/test_private_reader.rb +0 -42
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application.rb +0 -515
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_application_options.rb +0 -443
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_backtrace.rb +0 -89
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_clean.rb +0 -14
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_definitions.rb +0 -80
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_directory_task.rb +0 -57
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_dsl.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_early_time.rb +0 -31
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_extension.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_creation_task.rb +0 -56
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list.rb +0 -628
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_list_path_map.rb +0 -8
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_task.rb +0 -122
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_file_utils.rb +0 -305
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_ftp_file.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_functional.rb +0 -496
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_invocation_chain.rb +0 -52
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_makefile_loader.rb +0 -44
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_multi_task.rb +0 -59
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_name_space.rb +0 -43
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_package_task.rb +0 -79
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map.rb +0 -157
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_explode.rb +0 -34
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_path_map_partial.rb +0 -18
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_pseudo_status.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rake_test_loader.rb +0 -21
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_reduce_compat.rb +0 -30
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_require.rb +0 -40
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_rules.rb +0 -327
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task.rb +0 -316
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_argument_parsing.rb +0 -103
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_arguments.rb +0 -88
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_lib.rb +0 -9
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager.rb +0 -157
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_manager_argument_resolution.rb +0 -19
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_task_with_arguments.rb +0 -171
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_test_task.rb +0 -120
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_thread_pool.rb +0 -123
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_top_level_functions.rb +0 -71
- data/vendor/bundle/gems/rake-10.0.3/test/test_rake_win32.rb +0 -72
- data/vendor/bundle/gems/rake-10.0.3/test/test_thread_history_display.rb +0 -91
- data/vendor/bundle/gems/rake-10.0.3/test/test_trace_output.rb +0 -43
- data/vendor/bundle/gems/rdoc-3.12/DEVELOPERS.rdoc +0 -141
- data/vendor/bundle/gems/rdoc-3.12/History.rdoc +0 -962
- data/vendor/bundle/gems/rdoc-3.12/LEGAL.rdoc +0 -27
- data/vendor/bundle/gems/rdoc-3.12/LICENSE.rdoc +0 -57
- data/vendor/bundle/gems/rdoc-3.12/Manifest.txt +0 -228
- data/vendor/bundle/gems/rdoc-3.12/README.rdoc +0 -61
- data/vendor/bundle/gems/rdoc-3.12/RI.rdoc +0 -57
- data/vendor/bundle/gems/rdoc-3.12/Rakefile +0 -135
- data/vendor/bundle/gems/rdoc-3.12/TODO.rdoc +0 -40
- data/vendor/bundle/gems/rdoc-3.12/bin/rdoc +0 -40
- data/vendor/bundle/gems/rdoc-3.12/bin/ri +0 -12
- data/vendor/bundle/gems/rdoc-3.12/lib/gauntlet_rdoc.rb +0 -84
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc.rb +0 -221
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/alias.rb +0 -111
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/anon_class.rb +0 -10
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/any_method.rb +0 -208
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/attr.rb +0 -134
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/class_module.rb +0 -619
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_object.rb +0 -305
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/code_objects.rb +0 -5
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/comment.rb +0 -225
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/constant.rb +0 -84
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context.rb +0 -1136
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/context/section.rb +0 -123
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/cross_reference.rb +0 -175
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/encoding.rb +0 -90
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/erbio.rb +0 -37
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator.rb +0 -45
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/darkfish.rb +0 -532
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/json_index.rb +0 -240
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/markup.rb +0 -171
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/ri.rb +0 -83
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_footer.rhtml +0 -5
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_head.rhtml +0 -16
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +0 -18
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +0 -9
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +0 -8
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +0 -16
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +0 -12
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +0 -7
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +0 -12
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +0 -10
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +0 -10
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +0 -10
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/class.rhtml +0 -165
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/index.rhtml +0 -19
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/darkfish.js +0 -153
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/jquery.js +0 -18
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/js/search.js +0 -94
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/page.rhtml +0 -16
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/rdoc.css +0 -543
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +0 -55
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/navigation.js +0 -142
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/generator/template/json_index/js/searcher.js +0 -228
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ghost_method.rb +0 -6
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/include.rb +0 -110
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/known_classes.rb +0 -72
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup.rb +0 -813
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_changer.rb +0 -25
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attr_span.rb +0 -29
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute.rb +0 -51
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/attribute_manager.rb +0 -335
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/blank_line.rb +0 -27
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/document.rb +0 -148
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter.rb +0 -173
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/formatter_test_case.rb +0 -698
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/heading.rb +0 -64
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/include.rb +0 -42
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/indented_paragraph.rb +0 -33
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/inline.rb +0 -1
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list.rb +0 -82
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/list_item.rb +0 -86
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/paragraph.rb +0 -14
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/parser.rb +0 -504
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/pre_process.rb +0 -293
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/raw.rb +0 -69
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/rule.rb +0 -20
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/special.rb +0 -40
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/text_formatter_test_case.rb +0 -114
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_ansi.rb +0 -87
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_bs.rb +0 -78
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html.rb +0 -394
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_crossref.rb +0 -156
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_html_snippet.rb +0 -268
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_label.rb +0 -55
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_rdoc.rb +0 -302
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_table_of_contents.rb +0 -56
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_test.rb +0 -69
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/to_tt_only.rb +0 -111
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/markup/verbatim.rb +0 -64
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/meta_method.rb +0 -6
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/method_attr.rb +0 -384
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_class.rb +0 -69
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/normal_module.rb +0 -64
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/options.rb +0 -1040
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser.rb +0 -242
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/c.rb +0 -1024
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/rd.rb +0 -22
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby.rb +0 -1816
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/ruby_tools.rb +0 -162
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/simple.rb +0 -61
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/parser/text.rb +0 -11
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd.rb +0 -95
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/block_parser.ry +0 -638
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline.rb +0 -71
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rd/inline_parser.ry +0 -593
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rdoc.rb +0 -532
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/require.rb +0 -51
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri.rb +0 -20
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/driver.rb +0 -1174
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/formatter.rb +0 -5
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/paths.rb +0 -128
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ri/store.rb +0 -357
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_lex.rb +0 -1334
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/ruby_token.rb +0 -458
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/rubygems_hook.rb +0 -220
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/single_class.rb +0 -21
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats.rb +0 -436
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/normal.rb +0 -48
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/quiet.rb +0 -59
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/stats/verbose.rb +0 -45
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/task.rb +0 -329
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/test_case.rb +0 -76
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/text.rb +0 -314
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/token_stream.rb +0 -95
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/tom_doc.rb +0 -232
- data/vendor/bundle/gems/rdoc-3.12/lib/rdoc/top_level.rb +0 -523
- data/vendor/bundle/gems/rdoc-3.12/test/README +0 -1
- data/vendor/bundle/gems/rdoc-3.12/test/binary.dat +0 -0
- data/vendor/bundle/gems/rdoc-3.12/test/hidden.zip.txt +0 -1
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.large.rdoc +0 -3
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.rdoc +0 -10
- data/vendor/bundle/gems/rdoc-3.12/test/test.ja.txt +0 -8
- data/vendor/bundle/gems/rdoc-3.12/test/test.txt +0 -1
- data/vendor/bundle/gems/rdoc-3.12/test/test_attribute_manager.rb +0 -117
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_alias.rb +0 -13
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_any_method.rb +0 -248
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_attr.rb +0 -136
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_class_module.rb +0 -814
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_code_object.rb +0 -297
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_comment.rb +0 -504
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_constant.rb +0 -15
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context.rb +0 -791
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_context_section.rb +0 -53
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_cross_reference.rb +0 -176
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_encoding.rb +0 -188
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_darkfish.rb +0 -151
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_json_index.rb +0 -255
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_markup.rb +0 -56
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_generator_ri.rb +0 -84
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_include.rb +0 -96
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup.rb +0 -95
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_attribute_manager.rb +0 -237
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_document.rb +0 -180
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_formatter.rb +0 -55
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_heading.rb +0 -20
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_include.rb +0 -19
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_indented_paragraph.rb +0 -39
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_paragraph.rb +0 -18
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_parser.rb +0 -1624
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_pre_process.rb +0 -461
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_raw.rb +0 -29
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_ansi.rb +0 -348
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_bs.rb +0 -342
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html.rb +0 -515
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_crossref.rb +0 -200
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_html_snippet.rb +0 -668
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_label.rb +0 -50
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_rdoc.rb +0 -357
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_table_of_contents.rb +0 -90
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_to_tt_only.rb +0 -226
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_markup_verbatim.rb +0 -16
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_method_attr.rb +0 -150
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_class.rb +0 -23
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_normal_module.rb +0 -37
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_options.rb +0 -579
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser.rb +0 -162
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_c.rb +0 -1438
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_rd.rb +0 -52
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_ruby.rb +0 -2490
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_parser_simple.rb +0 -115
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd.rb +0 -30
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_block_parser.rb +0 -527
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline.rb +0 -63
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rd_inline_parser.rb +0 -173
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rdoc.rb +0 -280
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_require.rb +0 -25
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_driver.rb +0 -1059
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_paths.rb +0 -46
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ri_store.rb +0 -466
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_ruby_lex.rb +0 -137
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_rubygems_hook.rb +0 -202
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_single_class.rb +0 -12
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_stats.rb +0 -588
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_task.rb +0 -120
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_text.rb +0 -542
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_token_stream.rb +0 -42
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_tom_doc.rb +0 -458
- data/vendor/bundle/gems/rdoc-3.12/test/test_rdoc_top_level.rb +0 -313
- data/vendor/bundle/gems/rdoc-3.12/test/xref_data.rb +0 -76
- data/vendor/bundle/gems/rdoc-3.12/test/xref_test_case.rb +0 -67
- data/vendor/bundle/gems/sprockets-2.2.2/LICENSE +0 -21
- data/vendor/bundle/gems/sprockets-2.2.2/README.md +0 -405
- data/vendor/bundle/gems/sprockets-2.2.2/bin/sprockets +0 -80
- data/vendor/bundle/gems/sprockets-2.2.2/lib/rake/sprocketstask.rb +0 -140
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets.rb +0 -64
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset.rb +0 -260
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/asset_attributes.rb +0 -126
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/base.rb +0 -307
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb +0 -79
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/cache/file_store.rb +0 -32
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/caching.rb +0 -96
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/charset_normalizer.rb +0 -41
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/context.rb +0 -235
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/directive_processor.rb +0 -406
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/eco_template.rb +0 -38
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/ejs_template.rb +0 -37
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/engines.rb +0 -74
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/environment.rb +0 -91
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb +0 -19
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/index.rb +0 -99
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/jst_processor.rb +0 -33
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/manifest.rb +0 -203
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/mime.rb +0 -48
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processed_asset.rb +0 -152
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processing.rb +0 -280
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/processor.rb +0 -32
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/safety_colons.rb +0 -28
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/server.rb +0 -247
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/static_asset.rb +0 -57
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/trail.rb +0 -90
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/utils.rb +0 -69
- data/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/version.rb +0 -3
- data/vendor/bundle/gems/thor-0.16.0/CHANGELOG.rdoc +0 -134
- data/vendor/bundle/gems/thor-0.16.0/Gemfile +0 -15
- data/vendor/bundle/gems/thor-0.16.0/LICENSE.md +0 -20
- data/vendor/bundle/gems/thor-0.16.0/README.md +0 -28
- data/vendor/bundle/gems/thor-0.16.0/Thorfile +0 -30
- data/vendor/bundle/gems/thor-0.16.0/bin/rake2thor +0 -86
- data/vendor/bundle/gems/thor-0.16.0/bin/thor +0 -6
- data/vendor/bundle/gems/thor-0.16.0/lib/thor.rb +0 -379
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions.rb +0 -318
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_file.rb +0 -105
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/create_link.rb +0 -57
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/directory.rb +0 -98
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb +0 -153
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb +0 -308
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/actions/inject_into_file.rb +0 -109
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/base.rb +0 -641
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/dir_escape.rb +0 -0
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/file_binary_read.rb +0 -9
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/hash_with_indifferent_access.rb +0 -75
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/core_ext/ordered_hash.rb +0 -100
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/error.rb +0 -35
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/group.rb +0 -285
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/invocation.rb +0 -170
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser.rb +0 -4
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/argument.rb +0 -74
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/arguments.rb +0 -171
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/option.rb +0 -121
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/parser/options.rb +0 -178
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/rake_compat.rb +0 -71
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/runner.rb +0 -321
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell.rb +0 -88
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/basic.rb +0 -389
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/color.rb +0 -144
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/shell/html.rb +0 -123
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/task.rb +0 -132
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/util.rb +0 -266
- data/vendor/bundle/gems/thor-0.16.0/lib/thor/version.rb +0 -3
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_file_spec.rb +0 -170
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/create_link_spec.rb +0 -81
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/directory_spec.rb +0 -149
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/empty_directory_spec.rb +0 -130
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/file_manipulation_spec.rb +0 -370
- data/vendor/bundle/gems/thor-0.16.0/spec/actions/inject_into_file_spec.rb +0 -135
- data/vendor/bundle/gems/thor-0.16.0/spec/actions_spec.rb +0 -331
- data/vendor/bundle/gems/thor-0.16.0/spec/base_spec.rb +0 -279
- data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/hash_with_indifferent_access_spec.rb +0 -43
- data/vendor/bundle/gems/thor-0.16.0/spec/core_ext/ordered_hash_spec.rb +0 -115
- data/vendor/bundle/gems/thor-0.16.0/spec/exit_condition_spec.rb +0 -19
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/application.rb +0 -2
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/app{1}/README +0 -3
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/execute.rb +0 -6
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/bundle/main.thor +0 -1
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/%file_name%.rb.tt +0 -1
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/COMMENTER +0 -10
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/README +0 -3
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/block_helper.rb +0 -3
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.rb +0 -1
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/doc/config.yaml.tt +0 -1
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/enum.thor +0 -10
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/group.thor +0 -114
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/invoke.thor +0 -112
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with spaces b/data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/path with → spaces +0 -0
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/script.thor +0 -190
- data/vendor/bundle/gems/thor-0.16.0/spec/fixtures/task.thor +0 -10
- data/vendor/bundle/gems/thor-0.16.0/spec/group_spec.rb +0 -216
- data/vendor/bundle/gems/thor-0.16.0/spec/invocation_spec.rb +0 -100
- data/vendor/bundle/gems/thor-0.16.0/spec/parser/argument_spec.rb +0 -53
- data/vendor/bundle/gems/thor-0.16.0/spec/parser/arguments_spec.rb +0 -66
- data/vendor/bundle/gems/thor-0.16.0/spec/parser/option_spec.rb +0 -202
- data/vendor/bundle/gems/thor-0.16.0/spec/parser/options_spec.rb +0 -330
- data/vendor/bundle/gems/thor-0.16.0/spec/rake_compat_spec.rb +0 -72
- data/vendor/bundle/gems/thor-0.16.0/spec/register_spec.rb +0 -135
- data/vendor/bundle/gems/thor-0.16.0/spec/runner_spec.rb +0 -241
- data/vendor/bundle/gems/thor-0.16.0/spec/shell/basic_spec.rb +0 -300
- data/vendor/bundle/gems/thor-0.16.0/spec/shell/color_spec.rb +0 -81
- data/vendor/bundle/gems/thor-0.16.0/spec/shell/html_spec.rb +0 -32
- data/vendor/bundle/gems/thor-0.16.0/spec/shell_spec.rb +0 -47
- data/vendor/bundle/gems/thor-0.16.0/spec/spec_helper.rb +0 -59
- data/vendor/bundle/gems/thor-0.16.0/spec/task_spec.rb +0 -80
- data/vendor/bundle/gems/thor-0.16.0/spec/thor_spec.rb +0 -418
- data/vendor/bundle/gems/thor-0.16.0/spec/util_spec.rb +0 -196
- data/vendor/bundle/gems/thor-0.16.0/thor.gemspec +0 -26
- data/vendor/bundle/gems/tilt-1.3.3/COPYING +0 -18
- data/vendor/bundle/gems/tilt-1.3.3/Gemfile +0 -2
- data/vendor/bundle/gems/tilt-1.3.3/README.md +0 -208
- data/vendor/bundle/gems/tilt-1.3.3/Rakefile +0 -80
- data/vendor/bundle/gems/tilt-1.3.3/TEMPLATES.md +0 -516
- data/vendor/bundle/gems/tilt-1.3.3/bin/tilt +0 -110
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt.rb +0 -190
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/builder.rb +0 -40
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/coffee.rb +0 -50
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/css.rb +0 -72
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/erb.rb +0 -110
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/haml.rb +0 -64
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/liquid.rb +0 -41
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markaby.rb +0 -52
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/markdown.rb +0 -190
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/nokogiri.rb +0 -43
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/radius.rb +0 -51
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/rdoc.rb +0 -32
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/string.rb +0 -21
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/template.rb +0 -285
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/textile.rb +0 -25
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/wiki.rb +0 -50
- data/vendor/bundle/gems/tilt-1.3.3/lib/tilt/yajl.rb +0 -94
- data/vendor/bundle/gems/tilt-1.3.3/test/contest.rb +0 -68
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/locals.mab +0 -1
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby.mab +0 -1
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/markaby_other_static.mab +0 -1
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/render_twice.mab +0 -1
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/scope.mab +0 -1
- data/vendor/bundle/gems/tilt-1.3.3/test/markaby/yielding.mab +0 -2
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_blueclothtemplate_test.rb +0 -45
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_buildertemplate_test.rb +0 -59
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_cache_test.rb +0 -32
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_coffeescripttemplate_test.rb +0 -61
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_compilesite_test.rb +0 -51
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_creoletemplate_test.rb +0 -28
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erbtemplate_test.rb +0 -234
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_erubistemplate_test.rb +0 -151
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_fallback_test.rb +0 -122
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_hamltemplate_test.rb +0 -144
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_kramdown_test.rb +0 -42
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_lesstemplate_test.rb +0 -26
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_liquidtemplate_test.rb +0 -78
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markaby_test.rb +0 -88
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_markdown_test.rb +0 -161
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_marukutemplate_test.rb +0 -48
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_nokogiritemplate_test.rb +0 -87
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_radiustemplate_test.rb +0 -75
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdiscounttemplate_test.rb +0 -55
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_rdoctemplate_test.rb +0 -24
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redcarpettemplate_test.rb +0 -59
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_redclothtemplate_test.rb +0 -24
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_sasstemplate_test.rb +0 -41
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_stringtemplate_test.rb +0 -170
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_template_test.rb +0 -154
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_test.rb +0 -65
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_wikiclothtemplate_test.rb +0 -32
- data/vendor/bundle/gems/tilt-1.3.3/test/tilt_yajltemplate_test.rb +0 -92
- data/vendor/bundle/gems/tilt-1.3.3/tilt.gemspec +0 -109
- data/vendor/bundle/specifications/actionpack-3.2.11.gemspec +0 -57
- data/vendor/bundle/specifications/activemodel-3.2.11.gemspec +0 -32
- data/vendor/bundle/specifications/activesupport-3.2.11.gemspec +0 -33
- data/vendor/bundle/specifications/builder-3.0.4.gemspec +0 -29
- data/vendor/bundle/specifications/erubis-2.7.0.gemspec +0 -28
- data/vendor/bundle/specifications/hike-1.2.1.gemspec +0 -25
- data/vendor/bundle/specifications/i18n-0.6.1.gemspec +0 -38
- data/vendor/bundle/specifications/journey-1.0.4.gemspec +0 -47
- data/vendor/bundle/specifications/json-1.7.6.gemspec +0 -36
- data/vendor/bundle/specifications/multi_json-1.5.0.gemspec +0 -41
- data/vendor/bundle/specifications/rack-1.4.4.gemspec +0 -47
- data/vendor/bundle/specifications/rack-cache-1.2.gemspec +0 -40
- data/vendor/bundle/specifications/rack-ssl-1.3.2.gemspec +0 -29
- data/vendor/bundle/specifications/rack-test-0.6.2.gemspec +0 -31
- data/vendor/bundle/specifications/railties-3.2.11.gemspec +0 -47
- data/vendor/bundle/specifications/rake-10.0.3.gemspec +0 -34
- data/vendor/bundle/specifications/rdoc-3.12.gemspec +0 -51
- data/vendor/bundle/specifications/sprockets-2.2.2.gemspec +0 -64
- data/vendor/bundle/specifications/thor-0.16.0.gemspec +0 -50
- data/vendor/bundle/specifications/tilt-1.3.3.gemspec +0 -97
@@ -1,205 +0,0 @@
|
|
1
|
-
h2. Active Model Basics
|
2
|
-
|
3
|
-
This guide should provide you with all you need to get started using model classes. Active Model allow for Action Pack helpers to interact with non-ActiveRecord models. Active Model also helps building custom ORMs for use outside of the Rails framework.
|
4
|
-
|
5
|
-
endprologue.
|
6
|
-
|
7
|
-
WARNING. This Guide is based on Rails 3.0. Some of the code shown here will not work in earlier versions of Rails.
|
8
|
-
|
9
|
-
h3. Introduction
|
10
|
-
|
11
|
-
Active Model is a library containing various modules used in developing frameworks that need to interact with the Rails Action Pack library. Active Model provides a known set of interfaces for usage in classes. Some of modules are explained below -
|
12
|
-
|
13
|
-
h4. AttributeMethods
|
14
|
-
|
15
|
-
AttributeMethods module can add custom prefixes and suffixes on methods of a class. It is used by defining the prefixes and suffixes, which methods on the object will use them.
|
16
|
-
|
17
|
-
<ruby>
|
18
|
-
class Person
|
19
|
-
include ActiveModel::AttributeMethods
|
20
|
-
|
21
|
-
attribute_method_prefix 'reset_'
|
22
|
-
attribute_method_suffix '_highest?'
|
23
|
-
define_attribute_methods ['age']
|
24
|
-
|
25
|
-
attr_accessor :age
|
26
|
-
|
27
|
-
private
|
28
|
-
def reset_attribute(attribute)
|
29
|
-
send("#{attribute}=", 0)
|
30
|
-
end
|
31
|
-
|
32
|
-
def attribute_highest?(attribute)
|
33
|
-
send(attribute) > 100 ? true : false
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
37
|
-
|
38
|
-
person = Person.new
|
39
|
-
person.age = 110
|
40
|
-
person.age_highest? # true
|
41
|
-
person.reset_age # 0
|
42
|
-
person.age_highest? # false
|
43
|
-
|
44
|
-
</ruby>
|
45
|
-
|
46
|
-
h4. Callbacks
|
47
|
-
|
48
|
-
Callbacks gives Active Record style callbacks. This provides the ability to define the callbacks and those will run at appropriate time. After defining a callbacks you can wrap with before, after and around custom methods.
|
49
|
-
|
50
|
-
<ruby>
|
51
|
-
class Person
|
52
|
-
extend ActiveModel::Callbacks
|
53
|
-
|
54
|
-
define_model_callbacks :update
|
55
|
-
|
56
|
-
before_update :reset_me
|
57
|
-
|
58
|
-
def update
|
59
|
-
_run_update_callbacks do
|
60
|
-
# This will call when we are trying to call update on object.
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
|
-
def reset_me
|
65
|
-
# This method will call when you are calling update on object as a before_update callback as defined.
|
66
|
-
end
|
67
|
-
end
|
68
|
-
</ruby>
|
69
|
-
|
70
|
-
h4. Conversion
|
71
|
-
|
72
|
-
If a class defines persisted? and id methods then you can include Conversion module in that class and you can able to call Rails conversion methods to objects of that class.
|
73
|
-
|
74
|
-
<ruby>
|
75
|
-
class Person
|
76
|
-
include ActiveModel::Conversion
|
77
|
-
|
78
|
-
def persisted?
|
79
|
-
false
|
80
|
-
end
|
81
|
-
|
82
|
-
def id
|
83
|
-
nil
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
person = Person.new
|
88
|
-
person.to_model == person #=> true
|
89
|
-
person.to_key #=> nil
|
90
|
-
person.to_param #=> nil
|
91
|
-
</ruby>
|
92
|
-
|
93
|
-
h4. Dirty
|
94
|
-
|
95
|
-
An object becomes dirty when an object is gone through one or more changes to its attributes and not yet saved. This gives the ability to check whether an object has been changed or not. It also has attribute based accessor methods. Lets consider a Person class with attributes first_name and last_name
|
96
|
-
|
97
|
-
<ruby>
|
98
|
-
require 'rubygems'
|
99
|
-
require 'active_model'
|
100
|
-
|
101
|
-
class Person
|
102
|
-
include ActiveModel::Dirty
|
103
|
-
define_attribute_methods [:first_name, :last_name]
|
104
|
-
|
105
|
-
def first_name
|
106
|
-
@first_name
|
107
|
-
end
|
108
|
-
|
109
|
-
def first_name=(value)
|
110
|
-
first_name_will_change!
|
111
|
-
@first_name = value
|
112
|
-
end
|
113
|
-
|
114
|
-
def last_name
|
115
|
-
@last_name
|
116
|
-
end
|
117
|
-
|
118
|
-
def last_name=(value)
|
119
|
-
last_name_will_change!
|
120
|
-
@last_name = value
|
121
|
-
end
|
122
|
-
|
123
|
-
def save
|
124
|
-
@previously_changed = changes
|
125
|
-
end
|
126
|
-
|
127
|
-
end
|
128
|
-
</ruby>
|
129
|
-
|
130
|
-
h5. Querying object directly for its list of all changed attributes.
|
131
|
-
|
132
|
-
<ruby>
|
133
|
-
person = Person.new
|
134
|
-
person.first_name = "First Name"
|
135
|
-
|
136
|
-
person.first_name #=> "First Name"
|
137
|
-
person.first_name = "First Name Changed"
|
138
|
-
|
139
|
-
person.changed? #=> true
|
140
|
-
|
141
|
-
#returns an list of fields arry which all has been changed before saved.
|
142
|
-
person.changed #=> ["first_name"]
|
143
|
-
|
144
|
-
#returns a hash of the fields that have changed with their original values.
|
145
|
-
person.changed_attributes #=> {"first_name" => "First Name Changed"}
|
146
|
-
|
147
|
-
#returns a hash of changes, with the attribute names as the keys, and the values will be an array of the old and new value for that field.
|
148
|
-
person.changes #=> {"first_name" => ["First Name","First Name Changed"]}
|
149
|
-
</ruby>
|
150
|
-
|
151
|
-
h5. Attribute based accessor methods
|
152
|
-
|
153
|
-
Track whether the particular attribute has been changed or not.
|
154
|
-
|
155
|
-
<ruby>
|
156
|
-
#attr_name_changed?
|
157
|
-
person.first_name #=> "First Name"
|
158
|
-
|
159
|
-
#assign some other value to first_name attribute
|
160
|
-
person.first_name = "First Name 1"
|
161
|
-
|
162
|
-
person.first_name_changed? #=> true
|
163
|
-
</ruby>
|
164
|
-
|
165
|
-
Track what was the previous value of the attribute.
|
166
|
-
|
167
|
-
<ruby>
|
168
|
-
#attr_name_was accessor
|
169
|
-
person.first_name_was #=> "First Name"
|
170
|
-
</ruby>
|
171
|
-
|
172
|
-
Track both previous and current value of the changed attribute. Returns an array if changed else returns nil
|
173
|
-
|
174
|
-
<ruby>
|
175
|
-
#attr_name_change
|
176
|
-
person.first_name_change #=> ["First Name", "First Name 1"]
|
177
|
-
person.last_name_change #=> nil
|
178
|
-
</ruby>
|
179
|
-
|
180
|
-
h4. Validations
|
181
|
-
|
182
|
-
Validations module adds the ability to class objects to validate them in Active Record style.
|
183
|
-
|
184
|
-
<ruby>
|
185
|
-
class Person
|
186
|
-
include ActiveModel::Validations
|
187
|
-
|
188
|
-
attr_accessor :name, :email, :token
|
189
|
-
|
190
|
-
validates :name, :presence => true
|
191
|
-
validates_format_of :email, :with => /^([^\s]+)((?:[-a-z0-9]\.)[a-z]{2,})$/i
|
192
|
-
validates! :token, :presence => true
|
193
|
-
|
194
|
-
end
|
195
|
-
|
196
|
-
person = Person.new(:token => "2b1f325")
|
197
|
-
person.valid? #=> false
|
198
|
-
person.name = 'vishnu'
|
199
|
-
person.email = 'me'
|
200
|
-
person.valid? #=> false
|
201
|
-
person.email = 'me@vishnuatrai.com'
|
202
|
-
person.valid? #=> true
|
203
|
-
person.token = nil
|
204
|
-
person.valid? #=> raises ActiveModel::StrictValidationFailed
|
205
|
-
</ruby>
|
@@ -1,218 +0,0 @@
|
|
1
|
-
h2. Active Record Basics
|
2
|
-
|
3
|
-
This guide is an introduction to Active Record. After reading this guide we hope that you'll learn:
|
4
|
-
|
5
|
-
* What Object Relational Mapping and Active Record are and how they are used in Rails
|
6
|
-
* How Active Record fits into the Model-View-Controller paradigm
|
7
|
-
* How to use Active Record models to manipulate data stored in a relational database
|
8
|
-
* Active Record schema naming conventions
|
9
|
-
* The concepts of database migrations, validations and callbacks
|
10
|
-
|
11
|
-
endprologue.
|
12
|
-
|
13
|
-
h3. What is Active Record?
|
14
|
-
|
15
|
-
Active Record is the M in "MVC":getting_started.html#the-mvc-architecture - the model - which is the layer of the system responsible for representing business data and logic. Active Record facilitates the creation and use of business objects whose data requires persistent storage to a database. It is an implementation of the Active Record pattern which itself is a description of an Object Relational Mapping system.
|
16
|
-
|
17
|
-
h4. The Active Record Pattern
|
18
|
-
|
19
|
-
Active Record was described by Martin Fowler in his book _Patterns of Enterprise Application Architecture_. In Active Record, objects carry both persistent data and behavior which operates on that data. Active Record takes the opinion that ensuring data access logic is part of the object will educate users of that object on how to write to and read from the database.
|
20
|
-
|
21
|
-
h4. Object Relational Mapping
|
22
|
-
|
23
|
-
Object-Relational Mapping, commonly referred to as its abbreviation ORM, is a technique that connects the rich objects of an application to tables in a relational database management system. Using ORM, the properties and relationships of the objects in an application can be easily stored and retrieved from a database without writing SQL statements directly and with less overall database access code.
|
24
|
-
|
25
|
-
h4. Active Record as an ORM Framework
|
26
|
-
|
27
|
-
Active Record gives us several mechanisms, the most important being the ability to:
|
28
|
-
|
29
|
-
* Represent models and their data
|
30
|
-
* Represent associations between these models
|
31
|
-
* Represent inheritance hierarchies through related models
|
32
|
-
* Validate models before they get persisted to the database
|
33
|
-
* Perform database operations in an object-oriented fashion.
|
34
|
-
|
35
|
-
h3. Convention over Configuration in Active Record
|
36
|
-
|
37
|
-
When writing applications using other programming languages or frameworks, it may be necessary to write a lot of configuration code. This is particularly true for ORM frameworks in general. However, if you follow the conventions adopted by Rails, you'll need to write very little configuration (in some case no configuration at all) when creating Active Record models. The idea is that if you configure your applications in the very same way most of the times then this should be the default way. In this cases, explicit configuration would be needed only in those cases where you can't follow the conventions for any reason.
|
38
|
-
|
39
|
-
h4. Naming Conventions
|
40
|
-
|
41
|
-
By default, Active Record uses some naming conventions to find out how the mapping between models and database tables should be created. Rails will pluralize your class names to find the respective database table. So, for a class +Book+, you should have a database table called *books*. The Rails pluralization mechanisms are very powerful, being capable to pluralize (and singularize) both regular and irregular words. When using class names composed of two or more words, the model class name should follow the Ruby conventions, using the CamelCase form, while the table name must contain the words separated by underscores. Examples:
|
42
|
-
|
43
|
-
* Database Table - Plural with underscores separating words (e.g., +book_clubs+)
|
44
|
-
* Model Class - Singular with the first letter of each word capitalized (e.g., +BookClub+)
|
45
|
-
|
46
|
-
|_.Model / Class |_.Table / Schema |
|
47
|
-
|+Post+ |+posts+|
|
48
|
-
|+LineItem+ |+line_items+|
|
49
|
-
|+Deer+ |+deer+|
|
50
|
-
|+Mouse+ |+mice+|
|
51
|
-
|+Person+ |+people+|
|
52
|
-
|
53
|
-
|
54
|
-
h4. Schema Conventions
|
55
|
-
|
56
|
-
Active Record uses naming conventions for the columns in database tables, depending on the purpose of these columns.
|
57
|
-
|
58
|
-
* *Foreign keys* - These fields should be named following the pattern +singularized_table_name_id+ (e.g., +item_id+, +order_id+). These are the fields that Active Record will look for when you create associations between your models.
|
59
|
-
* *Primary keys* - By default, Active Record will use an integer column named +id+ as the table's primary key. When using "Rails Migrations":migrations.html to create your tables, this column will be automatically created.
|
60
|
-
|
61
|
-
There are also some optional column names that will create additional features to Active Record instances:
|
62
|
-
|
63
|
-
* +created_at+ - Automatically gets set to the current date and time when the record is first created.
|
64
|
-
* +created_on+ - Automatically gets set to the current date when the record is first created.
|
65
|
-
* +updated_at+ - Automatically gets set to the current date and time whenever the record is updated.
|
66
|
-
* +updated_on+ - Automatically gets set to the current date whenever the record is updated.
|
67
|
-
* +lock_version+ - Adds "optimistic locking":http://api.rubyonrails.org/classes/ActiveRecord/Locking.html to a model.
|
68
|
-
* +type+ - Specifies that the model uses "Single Table Inheritance":http://api.rubyonrails.org/classes/ActiveRecord/Base.html
|
69
|
-
* +(table_name)_count+ - Used to cache the number of belonging objects on associations. For example, a +comments_count+ column in a +Post+ class that has many instances of +Comment+ will cache the number of existent comments for each post.
|
70
|
-
|
71
|
-
NOTE: While these column names are optional, they are in fact reserved by Active Record. Steer clear of reserved keywords unless you want the extra functionality. For example, +type+ is a reserved keyword used to designate a table using Single Table Inheritance (STI). If you are not using STI, try an analogous keyword like "context", that may still accurately describe the data you are modeling.
|
72
|
-
|
73
|
-
h3. Creating Active Record Models
|
74
|
-
|
75
|
-
It is very easy to create Active Record models. All you have to do is to subclass the +ActiveRecord::Base+ class and you're good to go:
|
76
|
-
|
77
|
-
<ruby>
|
78
|
-
class Product < ActiveRecord::Base
|
79
|
-
end
|
80
|
-
</ruby>
|
81
|
-
|
82
|
-
This will create a +Product+ model, mapped to a +products+ table at the database. By doing this you'll also have the ability to map the columns of each row in that table with the attributes of the instances of your model. Suppose that the +products+ table was created using an SQL sentence like:
|
83
|
-
|
84
|
-
<sql>
|
85
|
-
CREATE TABLE products (
|
86
|
-
id int(11) NOT NULL auto_increment,
|
87
|
-
name varchar(255),
|
88
|
-
PRIMARY KEY (id)
|
89
|
-
);
|
90
|
-
</sql>
|
91
|
-
|
92
|
-
Following the table schema above, you would be able to write code like the following:
|
93
|
-
|
94
|
-
<ruby>
|
95
|
-
p = Product.new
|
96
|
-
p.name = "Some Book"
|
97
|
-
puts p.name # "Some Book"
|
98
|
-
</ruby>
|
99
|
-
|
100
|
-
h3. Overriding the Naming Conventions
|
101
|
-
|
102
|
-
What if you need to follow a different naming convention or need to use your Rails application with a legacy database? No problem, you can easily override the default conventions.
|
103
|
-
|
104
|
-
You can use the +ActiveRecord::Base.table_name=+ method to specify the table name that should be used:
|
105
|
-
|
106
|
-
<ruby>
|
107
|
-
class Product < ActiveRecord::Base
|
108
|
-
self.table_name = "PRODUCT"
|
109
|
-
end
|
110
|
-
</ruby>
|
111
|
-
|
112
|
-
If you do so, you will have to define manually the class name that is hosting the fixtures (class_name.yml) using the +set_fixture_class+ method in your test definition:
|
113
|
-
|
114
|
-
<ruby>
|
115
|
-
class FunnyJoke < ActiveSupport::TestCase
|
116
|
-
set_fixture_class :funny_jokes => 'Joke'
|
117
|
-
fixtures :funny_jokes
|
118
|
-
...
|
119
|
-
end
|
120
|
-
</ruby>
|
121
|
-
|
122
|
-
It's also possible to override the column that should be used as the table's primary key using the +ActiveRecord::Base.set_primary_key+ method:
|
123
|
-
|
124
|
-
<ruby>
|
125
|
-
class Product < ActiveRecord::Base
|
126
|
-
set_primary_key "product_id"
|
127
|
-
end
|
128
|
-
</ruby>
|
129
|
-
|
130
|
-
h3. CRUD: Reading and Writing Data
|
131
|
-
|
132
|
-
CRUD is an acronym for the four verbs we use to operate on data: *C*reate, *R*ead, *U*pdate and *D*elete. Active Record automatically creates methods to allow an application to read and manipulate data stored within its tables.
|
133
|
-
|
134
|
-
h4. Create
|
135
|
-
|
136
|
-
Active Record objects can be created from a hash, a block or have their attributes manually set after creation. The +new+ method will return a new object while +create+ will return the object and save it to the database.
|
137
|
-
|
138
|
-
For example, given a model +User+ with attributes of +name+ and +occupation+, the +create+ method call will create and save a new record into the database:
|
139
|
-
|
140
|
-
<ruby>
|
141
|
-
user = User.create(:name => "David", :occupation => "Code Artist")
|
142
|
-
</ruby>
|
143
|
-
|
144
|
-
Using the +new+ method, an object can be created without being saved:
|
145
|
-
|
146
|
-
<ruby>
|
147
|
-
user = User.new
|
148
|
-
user.name = "David"
|
149
|
-
user.occupation = "Code Artist"
|
150
|
-
</ruby>
|
151
|
-
|
152
|
-
A call to +user.save+ will commit the record to the database.
|
153
|
-
|
154
|
-
Finally, if a block is provided, both +create+ and +new+ will yield the new object to that block for initialization:
|
155
|
-
|
156
|
-
<ruby>
|
157
|
-
user = User.new do |u|
|
158
|
-
u.name = "David"
|
159
|
-
u.occupation = "Code Artist"
|
160
|
-
end
|
161
|
-
</ruby>
|
162
|
-
|
163
|
-
h4. Read
|
164
|
-
|
165
|
-
Active Record provides a rich API for accessing data within a database. Below are a few examples of different data access methods provided by Active Record.
|
166
|
-
|
167
|
-
<ruby>
|
168
|
-
# return array with all records
|
169
|
-
users = User.all
|
170
|
-
</ruby>
|
171
|
-
|
172
|
-
<ruby>
|
173
|
-
# return the first record
|
174
|
-
user = User.first
|
175
|
-
</ruby>
|
176
|
-
|
177
|
-
<ruby>
|
178
|
-
# return the first user named David
|
179
|
-
david = User.find_by_name('David')
|
180
|
-
</ruby>
|
181
|
-
|
182
|
-
<ruby>
|
183
|
-
# find all users named David who are Code Artists and sort by created_at in reverse chronological order
|
184
|
-
users = User.where(:name => 'David', :occupation => 'Code Artist').order('created_at DESC')
|
185
|
-
</ruby>
|
186
|
-
|
187
|
-
You can learn more about querying an Active Record model in the "Active Record Query Interface":"active_record_querying.html" guide.
|
188
|
-
|
189
|
-
h4. Update
|
190
|
-
|
191
|
-
Once an Active Record object has been retrieved, its attributes can be modified and it can be saved to the database.
|
192
|
-
|
193
|
-
<ruby>
|
194
|
-
user = User.find_by_name('David')
|
195
|
-
user.name = 'Dave'
|
196
|
-
user.save
|
197
|
-
</ruby>
|
198
|
-
|
199
|
-
h4. Delete
|
200
|
-
|
201
|
-
Likewise, once retrieved an Active Record object can be destroyed which removes it from the database.
|
202
|
-
|
203
|
-
<ruby>
|
204
|
-
user = User.find_by_name('David')
|
205
|
-
user.destroy
|
206
|
-
</ruby>
|
207
|
-
|
208
|
-
h3. Validations
|
209
|
-
|
210
|
-
Active Record allows you to validate the state of a model before it gets written into the database. There are several methods that you can use to check your models and validate that an attribute value is not empty, is unique and not already in the database, follows a specific format and many more. You can learn more about validations in the "Active Record Validations and Callbacks guide":active_record_validations_callbacks.html#validations-overview.
|
211
|
-
|
212
|
-
h3. Callbacks
|
213
|
-
|
214
|
-
Active Record callbacks allow you to attach code to certain events in the life-cycle of your models. This enables you to add behavior to your models by transparently executing code when those events occur, like when you create a new record, update it, destroy it and so on. You can learn more about callbacks in the "Active Record Validations and Callbacks guide":active_record_validations_callbacks.html#callbacks-overview.
|
215
|
-
|
216
|
-
h3. Migrations
|
217
|
-
|
218
|
-
Rails provides a domain-specific language for managing a database schema called migrations. Migrations are stored in files which are executed against any database that Active Record support using rake. Rails keeps track of which files have been committed to the database and provides rollback features. You can learn more about migrations in the "Active Record Migrations guide":migrations.html
|
@@ -1,1433 +0,0 @@
|
|
1
|
-
h2. Active Record Query Interface
|
2
|
-
|
3
|
-
This guide covers different ways to retrieve data from the database using Active Record. By referring to this guide, you will be able to:
|
4
|
-
|
5
|
-
* Find records using a variety of methods and conditions
|
6
|
-
* Specify the order, retrieved attributes, grouping, and other properties of the found records
|
7
|
-
* Use eager loading to reduce the number of database queries needed for data retrieval
|
8
|
-
* Use dynamic finders methods
|
9
|
-
* Check for the existence of particular records
|
10
|
-
* Perform various calculations on Active Record models
|
11
|
-
* Run EXPLAIN on relations
|
12
|
-
|
13
|
-
endprologue.
|
14
|
-
|
15
|
-
WARNING. This Guide is based on Rails 3.0. Some of the code shown here will not work in other versions of Rails.
|
16
|
-
|
17
|
-
If you're used to using raw SQL to find database records, then you will generally find that there are better ways to carry out the same operations in Rails. Active Record insulates you from the need to use SQL in most cases.
|
18
|
-
|
19
|
-
Code examples throughout this guide will refer to one or more of the following models:
|
20
|
-
|
21
|
-
TIP: All of the following models use +id+ as the primary key, unless specified otherwise.
|
22
|
-
|
23
|
-
<ruby>
|
24
|
-
class Client < ActiveRecord::Base
|
25
|
-
has_one :address
|
26
|
-
has_many :orders
|
27
|
-
has_and_belongs_to_many :roles
|
28
|
-
end
|
29
|
-
</ruby>
|
30
|
-
|
31
|
-
<ruby>
|
32
|
-
class Address < ActiveRecord::Base
|
33
|
-
belongs_to :client
|
34
|
-
end
|
35
|
-
</ruby>
|
36
|
-
|
37
|
-
<ruby>
|
38
|
-
class Order < ActiveRecord::Base
|
39
|
-
belongs_to :client, :counter_cache => true
|
40
|
-
end
|
41
|
-
</ruby>
|
42
|
-
|
43
|
-
<ruby>
|
44
|
-
class Role < ActiveRecord::Base
|
45
|
-
has_and_belongs_to_many :clients
|
46
|
-
end
|
47
|
-
</ruby>
|
48
|
-
|
49
|
-
Active Record will perform queries on the database for you and is compatible with most database systems (MySQL, PostgreSQL and SQLite to name a few). Regardless of which database system you're using, the Active Record method format will always be the same.
|
50
|
-
|
51
|
-
h3. Retrieving Objects from the Database
|
52
|
-
|
53
|
-
To retrieve objects from the database, Active Record provides several finder methods. Each finder method allows you to pass arguments into it to perform certain queries on your database without writing raw SQL.
|
54
|
-
|
55
|
-
The methods are:
|
56
|
-
* +where+
|
57
|
-
* +select+
|
58
|
-
* +group+
|
59
|
-
* +order+
|
60
|
-
* +reorder+
|
61
|
-
* +reverse_order+
|
62
|
-
* +limit+
|
63
|
-
* +offset+
|
64
|
-
* +joins+
|
65
|
-
* +includes+
|
66
|
-
* +lock+
|
67
|
-
* +readonly+
|
68
|
-
* +from+
|
69
|
-
* +having+
|
70
|
-
|
71
|
-
All of the above methods return an instance of <tt>ActiveRecord::Relation</tt>.
|
72
|
-
|
73
|
-
The primary operation of <tt>Model.find(options)</tt> can be summarized as:
|
74
|
-
|
75
|
-
* Convert the supplied options to an equivalent SQL query.
|
76
|
-
* Fire the SQL query and retrieve the corresponding results from the database.
|
77
|
-
* Instantiate the equivalent Ruby object of the appropriate model for every resulting row.
|
78
|
-
* Run +after_find+ callbacks, if any.
|
79
|
-
|
80
|
-
h4. Retrieving a Single Object
|
81
|
-
|
82
|
-
Active Record provides five different ways of retrieving a single object.
|
83
|
-
|
84
|
-
h5. Using a Primary Key
|
85
|
-
|
86
|
-
Using <tt>Model.find(primary_key)</tt>, you can retrieve the object corresponding to the specified _primary key_ that matches any supplied options. For example:
|
87
|
-
|
88
|
-
<ruby>
|
89
|
-
# Find the client with primary key (id) 10.
|
90
|
-
client = Client.find(10)
|
91
|
-
# => #<Client id: 10, first_name: "Ryan">
|
92
|
-
</ruby>
|
93
|
-
|
94
|
-
The SQL equivalent of the above is:
|
95
|
-
|
96
|
-
<sql>
|
97
|
-
SELECT * FROM clients WHERE (clients.id = 10) LIMIT 1
|
98
|
-
</sql>
|
99
|
-
|
100
|
-
<tt>Model.find(primary_key)</tt> will raise an +ActiveRecord::RecordNotFound+ exception if no matching record is found.
|
101
|
-
|
102
|
-
h5. +first+
|
103
|
-
|
104
|
-
<tt>Model.first</tt> finds the first record matched by the supplied options, if any. For example:
|
105
|
-
|
106
|
-
<ruby>
|
107
|
-
client = Client.first
|
108
|
-
# => #<Client id: 1, first_name: "Lifo">
|
109
|
-
</ruby>
|
110
|
-
|
111
|
-
The SQL equivalent of the above is:
|
112
|
-
|
113
|
-
<sql>
|
114
|
-
SELECT * FROM clients LIMIT 1
|
115
|
-
</sql>
|
116
|
-
|
117
|
-
<tt>Model.first</tt> returns +nil+ if no matching record is found. No exception will be raised.
|
118
|
-
|
119
|
-
h5. +last+
|
120
|
-
|
121
|
-
<tt>Model.last</tt> finds the last record matched by the supplied options. For example:
|
122
|
-
|
123
|
-
<ruby>
|
124
|
-
client = Client.last
|
125
|
-
# => #<Client id: 221, first_name: "Russel">
|
126
|
-
</ruby>
|
127
|
-
|
128
|
-
The SQL equivalent of the above is:
|
129
|
-
|
130
|
-
<sql>
|
131
|
-
SELECT * FROM clients ORDER BY clients.id DESC LIMIT 1
|
132
|
-
</sql>
|
133
|
-
|
134
|
-
<tt>Model.last</tt> returns +nil+ if no matching record is found. No exception will be raised.
|
135
|
-
|
136
|
-
h5(#first_1). +first!+
|
137
|
-
|
138
|
-
<tt>Model.first!</tt> finds the first record. For example:
|
139
|
-
|
140
|
-
<ruby>
|
141
|
-
client = Client.first!
|
142
|
-
# => #<Client id: 1, first_name: "Lifo">
|
143
|
-
</ruby>
|
144
|
-
|
145
|
-
The SQL equivalent of the above is:
|
146
|
-
|
147
|
-
<sql>
|
148
|
-
SELECT * FROM clients LIMIT 1
|
149
|
-
</sql>
|
150
|
-
|
151
|
-
<tt>Model.first!</tt> raises +RecordNotFound+ if no matching record is found.
|
152
|
-
|
153
|
-
h5(#last_1). +last!+
|
154
|
-
|
155
|
-
<tt>Model.last!</tt> finds the last record. For example:
|
156
|
-
|
157
|
-
<ruby>
|
158
|
-
client = Client.last!
|
159
|
-
# => #<Client id: 221, first_name: "Russel">
|
160
|
-
</ruby>
|
161
|
-
|
162
|
-
The SQL equivalent of the above is:
|
163
|
-
|
164
|
-
<sql>
|
165
|
-
SELECT * FROM clients ORDER BY clients.id DESC LIMIT 1
|
166
|
-
</sql>
|
167
|
-
|
168
|
-
<tt>Model.last!</tt> raises +RecordNotFound+ if no matching record is found.
|
169
|
-
|
170
|
-
h4. Retrieving Multiple Objects
|
171
|
-
|
172
|
-
h5. Using Multiple Primary Keys
|
173
|
-
|
174
|
-
<tt>Model.find(array_of_primary_key)</tt> accepts an array of _primary keys_, returning an array containing all of the matching records for the supplied _primary keys_. For example:
|
175
|
-
|
176
|
-
<ruby>
|
177
|
-
# Find the clients with primary keys 1 and 10.
|
178
|
-
client = Client.find([1, 10]) # Or even Client.find(1, 10)
|
179
|
-
# => [#<Client id: 1, first_name: "Lifo">, #<Client id: 10, first_name: "Ryan">]
|
180
|
-
</ruby>
|
181
|
-
|
182
|
-
The SQL equivalent of the above is:
|
183
|
-
|
184
|
-
<sql>
|
185
|
-
SELECT * FROM clients WHERE (clients.id IN (1,10))
|
186
|
-
</sql>
|
187
|
-
|
188
|
-
WARNING: <tt>Model.find(array_of_primary_key)</tt> will raise an +ActiveRecord::RecordNotFound+ exception unless a matching record is found for <strong>all</strong> of the supplied primary keys.
|
189
|
-
|
190
|
-
h4. Retrieving Multiple Objects in Batches
|
191
|
-
|
192
|
-
We often need to iterate over a large set of records, as when we send a newsletter to a large set of users, or when we export data.
|
193
|
-
|
194
|
-
This may appear straightforward:
|
195
|
-
|
196
|
-
<ruby>
|
197
|
-
# This is very inefficient when the users table has thousands of rows.
|
198
|
-
User.all.each do |user|
|
199
|
-
NewsLetter.weekly_deliver(user)
|
200
|
-
end
|
201
|
-
</ruby>
|
202
|
-
|
203
|
-
But this approach becomes increasingly impractical as the table size increases, since +User.all.each+ instructs Active Record to fetch _the entire table_ in a single pass, build a model object per row, and then keep the entire array of model objects in memory. Indeed, if we have a large number of records, the entire collection may exceed the amount of memory available.
|
204
|
-
|
205
|
-
Rails provides two methods that address this problem by dividing records into memory-friendly batches for processing. The first method, +find_each+, retrieves a batch of records and then yields _each_ record to the block individually as a model. The second method, +find_in_batches+, retrieves a batch of records and then yields _the entire batch_ to the block as an array of models.
|
206
|
-
|
207
|
-
TIP: The +find_each+ and +find_in_batches+ methods are intended for use in the batch processing of a large number of records that wouldn't fit in memory all at once. If you just need to loop over a thousand records the regular find methods are the preferred option.
|
208
|
-
|
209
|
-
h5. +find_each+
|
210
|
-
|
211
|
-
The +find_each+ method retrieves a batch of records and then yields _each_ record to the block individually as a model. In the following example, +find_each+ will retrieve 1000 records (the current default for both +find_each+ and +find_in_batches+) and then yield each record individually to the block as a model. This process is repeated until all of the records have been processed:
|
212
|
-
|
213
|
-
<ruby>
|
214
|
-
User.find_each do |user|
|
215
|
-
NewsLetter.weekly_deliver(user)
|
216
|
-
end
|
217
|
-
</ruby>
|
218
|
-
|
219
|
-
h6. Options for +find_each+
|
220
|
-
|
221
|
-
The +find_each+ method accepts most of the options allowed by the regular +find+ method, except for +:order+ and +:limit+, which are reserved for internal use by +find_each+.
|
222
|
-
|
223
|
-
Two additional options, +:batch_size+ and +:start+, are available as well.
|
224
|
-
|
225
|
-
*+:batch_size+*
|
226
|
-
|
227
|
-
The +:batch_size+ option allows you to specify the number of records to be retrieved in each batch, before being passed individually to the block. For example, to retrieve records in batches of 5000:
|
228
|
-
|
229
|
-
<ruby>
|
230
|
-
User.find_each(:batch_size => 5000) do |user|
|
231
|
-
NewsLetter.weekly_deliver(user)
|
232
|
-
end
|
233
|
-
</ruby>
|
234
|
-
|
235
|
-
*+:start+*
|
236
|
-
|
237
|
-
By default, records are fetched in ascending order of the primary key, which must be an integer. The +:start+ option allows you to configure the first ID of the sequence whenever the lowest ID is not the one you need. This would be useful, for example, if you wanted to resume an interrupted batch process, provided you saved the last processed ID as a checkpoint.
|
238
|
-
|
239
|
-
For example, to send newsletters only to users with the primary key starting from 2000, and to retrieve them in batches of 5000:
|
240
|
-
|
241
|
-
<ruby>
|
242
|
-
User.find_each(:start => 2000, :batch_size => 5000) do |user|
|
243
|
-
NewsLetter.weekly_deliver(user)
|
244
|
-
end
|
245
|
-
</ruby>
|
246
|
-
|
247
|
-
Another example would be if you wanted multiple workers handling the same processing queue. You could have each worker handle 10000 records by setting the appropriate <tt>:start</tt> option on each worker.
|
248
|
-
|
249
|
-
NOTE: The +:include+ option allows you to name associations that should be loaded alongside with the models.
|
250
|
-
|
251
|
-
h5. +find_in_batches+
|
252
|
-
|
253
|
-
The +find_in_batches+ method is similar to +find_each+, since both retrieve batches of records. The difference is that +find_in_batches+ yields _batches_ to the block as an array of models, instead of individually. The following example will yield to the supplied block an array of up to 1000 invoices at a time, with the final block containing any remaining invoices:
|
254
|
-
|
255
|
-
<ruby>
|
256
|
-
# Give add_invoices an array of 1000 invoices at a time
|
257
|
-
Invoice.find_in_batches(:include => :invoice_lines) do |invoices|
|
258
|
-
export.add_invoices(invoices)
|
259
|
-
end
|
260
|
-
</ruby>
|
261
|
-
|
262
|
-
NOTE: The +:include+ option allows you to name associations that should be loaded alongside with the models.
|
263
|
-
|
264
|
-
h6. Options for +find_in_batches+
|
265
|
-
|
266
|
-
The +find_in_batches+ method accepts the same +:batch_size+ and +:start+ options as +find_each+, as well as most of the options allowed by the regular +find+ method, except for +:order+ and +:limit+, which are reserved for internal use by +find_in_batches+.
|
267
|
-
|
268
|
-
h3. Conditions
|
269
|
-
|
270
|
-
The +where+ method allows you to specify conditions to limit the records returned, representing the +WHERE+-part of the SQL statement. Conditions can either be specified as a string, array, or hash.
|
271
|
-
|
272
|
-
h4. Pure String Conditions
|
273
|
-
|
274
|
-
If you'd like to add conditions to your find, you could just specify them in there, just like +Client.where("orders_count = '2'")+. This will find all clients where the +orders_count+ field's value is 2.
|
275
|
-
|
276
|
-
WARNING: Building your own conditions as pure strings can leave you vulnerable to SQL injection exploits. For example, +Client.where("first_name LIKE '%#{params[:first_name]}%'")+ is not safe. See the next section for the preferred way to handle conditions using an array.
|
277
|
-
|
278
|
-
h4. Array Conditions
|
279
|
-
|
280
|
-
Now what if that number could vary, say as an argument from somewhere? The find would then take the form:
|
281
|
-
|
282
|
-
<ruby>
|
283
|
-
Client.where("orders_count = ?", params[:orders])
|
284
|
-
</ruby>
|
285
|
-
|
286
|
-
Active Record will go through the first element in the conditions value and any additional elements will replace the question marks +(?)+ in the first element.
|
287
|
-
|
288
|
-
If you want to specify multiple conditions:
|
289
|
-
|
290
|
-
<ruby>
|
291
|
-
Client.where("orders_count = ? AND locked = ?", params[:orders], false)
|
292
|
-
</ruby>
|
293
|
-
|
294
|
-
In this example, the first question mark will be replaced with the value in +params[:orders]+ and the second will be replaced with the SQL representation of +false+, which depends on the adapter.
|
295
|
-
|
296
|
-
This code is highly preferable:
|
297
|
-
|
298
|
-
<ruby>
|
299
|
-
Client.where("orders_count = ?", params[:orders])
|
300
|
-
</ruby>
|
301
|
-
|
302
|
-
to this code:
|
303
|
-
|
304
|
-
<ruby>
|
305
|
-
Client.where("orders_count = #{params[:orders]}")
|
306
|
-
</ruby>
|
307
|
-
|
308
|
-
because of argument safety. Putting the variable directly into the conditions string will pass the variable to the database *as-is*. This means that it will be an unescaped variable directly from a user who may have malicious intent. If you do this, you put your entire database at risk because once a user finds out he or she can exploit your database they can do just about anything to it. Never ever put your arguments directly inside the conditions string.
|
309
|
-
|
310
|
-
TIP: For more information on the dangers of SQL injection, see the "Ruby on Rails Security Guide":security.html#sql-injection.
|
311
|
-
|
312
|
-
h5. Placeholder Conditions
|
313
|
-
|
314
|
-
Similar to the +(?)+ replacement style of params, you can also specify keys/values hash in your array conditions:
|
315
|
-
|
316
|
-
<ruby>
|
317
|
-
Client.where("created_at >= :start_date AND created_at <= :end_date",
|
318
|
-
{:start_date => params[:start_date], :end_date => params[:end_date]})
|
319
|
-
</ruby>
|
320
|
-
|
321
|
-
This makes for clearer readability if you have a large number of variable conditions.
|
322
|
-
|
323
|
-
h5(#array-range_conditions). Range Conditions
|
324
|
-
|
325
|
-
If you're looking for a range inside of a table (for example, users created in a certain timeframe) you can use the conditions option coupled with the +IN+ SQL statement for this. If you had two dates coming in from a controller you could do something like this to look for a range:
|
326
|
-
|
327
|
-
<ruby>
|
328
|
-
Client.where(:created_at => (params[:start_date].to_date)..(params[:end_date].to_date))
|
329
|
-
</ruby>
|
330
|
-
|
331
|
-
This query will generate something similar to the following SQL:
|
332
|
-
|
333
|
-
<sql>
|
334
|
-
SELECT "clients".* FROM "clients" WHERE ("clients"."created_at" BETWEEN '2010-09-29' AND '2010-11-30')
|
335
|
-
</sql>
|
336
|
-
|
337
|
-
h4. Hash Conditions
|
338
|
-
|
339
|
-
Active Record also allows you to pass in hash conditions which can increase the readability of your conditions syntax. With hash conditions, you pass in a hash with keys of the fields you want conditionalised and the values of how you want to conditionalise them:
|
340
|
-
|
341
|
-
NOTE: Only equality, range and subset checking are possible with Hash conditions.
|
342
|
-
|
343
|
-
h5. Equality Conditions
|
344
|
-
|
345
|
-
<ruby>
|
346
|
-
Client.where(:locked => true)
|
347
|
-
</ruby>
|
348
|
-
|
349
|
-
The field name can also be a string:
|
350
|
-
|
351
|
-
<ruby>
|
352
|
-
Client.where('locked' => true)
|
353
|
-
</ruby>
|
354
|
-
|
355
|
-
h5(#hash-range_conditions). Range Conditions
|
356
|
-
|
357
|
-
The good thing about this is that we can pass in a range for our fields without it generating a large query as shown in the preamble of this section.
|
358
|
-
|
359
|
-
<ruby>
|
360
|
-
Client.where(:created_at => (Time.now.midnight - 1.day)..Time.now.midnight)
|
361
|
-
</ruby>
|
362
|
-
|
363
|
-
This will find all clients created yesterday by using a +BETWEEN+ SQL statement:
|
364
|
-
|
365
|
-
<sql>
|
366
|
-
SELECT * FROM clients WHERE (clients.created_at BETWEEN '2008-12-21 00:00:00' AND '2008-12-22 00:00:00')
|
367
|
-
</sql>
|
368
|
-
|
369
|
-
This demonstrates a shorter syntax for the examples in "Array Conditions":#array-conditions
|
370
|
-
|
371
|
-
h5. Subset Conditions
|
372
|
-
|
373
|
-
If you want to find records using the +IN+ expression you can pass an array to the conditions hash:
|
374
|
-
|
375
|
-
<ruby>
|
376
|
-
Client.where(:orders_count => [1,3,5])
|
377
|
-
</ruby>
|
378
|
-
|
379
|
-
This code will generate SQL like this:
|
380
|
-
|
381
|
-
<sql>
|
382
|
-
SELECT * FROM clients WHERE (clients.orders_count IN (1,3,5))
|
383
|
-
</sql>
|
384
|
-
|
385
|
-
h3. Ordering
|
386
|
-
|
387
|
-
To retrieve records from the database in a specific order, you can use the +order+ method.
|
388
|
-
|
389
|
-
For example, if you're getting a set of records and want to order them in ascending order by the +created_at+ field in your table:
|
390
|
-
|
391
|
-
<ruby>
|
392
|
-
Client.order("created_at")
|
393
|
-
</ruby>
|
394
|
-
|
395
|
-
You could specify +ASC+ or +DESC+ as well:
|
396
|
-
|
397
|
-
<ruby>
|
398
|
-
Client.order("created_at DESC")
|
399
|
-
# OR
|
400
|
-
Client.order("created_at ASC")
|
401
|
-
</ruby>
|
402
|
-
|
403
|
-
Or ordering by multiple fields:
|
404
|
-
|
405
|
-
<ruby>
|
406
|
-
Client.order("orders_count ASC, created_at DESC")
|
407
|
-
</ruby>
|
408
|
-
|
409
|
-
h3. Selecting Specific Fields
|
410
|
-
|
411
|
-
By default, <tt>Model.find</tt> selects all the fields from the result set using +select *+.
|
412
|
-
|
413
|
-
To select only a subset of fields from the result set, you can specify the subset via the +select+ method.
|
414
|
-
|
415
|
-
NOTE: If the +select+ method is used, all the returning objects will be "read only":#readonly-objects.
|
416
|
-
|
417
|
-
<br />
|
418
|
-
|
419
|
-
For example, to select only +viewable_by+ and +locked+ columns:
|
420
|
-
|
421
|
-
<ruby>
|
422
|
-
Client.select("viewable_by, locked")
|
423
|
-
</ruby>
|
424
|
-
|
425
|
-
The SQL query used by this find call will be somewhat like:
|
426
|
-
|
427
|
-
<sql>
|
428
|
-
SELECT viewable_by, locked FROM clients
|
429
|
-
</sql>
|
430
|
-
|
431
|
-
Be careful because this also means you're initializing a model object with only the fields that you've selected. If you attempt to access a field that is not in the initialized record you'll receive:
|
432
|
-
|
433
|
-
<shell>
|
434
|
-
ActiveModel::MissingAttributeError: missing attribute: <attribute>
|
435
|
-
</shell>
|
436
|
-
|
437
|
-
Where +<attribute>+ is the attribute you asked for. The +id+ method will not raise the +ActiveRecord::MissingAttributeError+, so just be careful when working with associations because they need the +id+ method to function properly.
|
438
|
-
|
439
|
-
If you would like to only grab a single record per unique value in a certain field, you can use +uniq+:
|
440
|
-
|
441
|
-
<ruby>
|
442
|
-
Client.select(:name).uniq
|
443
|
-
</ruby>
|
444
|
-
|
445
|
-
This would generate SQL like:
|
446
|
-
|
447
|
-
<sql>
|
448
|
-
SELECT DISTINCT name FROM clients
|
449
|
-
</sql>
|
450
|
-
|
451
|
-
You can also remove the uniqueness constraint:
|
452
|
-
|
453
|
-
<ruby>
|
454
|
-
query = Client.select(:name).uniq
|
455
|
-
# => Returns unique names
|
456
|
-
|
457
|
-
query.uniq(false)
|
458
|
-
# => Returns all names, even if there are duplicates
|
459
|
-
</ruby>
|
460
|
-
|
461
|
-
h3. Limit and Offset
|
462
|
-
|
463
|
-
To apply +LIMIT+ to the SQL fired by the +Model.find+, you can specify the +LIMIT+ using +limit+ and +offset+ methods on the relation.
|
464
|
-
|
465
|
-
You can use +limit+ to specify the number of records to be retrieved, and use +offset+ to specify the number of records to skip before starting to return the records. For example
|
466
|
-
|
467
|
-
<ruby>
|
468
|
-
Client.limit(5)
|
469
|
-
</ruby>
|
470
|
-
|
471
|
-
will return a maximum of 5 clients and because it specifies no offset it will return the first 5 in the table. The SQL it executes looks like this:
|
472
|
-
|
473
|
-
<sql>
|
474
|
-
SELECT * FROM clients LIMIT 5
|
475
|
-
</sql>
|
476
|
-
|
477
|
-
Adding +offset+ to that
|
478
|
-
|
479
|
-
<ruby>
|
480
|
-
Client.limit(5).offset(30)
|
481
|
-
</ruby>
|
482
|
-
|
483
|
-
will return instead a maximum of 5 clients beginning with the 31st. The SQL looks like:
|
484
|
-
|
485
|
-
<sql>
|
486
|
-
SELECT * FROM clients LIMIT 5 OFFSET 30
|
487
|
-
</sql>
|
488
|
-
|
489
|
-
h3. Group
|
490
|
-
|
491
|
-
To apply a +GROUP BY+ clause to the SQL fired by the finder, you can specify the +group+ method on the find.
|
492
|
-
|
493
|
-
For example, if you want to find a collection of the dates orders were created on:
|
494
|
-
|
495
|
-
<ruby>
|
496
|
-
Order.select("date(created_at) as ordered_date, sum(price) as total_price").group("date(created_at)")
|
497
|
-
</ruby>
|
498
|
-
|
499
|
-
And this will give you a single +Order+ object for each date where there are orders in the database.
|
500
|
-
|
501
|
-
The SQL that would be executed would be something like this:
|
502
|
-
|
503
|
-
<sql>
|
504
|
-
SELECT date(created_at) as ordered_date, sum(price) as total_price FROM orders GROUP BY date(created_at)
|
505
|
-
</sql>
|
506
|
-
|
507
|
-
h3. Having
|
508
|
-
|
509
|
-
SQL uses the +HAVING+ clause to specify conditions on the +GROUP BY+ fields. You can add the +HAVING+ clause to the SQL fired by the +Model.find+ by adding the +:having+ option to the find.
|
510
|
-
|
511
|
-
For example:
|
512
|
-
|
513
|
-
<ruby>
|
514
|
-
Order.select("date(created_at) as ordered_date, sum(price) as total_price").group("date(created_at)").having("sum(price) > ?", 100)
|
515
|
-
</ruby>
|
516
|
-
|
517
|
-
The SQL that would be executed would be something like this:
|
518
|
-
|
519
|
-
<sql>
|
520
|
-
SELECT date(created_at) as ordered_date, sum(price) as total_price FROM orders GROUP BY date(created_at) HAVING sum(price) > 100
|
521
|
-
</sql>
|
522
|
-
|
523
|
-
This will return single order objects for each day, but only those that are ordered more than $100 in a day.
|
524
|
-
|
525
|
-
h3. Overriding Conditions
|
526
|
-
|
527
|
-
h4. +except+
|
528
|
-
|
529
|
-
You can specify certain conditions to be excepted by using the +except+ method. For example:
|
530
|
-
|
531
|
-
<ruby>
|
532
|
-
Post.where('id > 10').limit(20).order('id asc').except(:order)
|
533
|
-
</ruby>
|
534
|
-
|
535
|
-
The SQL that would be executed:
|
536
|
-
|
537
|
-
<sql>
|
538
|
-
SELECT * FROM posts WHERE id > 10 LIMIT 20
|
539
|
-
</sql>
|
540
|
-
|
541
|
-
h4. +only+
|
542
|
-
|
543
|
-
You can also override conditions using the +only+ method. For example:
|
544
|
-
|
545
|
-
<ruby>
|
546
|
-
Post.where('id > 10').limit(20).order('id desc').only(:order, :where)
|
547
|
-
</ruby>
|
548
|
-
|
549
|
-
The SQL that would be executed:
|
550
|
-
|
551
|
-
<sql>
|
552
|
-
SELECT * FROM posts WHERE id > 10 ORDER BY id DESC
|
553
|
-
</sql>
|
554
|
-
|
555
|
-
h4. +reorder+
|
556
|
-
|
557
|
-
The +reorder+ method overrides the default scope order. For example:
|
558
|
-
|
559
|
-
<ruby>
|
560
|
-
class Post < ActiveRecord::Base
|
561
|
-
..
|
562
|
-
..
|
563
|
-
has_many :comments, :order => 'posted_at DESC'
|
564
|
-
end
|
565
|
-
|
566
|
-
Post.find(10).comments.reorder('name')
|
567
|
-
</ruby>
|
568
|
-
|
569
|
-
The SQL that would be executed:
|
570
|
-
|
571
|
-
<sql>
|
572
|
-
SELECT * FROM posts WHERE id = 10 ORDER BY name
|
573
|
-
</sql>
|
574
|
-
|
575
|
-
In case the +reorder+ clause is not used, the SQL executed would be:
|
576
|
-
|
577
|
-
<sql>
|
578
|
-
SELECT * FROM posts WHERE id = 10 ORDER BY posted_at DESC
|
579
|
-
</sql>
|
580
|
-
|
581
|
-
h4. +reverse_order+
|
582
|
-
|
583
|
-
The +reverse_order+ method reverses the ordering clause if specified.
|
584
|
-
|
585
|
-
<ruby>
|
586
|
-
Client.where("orders_count > 10").order(:name).reverse_order
|
587
|
-
</ruby>
|
588
|
-
|
589
|
-
The SQL that would be executed:
|
590
|
-
|
591
|
-
<sql>
|
592
|
-
SELECT * FROM clients WHERE orders_count > 10 ORDER BY name DESC
|
593
|
-
</sql>
|
594
|
-
|
595
|
-
If no ordering clause is specified in the query, the +reverse_order+ orders by the primary key in reverse order.
|
596
|
-
|
597
|
-
<ruby>
|
598
|
-
Client.where("orders_count > 10").reverse_order
|
599
|
-
</ruby>
|
600
|
-
|
601
|
-
The SQL that would be executed:
|
602
|
-
|
603
|
-
<sql>
|
604
|
-
SELECT * FROM clients WHERE orders_count > 10 ORDER BY clients.id DESC
|
605
|
-
</sql>
|
606
|
-
|
607
|
-
This method accepts *no* arguments.
|
608
|
-
|
609
|
-
h3. Readonly Objects
|
610
|
-
|
611
|
-
Active Record provides +readonly+ method on a relation to explicitly disallow modification or deletion of any of the returned object. Any attempt to alter or destroy a readonly record will not succeed, raising an +ActiveRecord::ReadOnlyRecord+ exception.
|
612
|
-
|
613
|
-
<ruby>
|
614
|
-
client = Client.readonly.first
|
615
|
-
client.visits += 1
|
616
|
-
client.save
|
617
|
-
</ruby>
|
618
|
-
|
619
|
-
As +client+ is explicitly set to be a readonly object, the above code will raise an +ActiveRecord::ReadOnlyRecord+ exception when calling +client.save+ with an updated value of _visits_.
|
620
|
-
|
621
|
-
h3. Locking Records for Update
|
622
|
-
|
623
|
-
Locking is helpful for preventing race conditions when updating records in the database and ensuring atomic updates.
|
624
|
-
|
625
|
-
Active Record provides two locking mechanisms:
|
626
|
-
|
627
|
-
* Optimistic Locking
|
628
|
-
* Pessimistic Locking
|
629
|
-
|
630
|
-
h4. Optimistic Locking
|
631
|
-
|
632
|
-
Optimistic locking allows multiple users to access the same record for edits, and assumes a minimum of conflicts with the data. It does this by checking whether another process has made changes to a record since it was opened. An +ActiveRecord::StaleObjectError+ exception is thrown if that has occurred and the update is ignored.
|
633
|
-
|
634
|
-
<strong>Optimistic locking column</strong>
|
635
|
-
|
636
|
-
In order to use optimistic locking, the table needs to have a column called +lock_version+. Each time the record is updated, Active Record increments the +lock_version+ column. If an update request is made with a lower value in the +lock_version+ field than is currently in the +lock_version+ column in the database, the update request will fail with an +ActiveRecord::StaleObjectError+. Example:
|
637
|
-
|
638
|
-
<ruby>
|
639
|
-
c1 = Client.find(1)
|
640
|
-
c2 = Client.find(1)
|
641
|
-
|
642
|
-
c1.first_name = "Michael"
|
643
|
-
c1.save
|
644
|
-
|
645
|
-
c2.name = "should fail"
|
646
|
-
c2.save # Raises an ActiveRecord::StaleObjectError
|
647
|
-
</ruby>
|
648
|
-
|
649
|
-
You're then responsible for dealing with the conflict by rescuing the exception and either rolling back, merging, or otherwise apply the business logic needed to resolve the conflict.
|
650
|
-
|
651
|
-
NOTE: You must ensure that your database schema defaults the +lock_version+ column to +0+.
|
652
|
-
|
653
|
-
This behavior can be turned off by setting <tt>ActiveRecord::Base.lock_optimistically = false</tt>.
|
654
|
-
|
655
|
-
To override the name of the +lock_version+ column, +ActiveRecord::Base+ provides a class method called +set_locking_column+:
|
656
|
-
|
657
|
-
<ruby>
|
658
|
-
class Client < ActiveRecord::Base
|
659
|
-
set_locking_column :lock_client_column
|
660
|
-
end
|
661
|
-
</ruby>
|
662
|
-
|
663
|
-
h4. Pessimistic Locking
|
664
|
-
|
665
|
-
Pessimistic locking uses a locking mechanism provided by the underlying database. Using +lock+ when building a relation obtains an exclusive lock on the selected rows. Relations using +lock+ are usually wrapped inside a transaction for preventing deadlock conditions.
|
666
|
-
|
667
|
-
For example:
|
668
|
-
|
669
|
-
<ruby>
|
670
|
-
Item.transaction do
|
671
|
-
i = Item.lock.first
|
672
|
-
i.name = 'Jones'
|
673
|
-
i.save
|
674
|
-
end
|
675
|
-
</ruby>
|
676
|
-
|
677
|
-
The above session produces the following SQL for a MySQL backend:
|
678
|
-
|
679
|
-
<sql>
|
680
|
-
SQL (0.2ms) BEGIN
|
681
|
-
Item Load (0.3ms) SELECT * FROM `items` LIMIT 1 FOR UPDATE
|
682
|
-
Item Update (0.4ms) UPDATE `items` SET `updated_at` = '2009-02-07 18:05:56', `name` = 'Jones' WHERE `id` = 1
|
683
|
-
SQL (0.8ms) COMMIT
|
684
|
-
</sql>
|
685
|
-
|
686
|
-
You can also pass raw SQL to the +lock+ method for allowing different types of locks. For example, MySQL has an expression called +LOCK IN SHARE MODE+ where you can lock a record but still allow other queries to read it. To specify this expression just pass it in as the lock option:
|
687
|
-
|
688
|
-
<ruby>
|
689
|
-
Item.transaction do
|
690
|
-
i = Item.lock("LOCK IN SHARE MODE").find(1)
|
691
|
-
i.increment!(:views)
|
692
|
-
end
|
693
|
-
</ruby>
|
694
|
-
|
695
|
-
If you already have an instance of your model, you can start a transaction and acquire the lock in one go using the following code:
|
696
|
-
|
697
|
-
<ruby>
|
698
|
-
item = Item.first
|
699
|
-
item.with_lock do
|
700
|
-
# This block is called within a transaction,
|
701
|
-
# item is already locked.
|
702
|
-
item.increment!(:views)
|
703
|
-
end
|
704
|
-
</ruby>
|
705
|
-
|
706
|
-
h3. Joining Tables
|
707
|
-
|
708
|
-
Active Record provides a finder method called +joins+ for specifying +JOIN+ clauses on the resulting SQL. There are multiple ways to use the +joins+ method.
|
709
|
-
|
710
|
-
h4. Using a String SQL Fragment
|
711
|
-
|
712
|
-
You can just supply the raw SQL specifying the +JOIN+ clause to +joins+:
|
713
|
-
|
714
|
-
<ruby>
|
715
|
-
Client.joins('LEFT OUTER JOIN addresses ON addresses.client_id = clients.id')
|
716
|
-
</ruby>
|
717
|
-
|
718
|
-
This will result in the following SQL:
|
719
|
-
|
720
|
-
<sql>
|
721
|
-
SELECT clients.* FROM clients LEFT OUTER JOIN addresses ON addresses.client_id = clients.id
|
722
|
-
</sql>
|
723
|
-
|
724
|
-
h4. Using Array/Hash of Named Associations
|
725
|
-
|
726
|
-
WARNING: This method only works with +INNER JOIN+.
|
727
|
-
|
728
|
-
Active Record lets you use the names of the "associations":association_basics.html defined on the model as a shortcut for specifying +JOIN+ clause for those associations when using the +joins+ method.
|
729
|
-
|
730
|
-
For example, consider the following +Category+, +Post+, +Comments+ and +Guest+ models:
|
731
|
-
|
732
|
-
<ruby>
|
733
|
-
class Category < ActiveRecord::Base
|
734
|
-
has_many :posts
|
735
|
-
end
|
736
|
-
|
737
|
-
class Post < ActiveRecord::Base
|
738
|
-
belongs_to :category
|
739
|
-
has_many :comments
|
740
|
-
has_many :tags
|
741
|
-
end
|
742
|
-
|
743
|
-
class Comment < ActiveRecord::Base
|
744
|
-
belongs_to :post
|
745
|
-
has_one :guest
|
746
|
-
end
|
747
|
-
|
748
|
-
class Guest < ActiveRecord::Base
|
749
|
-
belongs_to :comment
|
750
|
-
end
|
751
|
-
|
752
|
-
class Tag < ActiveRecord::Base
|
753
|
-
belongs_to :post
|
754
|
-
end
|
755
|
-
</ruby>
|
756
|
-
|
757
|
-
Now all of the following will produce the expected join queries using +INNER JOIN+:
|
758
|
-
|
759
|
-
h5. Joining a Single Association
|
760
|
-
|
761
|
-
<ruby>
|
762
|
-
Category.joins(:posts)
|
763
|
-
</ruby>
|
764
|
-
|
765
|
-
This produces:
|
766
|
-
|
767
|
-
<sql>
|
768
|
-
SELECT categories.* FROM categories
|
769
|
-
INNER JOIN posts ON posts.category_id = categories.id
|
770
|
-
</sql>
|
771
|
-
|
772
|
-
Or, in English: "return a Category object for all categories with posts". Note that you will see duplicate categories if more than one post has the same category. If you want unique categories, you can use Category.joins(:post).select("distinct(categories.id)").
|
773
|
-
|
774
|
-
h5. Joining Multiple Associations
|
775
|
-
|
776
|
-
<ruby>
|
777
|
-
Post.joins(:category, :comments)
|
778
|
-
</ruby>
|
779
|
-
|
780
|
-
This produces:
|
781
|
-
|
782
|
-
<sql>
|
783
|
-
SELECT posts.* FROM posts
|
784
|
-
INNER JOIN categories ON posts.category_id = categories.id
|
785
|
-
INNER JOIN comments ON comments.post_id = posts.id
|
786
|
-
</sql>
|
787
|
-
|
788
|
-
Or, in English: "return all posts that have a category and at least one comment". Note again that posts with multiple comments will show up multiple times.
|
789
|
-
|
790
|
-
h5. Joining Nested Associations (Single Level)
|
791
|
-
|
792
|
-
<ruby>
|
793
|
-
Post.joins(:comments => :guest)
|
794
|
-
</ruby>
|
795
|
-
|
796
|
-
This produces:
|
797
|
-
|
798
|
-
<sql>
|
799
|
-
SELECT posts.* FROM posts
|
800
|
-
INNER JOIN comments ON comments.post_id = posts.id
|
801
|
-
INNER JOIN guests ON guests.comment_id = comments.id
|
802
|
-
</sql>
|
803
|
-
|
804
|
-
Or, in English: "return all posts that have a comment made by a guest."
|
805
|
-
|
806
|
-
h5. Joining Nested Associations (Multiple Level)
|
807
|
-
|
808
|
-
<ruby>
|
809
|
-
Category.joins(:posts => [{:comments => :guest}, :tags])
|
810
|
-
</ruby>
|
811
|
-
|
812
|
-
This produces:
|
813
|
-
|
814
|
-
<sql>
|
815
|
-
SELECT categories.* FROM categories
|
816
|
-
INNER JOIN posts ON posts.category_id = categories.id
|
817
|
-
INNER JOIN comments ON comments.post_id = posts.id
|
818
|
-
INNER JOIN guests ON guests.comment_id = comments.id
|
819
|
-
INNER JOIN tags ON tags.post_id = posts.id
|
820
|
-
</sql>
|
821
|
-
|
822
|
-
h4. Specifying Conditions on the Joined Tables
|
823
|
-
|
824
|
-
You can specify conditions on the joined tables using the regular "Array":#array-conditions and "String":#pure-string-conditions conditions. "Hash conditions":#hash-conditions provides a special syntax for specifying conditions for the joined tables:
|
825
|
-
|
826
|
-
<ruby>
|
827
|
-
time_range = (Time.now.midnight - 1.day)..Time.now.midnight
|
828
|
-
Client.joins(:orders).where('orders.created_at' => time_range)
|
829
|
-
</ruby>
|
830
|
-
|
831
|
-
An alternative and cleaner syntax is to nest the hash conditions:
|
832
|
-
|
833
|
-
<ruby>
|
834
|
-
time_range = (Time.now.midnight - 1.day)..Time.now.midnight
|
835
|
-
Client.joins(:orders).where(:orders => {:created_at => time_range})
|
836
|
-
</ruby>
|
837
|
-
|
838
|
-
This will find all clients who have orders that were created yesterday, again using a +BETWEEN+ SQL expression.
|
839
|
-
|
840
|
-
h3. Eager Loading Associations
|
841
|
-
|
842
|
-
Eager loading is the mechanism for loading the associated records of the objects returned by +Model.find+ using as few queries as possible.
|
843
|
-
|
844
|
-
<strong>N <plus> 1 queries problem</strong>
|
845
|
-
|
846
|
-
Consider the following code, which finds 10 clients and prints their postcodes:
|
847
|
-
|
848
|
-
<ruby>
|
849
|
-
clients = Client.limit(10)
|
850
|
-
|
851
|
-
clients.each do |client|
|
852
|
-
puts client.address.postcode
|
853
|
-
end
|
854
|
-
</ruby>
|
855
|
-
|
856
|
-
This code looks fine at the first sight. But the problem lies within the total number of queries executed. The above code executes 1 ( to find 10 clients ) <plus> 10 ( one per each client to load the address ) = <strong>11</strong> queries in total.
|
857
|
-
|
858
|
-
<strong>Solution to N <plus> 1 queries problem</strong>
|
859
|
-
|
860
|
-
Active Record lets you specify in advance all the associations that are going to be loaded. This is possible by specifying the +includes+ method of the +Model.find+ call. With +includes+, Active Record ensures that all of the specified associations are loaded using the minimum possible number of queries.
|
861
|
-
|
862
|
-
Revisiting the above case, we could rewrite +Client.all+ to use eager load addresses:
|
863
|
-
|
864
|
-
<ruby>
|
865
|
-
clients = Client.includes(:address).limit(10)
|
866
|
-
|
867
|
-
clients.each do |client|
|
868
|
-
puts client.address.postcode
|
869
|
-
end
|
870
|
-
</ruby>
|
871
|
-
|
872
|
-
The above code will execute just <strong>2</strong> queries, as opposed to <strong>11</strong> queries in the previous case:
|
873
|
-
|
874
|
-
<sql>
|
875
|
-
SELECT * FROM clients LIMIT 10
|
876
|
-
SELECT addresses.* FROM addresses
|
877
|
-
WHERE (addresses.client_id IN (1,2,3,4,5,6,7,8,9,10))
|
878
|
-
</sql>
|
879
|
-
|
880
|
-
h4. Eager Loading Multiple Associations
|
881
|
-
|
882
|
-
Active Record lets you eager load any number of associations with a single +Model.find+ call by using an array, hash, or a nested hash of array/hash with the +includes+ method.
|
883
|
-
|
884
|
-
h5. Array of Multiple Associations
|
885
|
-
|
886
|
-
<ruby>
|
887
|
-
Post.includes(:category, :comments)
|
888
|
-
</ruby>
|
889
|
-
|
890
|
-
This loads all the posts and the associated category and comments for each post.
|
891
|
-
|
892
|
-
h5. Nested Associations Hash
|
893
|
-
|
894
|
-
<ruby>
|
895
|
-
Category.includes(:posts => [{:comments => :guest}, :tags]).find(1)
|
896
|
-
</ruby>
|
897
|
-
|
898
|
-
This will find the category with id 1 and eager load all of the associated posts, the associated posts' tags and comments, and every comment's guest association.
|
899
|
-
|
900
|
-
h4. Specifying Conditions on Eager Loaded Associations
|
901
|
-
|
902
|
-
Even though Active Record lets you specify conditions on the eager loaded associations just like +joins+, the recommended way is to use "joins":#joining-tables instead.
|
903
|
-
|
904
|
-
However if you must do this, you may use +where+ as you would normally.
|
905
|
-
|
906
|
-
<ruby>
|
907
|
-
Post.includes(:comments).where("comments.visible", true)
|
908
|
-
</ruby>
|
909
|
-
|
910
|
-
This would generate a query which contains a +LEFT OUTER JOIN+ whereas the +joins+ method would generate one using the +INNER JOIN+ function instead.
|
911
|
-
|
912
|
-
<ruby>
|
913
|
-
SELECT "posts"."id" AS t0_r0, ... "comments"."updated_at" AS t1_r5 FROM "posts" LEFT OUTER JOIN "comments" ON "comments"."post_id" = "posts"."id" WHERE (comments.visible = 1)
|
914
|
-
</ruby>
|
915
|
-
|
916
|
-
If there was no +where+ condition, this would generate the normal set of two queries.
|
917
|
-
|
918
|
-
If, in the case of this +includes+ query, there were no comments for any posts, all the posts would still be loaded. By using +joins+ (an INNER JOIN), the join conditions *must* match, otherwise no records will be returned.
|
919
|
-
|
920
|
-
h3. Scopes
|
921
|
-
|
922
|
-
Scoping allows you to specify commonly-used ARel queries which can be referenced as method calls on the association objects or models. With these scopes, you can use every method previously covered such as +where+, +joins+ and +includes+. All scope methods will return an +ActiveRecord::Relation+ object which will allow for further methods (such as other scopes) to be called on it.
|
923
|
-
|
924
|
-
To define a simple scope, we use the +scope+ method inside the class, passing the ARel query that we'd like run when this scope is called:
|
925
|
-
|
926
|
-
<ruby>
|
927
|
-
class Post < ActiveRecord::Base
|
928
|
-
scope :published, where(:published => true)
|
929
|
-
end
|
930
|
-
</ruby>
|
931
|
-
|
932
|
-
Just like before, these methods are also chainable:
|
933
|
-
|
934
|
-
<ruby>
|
935
|
-
class Post < ActiveRecord::Base
|
936
|
-
scope :published, where(:published => true).joins(:category)
|
937
|
-
end
|
938
|
-
</ruby>
|
939
|
-
|
940
|
-
Scopes are also chainable within scopes:
|
941
|
-
|
942
|
-
<ruby>
|
943
|
-
class Post < ActiveRecord::Base
|
944
|
-
scope :published, where(:published => true)
|
945
|
-
scope :published_and_commented, published.and(self.arel_table[:comments_count].gt(0))
|
946
|
-
end
|
947
|
-
</ruby>
|
948
|
-
|
949
|
-
To call this +published+ scope we can call it on either the class:
|
950
|
-
|
951
|
-
<ruby>
|
952
|
-
Post.published # => [published posts]
|
953
|
-
</ruby>
|
954
|
-
|
955
|
-
Or on an association consisting of +Post+ objects:
|
956
|
-
|
957
|
-
<ruby>
|
958
|
-
category = Category.first
|
959
|
-
category.posts.published # => [published posts belonging to this category]
|
960
|
-
</ruby>
|
961
|
-
|
962
|
-
h4. Working with times
|
963
|
-
|
964
|
-
If you're working with dates or times within scopes, due to how they are evaluated, you will need to use a lambda so that the scope is evaluated every time.
|
965
|
-
|
966
|
-
<ruby>
|
967
|
-
class Post < ActiveRecord::Base
|
968
|
-
scope :last_week, lambda { where("created_at < ?", Time.zone.now ) }
|
969
|
-
end
|
970
|
-
</ruby>
|
971
|
-
|
972
|
-
Without the +lambda+, this +Time.zone.now+ will only be called once.
|
973
|
-
|
974
|
-
h4. Passing in arguments
|
975
|
-
|
976
|
-
When a +lambda+ is used for a +scope+, it can take arguments:
|
977
|
-
|
978
|
-
<ruby>
|
979
|
-
class Post < ActiveRecord::Base
|
980
|
-
scope :1_week_before, lambda { |time| where("created_at < ?", time) }
|
981
|
-
end
|
982
|
-
</ruby>
|
983
|
-
|
984
|
-
This may then be called using this:
|
985
|
-
|
986
|
-
<ruby>
|
987
|
-
Post.1_week_before(Time.zone.now)
|
988
|
-
</ruby>
|
989
|
-
|
990
|
-
However, this is just duplicating the functionality that would be provided to you by a class method.
|
991
|
-
|
992
|
-
<ruby>
|
993
|
-
class Post < ActiveRecord::Base
|
994
|
-
def self.1_week_before(time)
|
995
|
-
where("created_at < ?", time)
|
996
|
-
end
|
997
|
-
end
|
998
|
-
</ruby>
|
999
|
-
|
1000
|
-
Using a class method is the preferred way to accept arguments for scopes. These methods will still be accessible on the association objects:
|
1001
|
-
|
1002
|
-
<ruby>
|
1003
|
-
category.posts.1_week_before(time)
|
1004
|
-
</ruby>
|
1005
|
-
|
1006
|
-
h4. Working with scopes
|
1007
|
-
|
1008
|
-
Where a relational object is required, the +scoped+ method may come in handy. This will return an +ActiveRecord::Relation+ object which can have further scoping applied to it afterwards. A place where this may come in handy is on associations
|
1009
|
-
|
1010
|
-
<ruby>
|
1011
|
-
client = Client.find_by_first_name("Ryan")
|
1012
|
-
orders = client.orders.scoped
|
1013
|
-
</ruby>
|
1014
|
-
|
1015
|
-
With this new +orders+ object, we are able to ascertain that this object can have more scopes applied to it. For instance, if we wanted to return orders only in the last 30 days at a later point.
|
1016
|
-
|
1017
|
-
<ruby>
|
1018
|
-
orders.where("created_at > ?", 30.days.ago)
|
1019
|
-
</ruby>
|
1020
|
-
|
1021
|
-
h4. Applying a default scope
|
1022
|
-
|
1023
|
-
If we wish for a scope to be applied across all queries to the model we can use the +default_scope+ method within the model itself.
|
1024
|
-
|
1025
|
-
<ruby>
|
1026
|
-
class Client < ActiveRecord::Base
|
1027
|
-
default_scope where("removed_at IS NULL")
|
1028
|
-
end
|
1029
|
-
</ruby>
|
1030
|
-
|
1031
|
-
When queries are executed on this model, the SQL query will now look something like this:
|
1032
|
-
|
1033
|
-
<sql>
|
1034
|
-
SELECT * FROM clients WHERE removed_at IS NULL
|
1035
|
-
</sql>
|
1036
|
-
|
1037
|
-
h4. Removing all scoping
|
1038
|
-
|
1039
|
-
If we wish to remove scoping for any reason we can use the +unscoped+ method. This is especially useful if a +default_scope+ is specified in the model and should not be applied for this particular query.
|
1040
|
-
|
1041
|
-
<ruby>
|
1042
|
-
Client.unscoped.all
|
1043
|
-
</ruby>
|
1044
|
-
|
1045
|
-
This method removes all scoping and will do a normal query on the table.
|
1046
|
-
|
1047
|
-
h3. Dynamic Finders
|
1048
|
-
|
1049
|
-
For every field (also known as an attribute) you define in your table, Active Record provides a finder method. If you have a field called +first_name+ on your +Client+ model for example, you get +find_by_first_name+ and +find_all_by_first_name+ for free from Active Record. If you have a +locked+ field on the +Client+ model, you also get +find_by_locked+ and +find_all_by_locked+ methods.
|
1050
|
-
|
1051
|
-
You can also use +find_last_by_*+ methods which will find the last record matching your argument.
|
1052
|
-
|
1053
|
-
You can specify an exclamation point (<tt>!</tt>) on the end of the dynamic finders to get them to raise an +ActiveRecord::RecordNotFound+ error if they do not return any records, like +Client.find_by_name!("Ryan")+
|
1054
|
-
|
1055
|
-
If you want to find both by name and locked, you can chain these finders together by simply typing "+and+" between the fields. For example, +Client.find_by_first_name_and_locked("Ryan", true)+.
|
1056
|
-
|
1057
|
-
WARNING: Up to and including Rails 3.1, when the number of arguments passed to a dynamic finder method is lesser than the number of fields, say <tt>Client.find_by_name_and_locked("Ryan")</tt>, the behavior is to pass +nil+ as the missing argument. This is *unintentional* and this behavior will be changed in Rails 3.2 to throw an +ArgumentError+.
|
1058
|
-
|
1059
|
-
h3. Find or build a new object
|
1060
|
-
|
1061
|
-
It's common that you need to find a record or create it if it doesn't exist. You can do that with the +first_or_create+ and +first_or_create!+ methods.
|
1062
|
-
|
1063
|
-
h4. +first_or_create+
|
1064
|
-
|
1065
|
-
The +first_or_create+ method checks whether +first+ returns +nil+ or not. If it does return +nil+, then +create+ is called. This is very powerful when coupled with the +where+ method. Let's see an example.
|
1066
|
-
|
1067
|
-
Suppose you want to find a client named 'Andy', and if there's none, create one and additionally set his +locked+ attribute to false. You can do so by running:
|
1068
|
-
|
1069
|
-
<ruby>
|
1070
|
-
Client.where(:first_name => 'Andy').first_or_create(:locked => false)
|
1071
|
-
# => #<Client id: 1, first_name: "Andy", orders_count: 0, locked: false, created_at: "2011-08-30 06:09:27", updated_at: "2011-08-30 06:09:27">
|
1072
|
-
</ruby>
|
1073
|
-
|
1074
|
-
The SQL generated by this method looks like this:
|
1075
|
-
|
1076
|
-
<sql>
|
1077
|
-
SELECT * FROM clients WHERE (clients.first_name = 'Andy') LIMIT 1
|
1078
|
-
BEGIN
|
1079
|
-
INSERT INTO clients (created_at, first_name, locked, orders_count, updated_at) VALUES ('2011-08-30 05:22:57', 'Andy', 0, NULL, '2011-08-30 05:22:57')
|
1080
|
-
COMMIT
|
1081
|
-
</sql>
|
1082
|
-
|
1083
|
-
+first_or_create+ returns either the record that already exists or the new record. In our case, we didn't already have a client named Andy so the record is created and returned.
|
1084
|
-
|
1085
|
-
The new record might not be saved to the database; that depends on whether validations passed or not (just like +create+).
|
1086
|
-
|
1087
|
-
It's also worth noting that +first_or_create+ takes into account the arguments of the +where+ method. In the example above we didn't explicitly pass a +:first_name => 'Andy'+ argument to +first_or_create+. However, that was used when creating the new record because it was already passed before to the +where+ method.
|
1088
|
-
|
1089
|
-
You can do the same with the +find_or_create_by+ method:
|
1090
|
-
|
1091
|
-
<ruby>
|
1092
|
-
Client.find_or_create_by_first_name(:first_name => "Andy", :locked => false)
|
1093
|
-
</ruby>
|
1094
|
-
|
1095
|
-
This method still works, but it's encouraged to use +first_or_create+ because it's more explicit on which arguments are used to _find_ the record and which are used to _create_, resulting in less confusion overall.
|
1096
|
-
|
1097
|
-
h4. +first_or_create!+
|
1098
|
-
|
1099
|
-
You can also use +first_or_create!+ to raise an exception if the new record is invalid. Validations are not covered on this guide, but let's assume for a moment that you temporarily add
|
1100
|
-
|
1101
|
-
<ruby>
|
1102
|
-
validates :orders_count, :presence => true
|
1103
|
-
</ruby>
|
1104
|
-
|
1105
|
-
to your +Client+ model. If you try to create a new +Client+ without passing an +orders_count+, the record will be invalid and an exception will be raised:
|
1106
|
-
|
1107
|
-
<ruby>
|
1108
|
-
Client.where(:first_name => 'Andy').first_or_create!(:locked => false)
|
1109
|
-
# => ActiveRecord::RecordInvalid: Validation failed: Orders count can't be blank
|
1110
|
-
</ruby>
|
1111
|
-
|
1112
|
-
As with +first_or_create+ there is a +find_or_create_by!+ method but the +first_or_create!+ method is preferred for clarity.
|
1113
|
-
|
1114
|
-
h4. +first_or_initialize+
|
1115
|
-
|
1116
|
-
The +first_or_initialize+ method will work just like +first_or_create+ but it will not call +create+ but +new+. This means that a new model instance will be created in memory but won't be saved to the database. Continuing with the +first_or_create+ example, we now want the client named 'Nick':
|
1117
|
-
|
1118
|
-
<ruby>
|
1119
|
-
nick = Client.where(:first_name => 'Nick').first_or_initialize(:locked => false)
|
1120
|
-
# => <Client id: nil, first_name: "Nick", orders_count: 0, locked: false, created_at: "2011-08-30 06:09:27", updated_at: "2011-08-30 06:09:27">
|
1121
|
-
|
1122
|
-
nick.persisted?
|
1123
|
-
# => false
|
1124
|
-
|
1125
|
-
nick.new_record?
|
1126
|
-
# => true
|
1127
|
-
</ruby>
|
1128
|
-
|
1129
|
-
Because the object is not yet stored in the database, the SQL generated looks like this:
|
1130
|
-
|
1131
|
-
<sql>
|
1132
|
-
SELECT * FROM clients WHERE (clients.first_name = 'Nick') LIMIT 1
|
1133
|
-
</sql>
|
1134
|
-
|
1135
|
-
When you want to save it to the database, just call +save+:
|
1136
|
-
|
1137
|
-
<ruby>
|
1138
|
-
nick.save
|
1139
|
-
# => true
|
1140
|
-
</ruby>
|
1141
|
-
|
1142
|
-
h3. Finding by SQL
|
1143
|
-
|
1144
|
-
If you'd like to use your own SQL to find records in a table you can use +find_by_sql+. The +find_by_sql+ method will return an array of objects even if the underlying query returns just a single record. For example you could run this query:
|
1145
|
-
|
1146
|
-
<ruby>
|
1147
|
-
Client.find_by_sql("SELECT * FROM clients
|
1148
|
-
INNER JOIN orders ON clients.id = orders.client_id
|
1149
|
-
ORDER clients.created_at desc")
|
1150
|
-
</ruby>
|
1151
|
-
|
1152
|
-
+find_by_sql+ provides you with a simple way of making custom calls to the database and retrieving instantiated objects.
|
1153
|
-
|
1154
|
-
h3. +select_all+
|
1155
|
-
|
1156
|
-
<tt>find_by_sql</tt> has a close relative called +connection#select_all+. +select_all+ will retrieve objects from the database using custom SQL just like +find_by_sql+ but will not instantiate them. Instead, you will get an array of hashes where each hash indicates a record.
|
1157
|
-
|
1158
|
-
<ruby>
|
1159
|
-
Client.connection.select_all("SELECT * FROM clients WHERE id = '1'")
|
1160
|
-
</ruby>
|
1161
|
-
|
1162
|
-
h3. +pluck+
|
1163
|
-
|
1164
|
-
<tt>pluck</tt> can be used to query a single column from the underlying table of a model. It accepts a column name as argument and returns an array of values of the specified column with the corresponding data type.
|
1165
|
-
|
1166
|
-
<ruby>
|
1167
|
-
Client.where(:active => true).pluck(:id)
|
1168
|
-
# SELECT id FROM clients WHERE active = 1
|
1169
|
-
|
1170
|
-
Client.uniq.pluck(:role)
|
1171
|
-
# SELECT DISTINCT role FROM clients
|
1172
|
-
</ruby>
|
1173
|
-
|
1174
|
-
+pluck+ makes it possible to replace code like
|
1175
|
-
|
1176
|
-
<ruby>
|
1177
|
-
Client.select(:id).map { |c| c.id }
|
1178
|
-
</ruby>
|
1179
|
-
|
1180
|
-
with
|
1181
|
-
|
1182
|
-
<ruby>
|
1183
|
-
Client.pluck(:id)
|
1184
|
-
</ruby>
|
1185
|
-
|
1186
|
-
h3. Existence of Objects
|
1187
|
-
|
1188
|
-
If you simply want to check for the existence of the object there's a method called +exists?+. This method will query the database using the same query as +find+, but instead of returning an object or collection of objects it will return either +true+ or +false+.
|
1189
|
-
|
1190
|
-
<ruby>
|
1191
|
-
Client.exists?(1)
|
1192
|
-
</ruby>
|
1193
|
-
|
1194
|
-
The +exists?+ method also takes multiple ids, but the catch is that it will return true if any one of those records exists.
|
1195
|
-
|
1196
|
-
<ruby>
|
1197
|
-
Client.exists?(1,2,3)
|
1198
|
-
# or
|
1199
|
-
Client.exists?([1,2,3])
|
1200
|
-
</ruby>
|
1201
|
-
|
1202
|
-
It's even possible to use +exists?+ without any arguments on a model or a relation.
|
1203
|
-
|
1204
|
-
<ruby>
|
1205
|
-
Client.where(:first_name => 'Ryan').exists?
|
1206
|
-
</ruby>
|
1207
|
-
|
1208
|
-
The above returns +true+ if there is at least one client with the +first_name+ 'Ryan' and +false+ otherwise.
|
1209
|
-
|
1210
|
-
<ruby>
|
1211
|
-
Client.exists?
|
1212
|
-
</ruby>
|
1213
|
-
|
1214
|
-
The above returns +false+ if the +clients+ table is empty and +true+ otherwise.
|
1215
|
-
|
1216
|
-
You can also use +any?+ and +many?+ to check for existence on a model or relation.
|
1217
|
-
|
1218
|
-
<ruby>
|
1219
|
-
# via a model
|
1220
|
-
Post.any?
|
1221
|
-
Post.many?
|
1222
|
-
|
1223
|
-
# via a named scope
|
1224
|
-
Post.recent.any?
|
1225
|
-
Post.recent.many?
|
1226
|
-
|
1227
|
-
# via a relation
|
1228
|
-
Post.where(:published => true).any?
|
1229
|
-
Post.where(:published => true).many?
|
1230
|
-
|
1231
|
-
# via an association
|
1232
|
-
Post.first.categories.any?
|
1233
|
-
Post.first.categories.many?
|
1234
|
-
</ruby>
|
1235
|
-
|
1236
|
-
h3. Calculations
|
1237
|
-
|
1238
|
-
This section uses count as an example method in this preamble, but the options described apply to all sub-sections.
|
1239
|
-
|
1240
|
-
All calculation methods work directly on a model:
|
1241
|
-
|
1242
|
-
<ruby>
|
1243
|
-
Client.count
|
1244
|
-
# SELECT count(*) AS count_all FROM clients
|
1245
|
-
</ruby>
|
1246
|
-
|
1247
|
-
Or on a relation:
|
1248
|
-
|
1249
|
-
<ruby>
|
1250
|
-
Client.where(:first_name => 'Ryan').count
|
1251
|
-
# SELECT count(*) AS count_all FROM clients WHERE (first_name = 'Ryan')
|
1252
|
-
</ruby>
|
1253
|
-
|
1254
|
-
You can also use various finder methods on a relation for performing complex calculations:
|
1255
|
-
|
1256
|
-
<ruby>
|
1257
|
-
Client.includes("orders").where(:first_name => 'Ryan', :orders => {:status => 'received'}).count
|
1258
|
-
</ruby>
|
1259
|
-
|
1260
|
-
Which will execute:
|
1261
|
-
|
1262
|
-
<sql>
|
1263
|
-
SELECT count(DISTINCT clients.id) AS count_all FROM clients
|
1264
|
-
LEFT OUTER JOIN orders ON orders.client_id = client.id WHERE
|
1265
|
-
(clients.first_name = 'Ryan' AND orders.status = 'received')
|
1266
|
-
</sql>
|
1267
|
-
|
1268
|
-
h4. Count
|
1269
|
-
|
1270
|
-
If you want to see how many records are in your model's table you could call +Client.count+ and that will return the number. If you want to be more specific and find all the clients with their age present in the database you can use +Client.count(:age)+.
|
1271
|
-
|
1272
|
-
For options, please see the parent section, "Calculations":#calculations.
|
1273
|
-
|
1274
|
-
h4. Average
|
1275
|
-
|
1276
|
-
If you want to see the average of a certain number in one of your tables you can call the +average+ method on the class that relates to the table. This method call will look something like this:
|
1277
|
-
|
1278
|
-
<ruby>
|
1279
|
-
Client.average("orders_count")
|
1280
|
-
</ruby>
|
1281
|
-
|
1282
|
-
This will return a number (possibly a floating point number such as 3.14159265) representing the average value in the field.
|
1283
|
-
|
1284
|
-
For options, please see the parent section, "Calculations":#calculations.
|
1285
|
-
|
1286
|
-
h4. Minimum
|
1287
|
-
|
1288
|
-
If you want to find the minimum value of a field in your table you can call the +minimum+ method on the class that relates to the table. This method call will look something like this:
|
1289
|
-
|
1290
|
-
<ruby>
|
1291
|
-
Client.minimum("age")
|
1292
|
-
</ruby>
|
1293
|
-
|
1294
|
-
For options, please see the parent section, "Calculations":#calculations.
|
1295
|
-
|
1296
|
-
h4. Maximum
|
1297
|
-
|
1298
|
-
If you want to find the maximum value of a field in your table you can call the +maximum+ method on the class that relates to the table. This method call will look something like this:
|
1299
|
-
|
1300
|
-
<ruby>
|
1301
|
-
Client.maximum("age")
|
1302
|
-
</ruby>
|
1303
|
-
|
1304
|
-
For options, please see the parent section, "Calculations":#calculations.
|
1305
|
-
|
1306
|
-
h4. Sum
|
1307
|
-
|
1308
|
-
If you want to find the sum of a field for all records in your table you can call the +sum+ method on the class that relates to the table. This method call will look something like this:
|
1309
|
-
|
1310
|
-
<ruby>
|
1311
|
-
Client.sum("orders_count")
|
1312
|
-
</ruby>
|
1313
|
-
|
1314
|
-
For options, please see the parent section, "Calculations":#calculations.
|
1315
|
-
|
1316
|
-
h3. Running EXPLAIN
|
1317
|
-
|
1318
|
-
You can run EXPLAIN on the queries triggered by relations. For example,
|
1319
|
-
|
1320
|
-
<ruby>
|
1321
|
-
User.where(:id => 1).joins(:posts).explain
|
1322
|
-
</ruby>
|
1323
|
-
|
1324
|
-
may yield
|
1325
|
-
|
1326
|
-
<plain>
|
1327
|
-
EXPLAIN for: SELECT `users`.* FROM `users` INNER JOIN `posts` ON `posts`.`user_id` = `users`.`id` WHERE `users`.`id` = 1
|
1328
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------------<plus>
|
1329
|
-
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
1330
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------------<plus>
|
1331
|
-
| 1 | SIMPLE | users | const | PRIMARY | PRIMARY | 4 | const | 1 | |
|
1332
|
-
| 1 | SIMPLE | posts | ALL | NULL | NULL | NULL | NULL | 1 | Using where |
|
1333
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------------<plus>
|
1334
|
-
2 rows in set (0.00 sec)
|
1335
|
-
</plain>
|
1336
|
-
|
1337
|
-
under MySQL.
|
1338
|
-
|
1339
|
-
Active Record performs a pretty printing that emulates the one of the database
|
1340
|
-
shells. So, the same query running with the PostgreSQL adapter would yield instead
|
1341
|
-
|
1342
|
-
<plain>
|
1343
|
-
EXPLAIN for: SELECT "users".* FROM "users" INNER JOIN "posts" ON "posts"."user_id" = "users"."id" WHERE "users"."id" = 1
|
1344
|
-
QUERY PLAN
|
1345
|
-
------------------------------------------------------------------------------
|
1346
|
-
Nested Loop Left Join (cost=0.00..37.24 rows=8 width=0)
|
1347
|
-
Join Filter: (posts.user_id = users.id)
|
1348
|
-
-> Index Scan using users_pkey on users (cost=0.00..8.27 rows=1 width=4)
|
1349
|
-
Index Cond: (id = 1)
|
1350
|
-
-> Seq Scan on posts (cost=0.00..28.88 rows=8 width=4)
|
1351
|
-
Filter: (posts.user_id = 1)
|
1352
|
-
(6 rows)
|
1353
|
-
</plain>
|
1354
|
-
|
1355
|
-
Eager loading may trigger more than one query under the hood, and some queries
|
1356
|
-
may need the results of previous ones. Because of that, +explain+ actually
|
1357
|
-
executes the query, and then asks for the query plans. For example,
|
1358
|
-
|
1359
|
-
<ruby>
|
1360
|
-
User.where(:id => 1).includes(:posts).explain
|
1361
|
-
</ruby>
|
1362
|
-
|
1363
|
-
yields
|
1364
|
-
|
1365
|
-
<plain>
|
1366
|
-
EXPLAIN for: SELECT `users`.* FROM `users` WHERE `users`.`id` = 1
|
1367
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------<plus>
|
1368
|
-
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
1369
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------<plus>
|
1370
|
-
| 1 | SIMPLE | users | const | PRIMARY | PRIMARY | 4 | const | 1 | |
|
1371
|
-
<plus>----<plus>-------------<plus>-------<plus>-------<plus>---------------<plus>---------<plus>---------<plus>-------<plus>------<plus>-------<plus>
|
1372
|
-
1 row in set (0.00 sec)
|
1373
|
-
|
1374
|
-
EXPLAIN for: SELECT `posts`.* FROM `posts` WHERE `posts`.`user_id` IN (1)
|
1375
|
-
<plus>----<plus>-------------<plus>-------<plus>------<plus>---------------<plus>------<plus>---------<plus>------<plus>------<plus>-------------<plus>
|
1376
|
-
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
1377
|
-
<plus>----<plus>-------------<plus>-------<plus>------<plus>---------------<plus>------<plus>---------<plus>------<plus>------<plus>-------------<plus>
|
1378
|
-
| 1 | SIMPLE | posts | ALL | NULL | NULL | NULL | NULL | 1 | Using where |
|
1379
|
-
<plus>----<plus>-------------<plus>-------<plus>------<plus>---------------<plus>------<plus>---------<plus>------<plus>------<plus>-------------<plus>
|
1380
|
-
1 row in set (0.00 sec)
|
1381
|
-
</plain>
|
1382
|
-
|
1383
|
-
under MySQL.
|
1384
|
-
|
1385
|
-
h4. Automatic EXPLAIN
|
1386
|
-
|
1387
|
-
Active Record is able to run EXPLAIN automatically on slow queries and log its
|
1388
|
-
output. This feature is controlled by the configuration parameter
|
1389
|
-
|
1390
|
-
<ruby>
|
1391
|
-
config.active_record.auto_explain_threshold_in_seconds
|
1392
|
-
</ruby>
|
1393
|
-
|
1394
|
-
If set to a number, any query exceeding those many seconds will have its EXPLAIN
|
1395
|
-
automatically triggered and logged. In the case of relations, the threshold is
|
1396
|
-
compared to the total time needed to fetch records. So, a relation is seen as a
|
1397
|
-
unit of work, no matter whether the implementation of eager loading involves
|
1398
|
-
several queries under the hood.
|
1399
|
-
|
1400
|
-
A threshold of +nil+ disables automatic EXPLAINs.
|
1401
|
-
|
1402
|
-
The default threshold in development mode is 0.5 seconds, and +nil+ in test and
|
1403
|
-
production modes.
|
1404
|
-
|
1405
|
-
INFO. Automatic EXPLAIN gets disabled if Active Record has no logger, regardless
|
1406
|
-
of the value of the threshold.
|
1407
|
-
|
1408
|
-
h5. Disabling Automatic EXPLAIN
|
1409
|
-
|
1410
|
-
Automatic EXPLAIN can be selectively silenced with +ActiveRecord::Base.silence_auto_explain+:
|
1411
|
-
|
1412
|
-
<ruby>
|
1413
|
-
ActiveRecord::Base.silence_auto_explain do
|
1414
|
-
# no automatic EXPLAIN is triggered here
|
1415
|
-
end
|
1416
|
-
</ruby>
|
1417
|
-
|
1418
|
-
That may be useful for queries you know are slow but fine, like a heavyweight
|
1419
|
-
report of an admin interface.
|
1420
|
-
|
1421
|
-
As its name suggests, +silence_auto_explain+ only silences automatic EXPLAINs.
|
1422
|
-
Explicit calls to +ActiveRecord::Relation#explain+ run.
|
1423
|
-
|
1424
|
-
h4. Interpreting EXPLAIN
|
1425
|
-
|
1426
|
-
Interpretation of the output of EXPLAIN is beyond the scope of this guide. The
|
1427
|
-
following pointers may be helpful:
|
1428
|
-
|
1429
|
-
* SQLite3: "EXPLAIN QUERY PLAN":http://www.sqlite.org/eqp.html
|
1430
|
-
|
1431
|
-
* MySQL: "EXPLAIN Output Format":http://dev.mysql.com/doc/refman/5.6/en/explain-output.html
|
1432
|
-
|
1433
|
-
* PostgreSQL: "Using EXPLAIN":http://www.postgresql.org/docs/current/static/using-explain.html
|