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,1929 +0,0 @@
|
|
1
|
-
h2. Getting Started with Rails
|
2
|
-
|
3
|
-
This guide covers getting up and running with Ruby on Rails. After reading it,
|
4
|
-
you should be familiar with:
|
5
|
-
|
6
|
-
* Installing Rails, creating a new Rails application, and connecting your application to a database
|
7
|
-
* The general layout of a Rails application
|
8
|
-
* The basic principles of MVC (Model, View Controller) and RESTful design
|
9
|
-
* How to quickly generate the starting pieces of a Rails application
|
10
|
-
|
11
|
-
endprologue.
|
12
|
-
|
13
|
-
WARNING. This Guide is based on Rails 3.2. Some of the code shown here will not
|
14
|
-
work in earlier versions of Rails.
|
15
|
-
|
16
|
-
h3. Guide Assumptions
|
17
|
-
|
18
|
-
This guide is designed for beginners who want to get started with a Rails
|
19
|
-
application from scratch. It does not assume that you have any prior experience
|
20
|
-
with Rails. However, to get the most out of it, you need to have some
|
21
|
-
prerequisites installed:
|
22
|
-
|
23
|
-
* The "Ruby":http://www.ruby-lang.org/en/downloads language version 1.8.7 or higher
|
24
|
-
|
25
|
-
TIP: Note that Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails
|
26
|
-
3.0 and above. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02
|
27
|
-
though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults
|
28
|
-
on Rails 3.0 and above, so if you want to use Rails 3.0 or above with 1.9.x jump on 1.9.2 for smooth
|
29
|
-
sailing.
|
30
|
-
|
31
|
-
* The "RubyGems":http://rubyforge.org/frs/?group_id=126 packaging system
|
32
|
-
** If you want to learn more about RubyGems, please read the "RubyGems User Guide":http://docs.rubygems.org/read/book/1
|
33
|
-
* A working installation of the "SQLite3 Database":http://www.sqlite.org
|
34
|
-
|
35
|
-
Rails is a web application framework running on the Ruby programming language.
|
36
|
-
If you have no prior experience with Ruby, you will find a very steep learning
|
37
|
-
curve diving straight into Rails. There are some good free resources on the
|
38
|
-
internet for learning Ruby, including:
|
39
|
-
|
40
|
-
* "Mr. Neighborly's Humble Little Ruby Book":http://www.humblelittlerubybook.com
|
41
|
-
* "Programming Ruby":http://www.ruby-doc.org/docs/ProgrammingRuby/
|
42
|
-
* "Why's (Poignant) Guide to Ruby":http://mislav.uniqpath.com/poignant-guide/
|
43
|
-
|
44
|
-
Also, the example code for this guide is available in the rails github:https://github.com/rails/rails repository
|
45
|
-
in rails/railties/guides/code/getting_started.
|
46
|
-
|
47
|
-
h3. What is Rails?
|
48
|
-
|
49
|
-
TIP: This section goes into the background and philosophy of the Rails framework
|
50
|
-
in detail. You can safely skip this section and come back to it at a later time.
|
51
|
-
Section 3 starts you on the path to creating your first Rails application.
|
52
|
-
|
53
|
-
Rails is a web application development framework written in the Ruby language.
|
54
|
-
It is designed to make programming web applications easier by making assumptions
|
55
|
-
about what every developer needs to get started. It allows you to write less
|
56
|
-
code while accomplishing more than many other languages and frameworks.
|
57
|
-
Experienced Rails developers also report that it makes web application
|
58
|
-
development more fun.
|
59
|
-
|
60
|
-
Rails is opinionated software. It makes the assumption that there is a "best"
|
61
|
-
way to do things, and it's designed to encourage that way - and in some cases to
|
62
|
-
discourage alternatives. If you learn "The Rails Way" you'll probably discover a
|
63
|
-
tremendous increase in productivity. If you persist in bringing old habits from
|
64
|
-
other languages to your Rails development, and trying to use patterns you
|
65
|
-
learned elsewhere, you may have a less happy experience.
|
66
|
-
|
67
|
-
The Rails philosophy includes several guiding principles:
|
68
|
-
|
69
|
-
* DRY - "Don't Repeat Yourself" - suggests that writing the same code over and over again is a bad thing.
|
70
|
-
* Convention Over Configuration - means that Rails makes assumptions about what you want to do and how you're going to
|
71
|
-
do it, rather than requiring you to specify every little thing through endless configuration files.
|
72
|
-
* REST is the best pattern for web applications - organizing your application around resources and standard HTTP verbs
|
73
|
-
is the fastest way to go.
|
74
|
-
|
75
|
-
h4. The MVC Architecture
|
76
|
-
|
77
|
-
At the core of Rails is the Model, View, Controller architecture, usually just
|
78
|
-
called MVC. MVC benefits include:
|
79
|
-
|
80
|
-
* Isolation of business logic from the user interface
|
81
|
-
* Ease of keeping code DRY
|
82
|
-
* Making it clear where different types of code belong for easier maintenance
|
83
|
-
|
84
|
-
h5. Models
|
85
|
-
|
86
|
-
A model represents the information (data) of the application and the rules to
|
87
|
-
manipulate that data. In the case of Rails, models are primarily used for
|
88
|
-
managing the rules of interaction with a corresponding database table. In most
|
89
|
-
cases, each table in your database will correspond to one model in your
|
90
|
-
application. The bulk of your application's business logic will be concentrated
|
91
|
-
in the models.
|
92
|
-
|
93
|
-
h5. Views
|
94
|
-
|
95
|
-
Views represent the user interface of your application. In Rails, views are
|
96
|
-
often HTML files with embedded Ruby code that perform tasks related solely to
|
97
|
-
the presentation of the data. Views handle the job of providing data to the web
|
98
|
-
browser or other tool that is used to make requests from your application.
|
99
|
-
|
100
|
-
h5. Controllers
|
101
|
-
|
102
|
-
Controllers provide the "glue" between models and views. In Rails, controllers
|
103
|
-
are responsible for processing the incoming requests from the web browser,
|
104
|
-
interrogating the models for data, and passing that data on to the views for
|
105
|
-
presentation.
|
106
|
-
|
107
|
-
h4. The Components of Rails
|
108
|
-
|
109
|
-
Rails ships as many individual components. Each of these components are briefly
|
110
|
-
explained below. If you are new to Rails, as you read this section, don't get
|
111
|
-
hung up on the details of each component, as they will be explained in further
|
112
|
-
detail later. For instance, we will bring up Rack applications, but you don't
|
113
|
-
need to know anything about them to continue with this guide.
|
114
|
-
|
115
|
-
* Action Pack
|
116
|
-
** Action Controller
|
117
|
-
** Action Dispatch
|
118
|
-
** Action View
|
119
|
-
* Action Mailer
|
120
|
-
* Active Model
|
121
|
-
* Active Record
|
122
|
-
* Active Resource
|
123
|
-
* Active Support
|
124
|
-
* Railties
|
125
|
-
|
126
|
-
h5. Action Pack
|
127
|
-
|
128
|
-
Action Pack is a single gem that contains Action Controller, Action View and
|
129
|
-
Action Dispatch. The "VC" part of "MVC".
|
130
|
-
|
131
|
-
h6. Action Controller
|
132
|
-
|
133
|
-
Action Controller is the component that manages the controllers in a Rails
|
134
|
-
application. The Action Controller framework processes incoming requests to a
|
135
|
-
Rails application, extracts parameters, and dispatches them to the intended
|
136
|
-
action. Services provided by Action Controller include session management,
|
137
|
-
template rendering, and redirect management.
|
138
|
-
|
139
|
-
h6. Action View
|
140
|
-
|
141
|
-
Action View manages the views of your Rails application. It can create both HTML
|
142
|
-
and XML output by default. Action View manages rendering templates, including
|
143
|
-
nested and partial templates, and includes built-in AJAX support. View
|
144
|
-
templates are covered in more detail in another guide called "Layouts and
|
145
|
-
Rendering":layouts_and_rendering.html.
|
146
|
-
|
147
|
-
h6. Action Dispatch
|
148
|
-
|
149
|
-
Action Dispatch handles routing of web requests and dispatches them as you want,
|
150
|
-
either to your application or any other Rack application. Rack applications are
|
151
|
-
a more advanced topic and are covered in a separate guide called "Rails on
|
152
|
-
Rack":rails_on_rack.html.
|
153
|
-
|
154
|
-
h5. Action Mailer
|
155
|
-
|
156
|
-
Action Mailer is a framework for building e-mail services. You can use Action
|
157
|
-
Mailer to receive and process incoming email and send simple plain text or
|
158
|
-
complex multipart emails based on flexible templates.
|
159
|
-
|
160
|
-
h5. Active Model
|
161
|
-
|
162
|
-
Active Model provides a defined interface between the Action Pack gem services
|
163
|
-
and Object Relationship Mapping gems such as Active Record. Active Model allows
|
164
|
-
Rails to utilize other ORM frameworks in place of Active Record if your
|
165
|
-
application needs this.
|
166
|
-
|
167
|
-
h5. Active Record
|
168
|
-
|
169
|
-
Active Record is the base for the models in a Rails application. It provides
|
170
|
-
database independence, basic CRUD functionality, advanced finding capabilities,
|
171
|
-
and the ability to relate models to one another, among other services.
|
172
|
-
|
173
|
-
h5. Active Resource
|
174
|
-
|
175
|
-
Active Resource provides a framework for managing the connection between
|
176
|
-
business objects and RESTful web services. It implements a way to map web-based
|
177
|
-
resources to local objects with CRUD semantics.
|
178
|
-
|
179
|
-
h5. Active Support
|
180
|
-
|
181
|
-
Active Support is an extensive collection of utility classes and standard Ruby
|
182
|
-
library extensions that are used in Rails, both by the core code and by your
|
183
|
-
applications.
|
184
|
-
|
185
|
-
h5. Railties
|
186
|
-
|
187
|
-
Railties is the core Rails code that builds new Rails applications and glues the
|
188
|
-
various frameworks and plugins together in any Rails application.
|
189
|
-
|
190
|
-
h4. REST
|
191
|
-
|
192
|
-
Rest stands for Representational State Transfer and is the foundation of the
|
193
|
-
RESTful architecture. This is generally considered to be Roy Fielding's doctoral
|
194
|
-
thesis, "Architectural Styles and the Design of Network-based Software
|
195
|
-
Architectures":http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm. While
|
196
|
-
you can read through the thesis, REST in terms of Rails boils down to two main
|
197
|
-
principles:
|
198
|
-
|
199
|
-
* Using resource identifiers such as URLs to represent resources.
|
200
|
-
* Transferring representations of the state of that resource between system components.
|
201
|
-
|
202
|
-
For example, the following HTTP request:
|
203
|
-
|
204
|
-
<tt>DELETE /photos/17</tt>
|
205
|
-
|
206
|
-
would be understood to refer to a photo resource with the ID of 17, and to
|
207
|
-
indicate a desired action - deleting that resource. REST is a natural style for
|
208
|
-
the architecture of web applications, and Rails hooks into this shielding you
|
209
|
-
from many of the RESTful complexities and browser quirks.
|
210
|
-
|
211
|
-
If you'd like more details on REST as an architectural style, these resources
|
212
|
-
are more approachable than Fielding's thesis:
|
213
|
-
|
214
|
-
* "A Brief Introduction to REST":http://www.infoq.com/articles/rest-introduction by Stefan Tilkov
|
215
|
-
* "An Introduction to REST":http://bitworking.org/news/373/An-Introduction-to-REST (video tutorial) by Joe Gregorio
|
216
|
-
* "Representational State Transfer":http://en.wikipedia.org/wiki/Representational_State_Transfer article in Wikipedia
|
217
|
-
* "How to GET a Cup of Coffee":http://www.infoq.com/articles/webber-rest-workflow by Jim Webber, Savas Parastatidis &
|
218
|
-
Ian Robinson
|
219
|
-
|
220
|
-
h3. Creating a New Rails Project
|
221
|
-
|
222
|
-
The best way to use this guide is to follow each step as it happens, no code or
|
223
|
-
step needed to make this example application has been left out, so you can
|
224
|
-
literally follow along step by step. You can get the complete code "here":https://github.com/rails/rails/tree/3-2-stable/railties/guides/code/getting_started.
|
225
|
-
|
226
|
-
By following along with this guide, you'll create a Rails project called <tt>blog</tt>, a
|
227
|
-
(very) simple weblog. Before you can start building the application, you need to
|
228
|
-
make sure that you have Rails itself installed.
|
229
|
-
|
230
|
-
TIP: The examples below use # and $ to denote terminal prompts. If you are using Windows, your prompt will look something like c:\source_code>
|
231
|
-
|
232
|
-
h4. Installing Rails
|
233
|
-
|
234
|
-
In most cases, the easiest way to install Rails is to take advantage of RubyGems:
|
235
|
-
|
236
|
-
<shell>
|
237
|
-
Usually run this as the root user:
|
238
|
-
# gem install rails
|
239
|
-
</shell>
|
240
|
-
|
241
|
-
TIP. If you're working on Windows, you can quickly install Ruby and Rails with
|
242
|
-
"Rails Installer":http://railsinstaller.org.
|
243
|
-
|
244
|
-
To verify that you have everything installed correctly, you should be able to run
|
245
|
-
the following:
|
246
|
-
|
247
|
-
<shell>
|
248
|
-
$ rails --version
|
249
|
-
</shell>
|
250
|
-
|
251
|
-
If it says something like "Rails 3.2.3" you are ready to continue.
|
252
|
-
|
253
|
-
h4. Creating the Blog Application
|
254
|
-
|
255
|
-
To begin, open a terminal, navigate to a folder where you have rights to create
|
256
|
-
files, and type:
|
257
|
-
|
258
|
-
<shell>
|
259
|
-
$ rails new blog
|
260
|
-
</shell>
|
261
|
-
|
262
|
-
This will create a Rails application called Blog in a directory called blog.
|
263
|
-
|
264
|
-
TIP: You can see all of the switches that the Rails application builder accepts
|
265
|
-
by running
|
266
|
-
<tt>rails new -h</tt>.
|
267
|
-
|
268
|
-
After you create the blog application, switch to its folder to continue work
|
269
|
-
directly in that application:
|
270
|
-
|
271
|
-
<shell>
|
272
|
-
$ cd blog
|
273
|
-
</shell>
|
274
|
-
|
275
|
-
The 'rails new blog' command we ran above created a folder in your working directory
|
276
|
-
called <tt>blog</tt>. The <tt>blog</tt> folder has a number of auto-generated folders
|
277
|
-
that make up the structure of a Rails application. Most of the work in
|
278
|
-
this tutorial will happen in the <tt>app/</tt> folder, but here's a basic
|
279
|
-
rundown on the function of each of the files and folders that Rails created by default:
|
280
|
-
|
281
|
-
|_.File/Folder|_.Purpose|
|
282
|
-
|app/|Contains the controllers, models, views and assets for your application. You'll focus on this folder for the remainder of this guide.|
|
283
|
-
|config/|Configure your application's runtime rules, routes, database, and more. This is covered in more detail in "Configuring Rails Applications":configuring.html|
|
284
|
-
|config.ru|Rack configuration for Rack based servers used to start the application.|
|
285
|
-
|db/|Contains your current database schema, as well as the database migrations.|
|
286
|
-
|doc/|In-depth documentation for your application.|
|
287
|
-
|Gemfile<BR />Gemfile.lock|These files allow you to specify what gem dependencies are needed for your Rails application.|
|
288
|
-
|lib/|Extended modules for your application.|
|
289
|
-
|log/|Application log files.|
|
290
|
-
|public/|The only folder seen to the world as-is. Contains the static files and compiled assets.|
|
291
|
-
|Rakefile|This file locates and loads tasks that can be run from the command line. The task definitions are defined throughout the components of Rails. Rather than changing Rakefile, you should add your own tasks by adding files to the lib/tasks directory of your application.|
|
292
|
-
|README.rdoc|This is a brief instruction manual for your application. You should edit this file to tell others what your application does, how to set it up, and so on.|
|
293
|
-
|script/|Contains the rails script that starts your app and can contain other scripts you use to deploy or run your application.|
|
294
|
-
|test/|Unit tests, fixtures, and other test apparatus. These are covered in "Testing Rails Applications":testing.html|
|
295
|
-
|tmp/|Temporary files|
|
296
|
-
|vendor/|A place for all third-party code. In a typical Rails application, this includes Ruby Gems, the Rails source code (if you optionally install it into your project) and plugins containing additional prepackaged functionality.|
|
297
|
-
|
298
|
-
h4. Configuring a Database
|
299
|
-
|
300
|
-
Just about every Rails application will interact with a database. The database
|
301
|
-
to use is specified in a configuration file, +config/database.yml+. If you open
|
302
|
-
this file in a new Rails application, you'll see a default database
|
303
|
-
configured to use SQLite3. The file contains sections for three different
|
304
|
-
environments in which Rails can run by default:
|
305
|
-
|
306
|
-
* The +development+ environment is used on your development/local computer as you interact
|
307
|
-
manually with the application.
|
308
|
-
* The +test+ environment is used when running automated tests.
|
309
|
-
* The +production+ environment is used when you deploy your application for the world to use.
|
310
|
-
|
311
|
-
TIP: You don't have to update the database configurations manually. If you look at the
|
312
|
-
options of the application generator, you will see that one of the options
|
313
|
-
is named <tt>--database</tt>. This option allows you to choose an adapter from a
|
314
|
-
list of the most used relational databases. You can even run the generator
|
315
|
-
repeatedly: <tt>cd .. && rails new blog --database=mysql</tt>. When you confirm the overwriting
|
316
|
-
of the +config/database.yml+ file, your application will be configured for MySQL
|
317
|
-
instead of SQLite. Detailed examples of the common database connections are below.
|
318
|
-
|
319
|
-
h5. Configuring an SQLite3 Database
|
320
|
-
|
321
|
-
Rails comes with built-in support for "SQLite3":http://www.sqlite.org, which is
|
322
|
-
a lightweight serverless database application. While a busy production
|
323
|
-
environment may overload SQLite, it works well for development and testing.
|
324
|
-
Rails defaults to using an SQLite database when creating a new project, but you
|
325
|
-
can always change it later.
|
326
|
-
|
327
|
-
Here's the section of the default configuration file
|
328
|
-
(<tt>config/database.yml</tt>) with connection information for the development
|
329
|
-
environment:
|
330
|
-
|
331
|
-
<yaml>
|
332
|
-
development:
|
333
|
-
adapter: sqlite3
|
334
|
-
database: db/development.sqlite3
|
335
|
-
pool: 5
|
336
|
-
timeout: 5000
|
337
|
-
</yaml>
|
338
|
-
|
339
|
-
NOTE: In this guide we are using an SQLite3 database for data storage, because
|
340
|
-
it is a zero configuration database that just works. Rails also supports MySQL
|
341
|
-
and PostgreSQL "out of the box", and has plugins for many database systems. If
|
342
|
-
you are using a database in a production environment Rails most likely has an
|
343
|
-
adapter for it.
|
344
|
-
|
345
|
-
h5. Configuring a MySQL Database
|
346
|
-
|
347
|
-
If you choose to use MySQL instead of the shipped SQLite3 database, your
|
348
|
-
+config/database.yml+ will look a little different. Here's the development
|
349
|
-
section:
|
350
|
-
|
351
|
-
<yaml>
|
352
|
-
development:
|
353
|
-
adapter: mysql2
|
354
|
-
encoding: utf8
|
355
|
-
database: blog_development
|
356
|
-
pool: 5
|
357
|
-
username: root
|
358
|
-
password:
|
359
|
-
socket: /tmp/mysql.sock
|
360
|
-
</yaml>
|
361
|
-
|
362
|
-
If your development computer's MySQL installation includes a root user with an
|
363
|
-
empty password, this configuration should work for you. Otherwise, change the
|
364
|
-
username and password in the +development+ section as appropriate.
|
365
|
-
|
366
|
-
h5. Configuring a PostgreSQL Database
|
367
|
-
|
368
|
-
If you choose to use PostgreSQL, your +config/database.yml+ will be customized
|
369
|
-
to use PostgreSQL databases:
|
370
|
-
|
371
|
-
<yaml>
|
372
|
-
development:
|
373
|
-
adapter: postgresql
|
374
|
-
encoding: unicode
|
375
|
-
database: blog_development
|
376
|
-
pool: 5
|
377
|
-
username: blog
|
378
|
-
password:
|
379
|
-
</yaml>
|
380
|
-
|
381
|
-
h5. Configuring an SQLite3 Database for JRuby Platform
|
382
|
-
|
383
|
-
If you choose to use SQLite3 and are using JRuby, your +config/database.yml+ will
|
384
|
-
look a little different. Here's the development section:
|
385
|
-
|
386
|
-
<yaml>
|
387
|
-
development:
|
388
|
-
adapter: jdbcsqlite3
|
389
|
-
database: db/development.sqlite3
|
390
|
-
</yaml>
|
391
|
-
|
392
|
-
h5. Configuring a MySQL Database for JRuby Platform
|
393
|
-
|
394
|
-
If you choose to use MySQL and are using JRuby, your +config/database.yml+ will look
|
395
|
-
a little different. Here's the development section:
|
396
|
-
|
397
|
-
<yaml>
|
398
|
-
development:
|
399
|
-
adapter: jdbcmysql
|
400
|
-
database: blog_development
|
401
|
-
username: root
|
402
|
-
password:
|
403
|
-
</yaml>
|
404
|
-
|
405
|
-
h5. Configuring a PostgreSQL Database for JRuby Platform
|
406
|
-
|
407
|
-
Finally if you choose to use PostgreSQL and are using JRuby, your
|
408
|
-
+config/database.yml+ will look a little different. Here's the development
|
409
|
-
section:
|
410
|
-
|
411
|
-
<yaml>
|
412
|
-
development:
|
413
|
-
adapter: jdbcpostgresql
|
414
|
-
encoding: unicode
|
415
|
-
database: blog_development
|
416
|
-
username: blog
|
417
|
-
password:
|
418
|
-
</yaml>
|
419
|
-
|
420
|
-
Change the username and password in the +development+ section as appropriate.
|
421
|
-
|
422
|
-
h4. Creating the Database
|
423
|
-
|
424
|
-
Now that you have your database configured, it's time to have Rails create an
|
425
|
-
empty database for you. You can do this by running a rake command:
|
426
|
-
|
427
|
-
<shell>
|
428
|
-
$ rake db:create
|
429
|
-
</shell>
|
430
|
-
|
431
|
-
This will create your development and test SQLite3 databases inside the
|
432
|
-
<tt>db/</tt> folder.
|
433
|
-
|
434
|
-
TIP: Rake is a general-purpose command-runner that Rails uses for many things.
|
435
|
-
You can see the list of available rake commands in your application by running
|
436
|
-
+rake -T+.
|
437
|
-
|
438
|
-
h3. Hello, Rails!
|
439
|
-
|
440
|
-
One of the traditional places to start with a new language is by getting some
|
441
|
-
text up on screen quickly. To do this, you need to get your Rails application
|
442
|
-
server running.
|
443
|
-
|
444
|
-
h4. Starting up the Web Server
|
445
|
-
|
446
|
-
You actually have a functional Rails application already. To see it, you need to
|
447
|
-
start a web server on your development machine. You can do this by running:
|
448
|
-
|
449
|
-
<shell>
|
450
|
-
$ rails server
|
451
|
-
</shell>
|
452
|
-
|
453
|
-
TIP: Compiling CoffeeScript to JavaScript requires a JavaScript runtime and
|
454
|
-
the absence of a runtime will give you an +execjs+ error. Usually Mac OS X
|
455
|
-
and Windows come with a JavaScript runtime installed. Rails adds the +therubyracer+ gem
|
456
|
-
to Gemfile in a commented line for new apps and you can uncomment if you need it.
|
457
|
-
+therubyrhino+ is the recommended runtime for JRuby users and is added by default
|
458
|
-
to Gemfile in apps generated under JRuby. You can investigate about all the
|
459
|
-
supported runtimes at "ExecJS":https://github.com/sstephenson/execjs#readme.
|
460
|
-
|
461
|
-
This will fire up an instance of the WEBrick web server by default (Rails can
|
462
|
-
also use several other web servers). To see your application in action, open a
|
463
|
-
browser window and navigate to "http://localhost:3000":http://localhost:3000.
|
464
|
-
You should see Rails' default information page:
|
465
|
-
|
466
|
-
!images/rails_welcome.png(Welcome Aboard screenshot)!
|
467
|
-
|
468
|
-
TIP: To stop the web server, hit Ctrl+C in the terminal window where it's
|
469
|
-
running. In development mode, Rails does not generally require you to stop the
|
470
|
-
server; changes you make in files will be automatically picked up by the server.
|
471
|
-
|
472
|
-
The "Welcome Aboard" page is the _smoke test_ for a new Rails application: it
|
473
|
-
makes sure that you have your software configured correctly enough to serve a
|
474
|
-
page. You can also click on the _About your application’s environment_ link to
|
475
|
-
see a summary of your application's environment.
|
476
|
-
|
477
|
-
h4. Say "Hello", Rails
|
478
|
-
|
479
|
-
To get Rails saying "Hello", you need to create at minimum a controller and a
|
480
|
-
view. Fortunately, you can do that in a single command. Enter this command in
|
481
|
-
your terminal:
|
482
|
-
|
483
|
-
<shell>
|
484
|
-
$ rails generate controller home index
|
485
|
-
</shell>
|
486
|
-
|
487
|
-
TIP: If you get a command not found error when running this command, you
|
488
|
-
need to explicitly pass Rails +rails+ commands to Ruby: <tt>ruby
|
489
|
-
\path\to\your\application\script\rails generate controller home index</tt>.
|
490
|
-
|
491
|
-
Rails will create several files for you, including
|
492
|
-
+app/views/home/index.html.erb+. This is the template that will be used to
|
493
|
-
display the results of the +index+ action (method) in the +home+ controller.
|
494
|
-
Open this file in your text editor and edit it to contain a single line of code:
|
495
|
-
|
496
|
-
<code class="html">
|
497
|
-
<h1>Hello, Rails!</h1>
|
498
|
-
</code>
|
499
|
-
|
500
|
-
h4. Setting the Application Home Page
|
501
|
-
|
502
|
-
Now that we have made the controller and view, we need to tell Rails when we
|
503
|
-
want "Hello Rails!" to show up. In our case, we want it to show up when we
|
504
|
-
navigate to the root URL of our site,
|
505
|
-
"http://localhost:3000":http://localhost:3000, instead of the "Welcome Aboard"
|
506
|
-
smoke test.
|
507
|
-
|
508
|
-
The first step to doing this is to delete the default page from your
|
509
|
-
application:
|
510
|
-
|
511
|
-
<shell>
|
512
|
-
$ rm public/index.html
|
513
|
-
</shell>
|
514
|
-
|
515
|
-
We need to do this as Rails will deliver any static file in the +public+
|
516
|
-
directory in preference to any dynamic content we generate from the controllers.
|
517
|
-
|
518
|
-
Now, you have to tell Rails where your actual home page is located. Open the
|
519
|
-
file +config/routes.rb+ in your editor. This is your application's _routing
|
520
|
-
file_ which holds entries in a special DSL (domain-specific language) that tells
|
521
|
-
Rails how to connect incoming requests to controllers and actions. This file
|
522
|
-
contains many sample routes on commented lines, and one of them actually shows
|
523
|
-
you how to connect the root of your site to a specific controller and action.
|
524
|
-
Find the line beginning with +root :to+ and uncomment it. It should look something like the following:
|
525
|
-
|
526
|
-
<ruby>
|
527
|
-
Blog::Application.routes.draw do
|
528
|
-
|
529
|
-
#...
|
530
|
-
# You can have the root of your site routed with "root"
|
531
|
-
# just remember to delete public/index.html.
|
532
|
-
root :to => "home#index"
|
533
|
-
</ruby>
|
534
|
-
|
535
|
-
The +root :to => "home#index"+ tells Rails to map the root action to the home
|
536
|
-
controller's index action.
|
537
|
-
|
538
|
-
Now if you navigate to "http://localhost:3000":http://localhost:3000 in your
|
539
|
-
browser, you'll see +Hello, Rails!+.
|
540
|
-
|
541
|
-
NOTE. For more information about routing, refer to "Rails Routing from the
|
542
|
-
Outside In":routing.html.
|
543
|
-
|
544
|
-
h3. Getting Up and Running Quickly with Scaffolding
|
545
|
-
|
546
|
-
Rails _scaffolding_ is a quick way to generate some of the major pieces of an
|
547
|
-
application. If you want to create the models, views, and controllers for a new
|
548
|
-
resource in a single operation, scaffolding is the tool for the job.
|
549
|
-
|
550
|
-
h3. Creating a Resource
|
551
|
-
|
552
|
-
In the case of the blog application, you can start by generating a scaffold for the
|
553
|
-
Post resource: this will represent a single blog posting. To do this, enter this
|
554
|
-
command in your terminal:
|
555
|
-
|
556
|
-
<shell>
|
557
|
-
$ rails generate scaffold Post name:string title:string content:text
|
558
|
-
</shell>
|
559
|
-
|
560
|
-
The scaffold generator will build several files in your application, along with some
|
561
|
-
folders, and edit <tt>config/routes.rb</tt>. Here's a quick overview of what it creates:
|
562
|
-
|
563
|
-
|_.File |_.Purpose|
|
564
|
-
|db/migrate/20100207214725_create_posts.rb |Migration to create the posts table in your database (your name will include a different timestamp)|
|
565
|
-
|app/models/post.rb |The Post model|
|
566
|
-
|test/unit/post_test.rb |Unit testing harness for the posts model|
|
567
|
-
|test/fixtures/posts.yml |Sample posts for use in testing|
|
568
|
-
|config/routes.rb |Edited to include routing information for posts|
|
569
|
-
|app/controllers/posts_controller.rb |The Posts controller|
|
570
|
-
|app/views/posts/index.html.erb |A view to display an index of all posts |
|
571
|
-
|app/views/posts/edit.html.erb |A view to edit an existing post|
|
572
|
-
|app/views/posts/show.html.erb |A view to display a single post|
|
573
|
-
|app/views/posts/new.html.erb |A view to create a new post|
|
574
|
-
|app/views/posts/_form.html.erb |A partial to control the overall look and feel of the form used in edit and new views|
|
575
|
-
|test/functional/posts_controller_test.rb |Functional testing harness for the posts controller|
|
576
|
-
|app/helpers/posts_helper.rb |Helper functions to be used from the post views|
|
577
|
-
|test/unit/helpers/posts_helper_test.rb |Unit testing harness for the posts helper|
|
578
|
-
|app/assets/javascripts/posts.js.coffee |CoffeeScript for the posts controller|
|
579
|
-
|app/assets/stylesheets/posts.css.scss |Cascading style sheet for the posts controller|
|
580
|
-
|app/assets/stylesheets/scaffolds.css.scss |Cascading style sheet to make the scaffolded views look better|
|
581
|
-
|
582
|
-
NOTE. While scaffolding will get you up and running quickly, the code it
|
583
|
-
generates is unlikely to be a perfect fit for your application. You'll most
|
584
|
-
probably want to customize the generated code. Many experienced Rails developers
|
585
|
-
avoid scaffolding entirely, preferring to write all or most of their source code
|
586
|
-
from scratch. Rails, however, makes it really simple to customize templates for
|
587
|
-
generated models, controllers, views and other source files. You'll find more
|
588
|
-
information in the "Creating and Customizing Rails Generators &
|
589
|
-
Templates":generators.html guide.
|
590
|
-
|
591
|
-
h4. Running a Migration
|
592
|
-
|
593
|
-
One of the products of the +rails generate scaffold+ command is a _database
|
594
|
-
migration_. Migrations are Ruby classes that are designed to make it simple to
|
595
|
-
create and modify database tables. Rails uses rake commands to run migrations,
|
596
|
-
and it's possible to undo a migration after it's been applied to your database.
|
597
|
-
Migration filenames include a timestamp to ensure that they're processed in the
|
598
|
-
order that they were created.
|
599
|
-
|
600
|
-
If you look in the +db/migrate/20100207214725_create_posts.rb+ file (remember,
|
601
|
-
yours will have a slightly different name), here's what you'll find:
|
602
|
-
|
603
|
-
<ruby>
|
604
|
-
class CreatePosts < ActiveRecord::Migration
|
605
|
-
def change
|
606
|
-
create_table :posts do |t|
|
607
|
-
t.string :name
|
608
|
-
t.string :title
|
609
|
-
t.text :content
|
610
|
-
|
611
|
-
t.timestamps
|
612
|
-
end
|
613
|
-
end
|
614
|
-
end
|
615
|
-
</ruby>
|
616
|
-
|
617
|
-
The above migration creates a method named +change+ which will be called when you
|
618
|
-
run this migration. The action defined in this method is also reversible, which
|
619
|
-
means Rails knows how to reverse the change made by this migration, in case you
|
620
|
-
want to reverse it later. When you run this migration it will create a
|
621
|
-
+posts+ table with two string columns and a text column. It also creates two
|
622
|
-
timestamp fields to allow Rails to track post creation and update times. More
|
623
|
-
information about Rails migrations can be found in the "Rails Database
|
624
|
-
Migrations":migrations.html guide.
|
625
|
-
|
626
|
-
At this point, you can use a rake command to run the migration:
|
627
|
-
|
628
|
-
<shell>
|
629
|
-
$ rake db:migrate
|
630
|
-
</shell>
|
631
|
-
|
632
|
-
Rails will execute this migration command and tell you it created the Posts
|
633
|
-
table.
|
634
|
-
|
635
|
-
<shell>
|
636
|
-
== CreatePosts: migrating ====================================================
|
637
|
-
-- create_table(:posts)
|
638
|
-
-> 0.0019s
|
639
|
-
== CreatePosts: migrated (0.0020s) ===========================================
|
640
|
-
</shell>
|
641
|
-
|
642
|
-
NOTE. Because you're working in the development environment by default, this
|
643
|
-
command will apply to the database defined in the +development+ section of your
|
644
|
-
+config/database.yml+ file. If you would like to execute migrations in another
|
645
|
-
environment, for instance in production, you must explicitly pass it when
|
646
|
-
invoking the command: <tt>rake db:migrate RAILS_ENV=production</tt>.
|
647
|
-
|
648
|
-
h4. Adding a Link
|
649
|
-
|
650
|
-
To hook the posts up to the home page you've already created, you can add a link
|
651
|
-
to the home page. Open +app/views/home/index.html.erb+ and modify it as follows:
|
652
|
-
|
653
|
-
<ruby>
|
654
|
-
<h1>Hello, Rails!</h1>
|
655
|
-
<%= link_to "My Blog", posts_path %>
|
656
|
-
</ruby>
|
657
|
-
|
658
|
-
The +link_to+ method is one of Rails' built-in view helpers. It creates a
|
659
|
-
hyperlink based on text to display and where to go - in this case, to the path
|
660
|
-
for posts.
|
661
|
-
|
662
|
-
h4. Working with Posts in the Browser
|
663
|
-
|
664
|
-
Now you're ready to start working with posts. To do that, navigate to
|
665
|
-
"http://localhost:3000":http://localhost:3000/ and then click the "My Blog"
|
666
|
-
link:
|
667
|
-
|
668
|
-
!images/posts_index.png(Posts Index screenshot)!
|
669
|
-
|
670
|
-
This is the result of Rails rendering the +index+ view of your posts. There
|
671
|
-
aren't currently any posts in the database, but if you click the +New Post+ link
|
672
|
-
you can create one. After that, you'll find that you can edit posts, look at
|
673
|
-
their details, or destroy them. All of the logic and HTML to handle this was
|
674
|
-
built by the single +rails generate scaffold+ command.
|
675
|
-
|
676
|
-
TIP: In development mode (which is what you're working in by default), Rails
|
677
|
-
reloads your application with every browser request, so there's no need to stop
|
678
|
-
and restart the web server.
|
679
|
-
|
680
|
-
Congratulations, you're riding the rails! Now it's time to see how it all works.
|
681
|
-
|
682
|
-
h4. The Model
|
683
|
-
|
684
|
-
The model file, +app/models/post.rb+ is about as simple as it can get:
|
685
|
-
|
686
|
-
<ruby>
|
687
|
-
class Post < ActiveRecord::Base
|
688
|
-
attr_accessible :content, :name, :title
|
689
|
-
end
|
690
|
-
</ruby>
|
691
|
-
|
692
|
-
There isn't much to this file - but note that the +Post+ class inherits from
|
693
|
-
+ActiveRecord::Base+. Active Record supplies a great deal of functionality to
|
694
|
-
your Rails models for free, including basic database CRUD (Create, Read, Update,
|
695
|
-
Destroy) operations, data validation, as well as sophisticated search support
|
696
|
-
and the ability to relate multiple models to one another. Another important part
|
697
|
-
of this file is +attr_accessible+. It specifies a whitelist of attributes that are
|
698
|
-
allowed to be updated in bulk (via +update_attributes+ for instance).
|
699
|
-
|
700
|
-
h4. Adding Some Validation
|
701
|
-
|
702
|
-
Rails includes methods to help you validate the data that you send to models.
|
703
|
-
Open the +app/models/post.rb+ file and edit it:
|
704
|
-
|
705
|
-
<ruby>
|
706
|
-
class Post < ActiveRecord::Base
|
707
|
-
attr_accessible :content, :name, :title
|
708
|
-
|
709
|
-
validates :name, :presence => true
|
710
|
-
validates :title, :presence => true,
|
711
|
-
:length => { :minimum => 5 }
|
712
|
-
end
|
713
|
-
</ruby>
|
714
|
-
|
715
|
-
These changes will ensure that all posts have a name and a title, and that the
|
716
|
-
title is at least five characters long. Rails can validate a variety of
|
717
|
-
conditions in a model, including the presence or uniqueness of columns, their
|
718
|
-
format, and the existence of associated objects. Validations are covered in detail
|
719
|
-
in "Active Record Validations and Callbacks":active_record_validations_callbacks.html#validations-overview
|
720
|
-
|
721
|
-
h4. Using the Console
|
722
|
-
|
723
|
-
To see your validations in action, you can use the console. The console is a
|
724
|
-
command-line tool that lets you execute Ruby code in the context of your
|
725
|
-
application:
|
726
|
-
|
727
|
-
<shell>
|
728
|
-
$ rails console
|
729
|
-
</shell>
|
730
|
-
|
731
|
-
TIP: The default console will make changes to your database. You can instead
|
732
|
-
open a console that will roll back any changes you make by using <tt>rails console
|
733
|
-
--sandbox</tt>.
|
734
|
-
|
735
|
-
After the console loads, you can use it to work with your application's models:
|
736
|
-
|
737
|
-
<shell>
|
738
|
-
>> p = Post.new(:content => "A new post")
|
739
|
-
=> #<Post id: nil, name: nil, title: nil,
|
740
|
-
content: "A new post", created_at: nil,
|
741
|
-
updated_at: nil>
|
742
|
-
>> p.save
|
743
|
-
=> false
|
744
|
-
>> p.errors.full_messages
|
745
|
-
=> ["Name can't be blank", "Title can't be blank", "Title is too short (minimum is 5 characters)"]
|
746
|
-
</shell>
|
747
|
-
|
748
|
-
This code shows creating a new +Post+ instance, attempting to save it and
|
749
|
-
getting +false+ for a return value (indicating that the save failed), and
|
750
|
-
inspecting the +errors+ of the post.
|
751
|
-
|
752
|
-
When you're finished, type +exit+ and hit +return+ to exit the console.
|
753
|
-
|
754
|
-
TIP: Unlike the development web server, the console does not automatically load
|
755
|
-
your code afresh for each line. If you make changes to your models (in your editor)
|
756
|
-
while the console is open, type +reload!+ at the console prompt to load them.
|
757
|
-
|
758
|
-
h4. Listing All Posts
|
759
|
-
|
760
|
-
Let's dive into the Rails code a little deeper to see how the application is
|
761
|
-
showing us the list of Posts. Open the file
|
762
|
-
+app/controllers/posts_controller.rb+ and look at the
|
763
|
-
+index+ action:
|
764
|
-
|
765
|
-
<ruby>
|
766
|
-
def index
|
767
|
-
@posts = Post.all
|
768
|
-
|
769
|
-
respond_to do |format|
|
770
|
-
format.html # index.html.erb
|
771
|
-
format.json { render :json => @posts }
|
772
|
-
end
|
773
|
-
end
|
774
|
-
</ruby>
|
775
|
-
|
776
|
-
+Post.all+ returns all of the posts currently in the database as an array
|
777
|
-
of +Post+ records that we store in an instance variable called +@posts+.
|
778
|
-
|
779
|
-
TIP: For more information on finding records with Active Record, see "Active
|
780
|
-
Record Query Interface":active_record_querying.html.
|
781
|
-
|
782
|
-
The +respond_to+ block handles both HTML and JSON calls to this action. If you
|
783
|
-
browse to "http://localhost:3000/posts.json":http://localhost:3000/posts.json,
|
784
|
-
you'll see a JSON containing all of the posts. The HTML format looks for a view
|
785
|
-
in +app/views/posts/+ with a name that corresponds to the action name. Rails
|
786
|
-
makes all of the instance variables from the action available to the view.
|
787
|
-
Here's +app/views/posts/index.html.erb+:
|
788
|
-
|
789
|
-
<erb>
|
790
|
-
<h1>Listing posts</h1>
|
791
|
-
|
792
|
-
<table>
|
793
|
-
<tr>
|
794
|
-
<th>Name</th>
|
795
|
-
<th>Title</th>
|
796
|
-
<th>Content</th>
|
797
|
-
<th></th>
|
798
|
-
<th></th>
|
799
|
-
<th></th>
|
800
|
-
</tr>
|
801
|
-
|
802
|
-
<% @posts.each do |post| %>
|
803
|
-
<tr>
|
804
|
-
<td><%= post.name %></td>
|
805
|
-
<td><%= post.title %></td>
|
806
|
-
<td><%= post.content %></td>
|
807
|
-
<td><%= link_to 'Show', post %></td>
|
808
|
-
<td><%= link_to 'Edit', edit_post_path(post) %></td>
|
809
|
-
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?',
|
810
|
-
:method => :delete %></td>
|
811
|
-
</tr>
|
812
|
-
<% end %>
|
813
|
-
</table>
|
814
|
-
|
815
|
-
<br />
|
816
|
-
|
817
|
-
<%= link_to 'New post', new_post_path %>
|
818
|
-
</erb>
|
819
|
-
|
820
|
-
This view iterates over the contents of the +@posts+ array to display content
|
821
|
-
and links. A few things to note in the view:
|
822
|
-
|
823
|
-
* +link_to+ builds a hyperlink to a particular destination
|
824
|
-
* +edit_post_path+ and +new_post_path+ are helpers that Rails provides as part of RESTful routing. You'll see a variety of these helpers for the different actions that the controller includes.
|
825
|
-
|
826
|
-
NOTE. In previous versions of Rails, you had to use +<%=h post.name %>+ so
|
827
|
-
that any HTML would be escaped before being inserted into the page. In Rails
|
828
|
-
3 and above, this is now the default. To get unescaped HTML, you now use <tt><%= raw post.name %></tt>.
|
829
|
-
|
830
|
-
TIP: For more details on the rendering process, see "Layouts and Rendering in
|
831
|
-
Rails":layouts_and_rendering.html.
|
832
|
-
|
833
|
-
h4. Customizing the Layout
|
834
|
-
|
835
|
-
The view is only part of the story of how HTML is displayed in your web browser.
|
836
|
-
Rails also has the concept of +layouts+, which are containers for views. When
|
837
|
-
Rails renders a view to the browser, it does so by putting the view's HTML into
|
838
|
-
a layout's HTML. In previous versions of Rails, the +rails generate scaffold+
|
839
|
-
command would automatically create a controller specific layout, like
|
840
|
-
+app/views/layouts/posts.html.erb+, for the posts controller. However this has
|
841
|
-
been changed in Rails 3. An application specific +layout+ is used for all the
|
842
|
-
controllers and can be found in +app/views/layouts/application.html.erb+. Open
|
843
|
-
this layout in your editor and modify the +body+ tag to include the style directive
|
844
|
-
below:
|
845
|
-
|
846
|
-
<erb>
|
847
|
-
<!DOCTYPE html>
|
848
|
-
<html>
|
849
|
-
<head>
|
850
|
-
<title>Blog</title>
|
851
|
-
<%= stylesheet_link_tag "application" %>
|
852
|
-
<%= javascript_include_tag "application" %>
|
853
|
-
<%= csrf_meta_tags %>
|
854
|
-
</head>
|
855
|
-
<body style="background: #EEEEEE;">
|
856
|
-
|
857
|
-
<%= yield %>
|
858
|
-
|
859
|
-
</body>
|
860
|
-
</html>
|
861
|
-
</erb>
|
862
|
-
|
863
|
-
Now when you refresh the +/posts+ page, you'll see a gray background to the
|
864
|
-
page. This same gray background will be used throughout all the views for posts.
|
865
|
-
|
866
|
-
h4. Creating New Posts
|
867
|
-
|
868
|
-
Creating a new post involves two actions. The first is the +new+ action, which
|
869
|
-
instantiates an empty +Post+ object:
|
870
|
-
|
871
|
-
<ruby>
|
872
|
-
def new
|
873
|
-
@post = Post.new
|
874
|
-
|
875
|
-
respond_to do |format|
|
876
|
-
format.html # new.html.erb
|
877
|
-
format.json { render :json => @post }
|
878
|
-
end
|
879
|
-
end
|
880
|
-
</ruby>
|
881
|
-
|
882
|
-
The +new.html.erb+ view displays this empty Post to the user:
|
883
|
-
|
884
|
-
<erb>
|
885
|
-
<h1>New post</h1>
|
886
|
-
|
887
|
-
<%= render 'form' %>
|
888
|
-
|
889
|
-
<%= link_to 'Back', posts_path %>
|
890
|
-
</erb>
|
891
|
-
|
892
|
-
The +<%= render 'form' %>+ line is our first introduction to _partials_ in
|
893
|
-
Rails. A partial is a snippet of HTML and Ruby code that can be reused in
|
894
|
-
multiple locations. In this case, the form used to make a new post is basically
|
895
|
-
identical to the form used to edit a post, both having text fields for the name and
|
896
|
-
title, a text area for the content, and a button to create the new post or to update
|
897
|
-
the existing one.
|
898
|
-
|
899
|
-
If you take a look at +views/posts/_form.html.erb+ file, you will see the
|
900
|
-
following:
|
901
|
-
|
902
|
-
<erb>
|
903
|
-
<%= form_for(@post) do |f| %>
|
904
|
-
<% if @post.errors.any? %>
|
905
|
-
<div id="errorExplanation">
|
906
|
-
<h2><%= pluralize(@post.errors.count, "error") %> prohibited
|
907
|
-
this post from being saved:</h2>
|
908
|
-
<ul>
|
909
|
-
<% @post.errors.full_messages.each do |msg| %>
|
910
|
-
<li><%= msg %></li>
|
911
|
-
<% end %>
|
912
|
-
</ul>
|
913
|
-
</div>
|
914
|
-
<% end %>
|
915
|
-
|
916
|
-
<div class="field">
|
917
|
-
<%= f.label :name %><br />
|
918
|
-
<%= f.text_field :name %>
|
919
|
-
</div>
|
920
|
-
<div class="field">
|
921
|
-
<%= f.label :title %><br />
|
922
|
-
<%= f.text_field :title %>
|
923
|
-
</div>
|
924
|
-
<div class="field">
|
925
|
-
<%= f.label :content %><br />
|
926
|
-
<%= f.text_area :content %>
|
927
|
-
</div>
|
928
|
-
<div class="actions">
|
929
|
-
<%= f.submit %>
|
930
|
-
</div>
|
931
|
-
<% end %>
|
932
|
-
</erb>
|
933
|
-
|
934
|
-
This partial receives all the instance variables defined in the calling view
|
935
|
-
file. In this case, the controller assigned the new +Post+ object to +@post+,
|
936
|
-
which will thus be available in both the view and the partial as +@post+.
|
937
|
-
|
938
|
-
For more information on partials, refer to the "Layouts and Rendering in
|
939
|
-
Rails":layouts_and_rendering.html#using-partials guide.
|
940
|
-
|
941
|
-
The +form_for+ block is used to create an HTML form. Within this block, you have
|
942
|
-
access to methods to build various controls on the form. For example,
|
943
|
-
+f.text_field :name+ tells Rails to create a text input on the form and to hook
|
944
|
-
it up to the +name+ attribute of the instance being displayed. You can only use
|
945
|
-
these methods with attributes of the model that the form is based on (in this
|
946
|
-
case +name+, +title+, and +content+). Rails uses +form_for+ in preference to
|
947
|
-
having you write raw HTML because the code is more succinct, and because it
|
948
|
-
explicitly ties the form to a particular model instance.
|
949
|
-
|
950
|
-
The +form_for+ block is also smart enough to work out if you are doing a _New
|
951
|
-
Post_ or an _Edit Post_ action, and will set the form +action+ tags and submit
|
952
|
-
button names appropriately in the HTML output.
|
953
|
-
|
954
|
-
TIP: If you need to create an HTML form that displays arbitrary fields, not tied
|
955
|
-
to a model, you should use the +form_tag+ method, which provides shortcuts for
|
956
|
-
building forms that are not necessarily tied to a model instance.
|
957
|
-
|
958
|
-
When the user clicks the +Create Post+ button on this form, the browser will
|
959
|
-
send information back to the +create+ action of the controller (Rails knows to
|
960
|
-
call the +create+ action because the form is sent with an HTTP POST request;
|
961
|
-
that's one of the conventions that were mentioned earlier):
|
962
|
-
|
963
|
-
<ruby>
|
964
|
-
def create
|
965
|
-
@post = Post.new(params[:post])
|
966
|
-
|
967
|
-
respond_to do |format|
|
968
|
-
if @post.save
|
969
|
-
format.html { redirect_to(@post,
|
970
|
-
:notice => 'Post was successfully created.') }
|
971
|
-
format.json { render :json => @post,
|
972
|
-
:status => :created, :location => @post }
|
973
|
-
else
|
974
|
-
format.html { render :action => "new" }
|
975
|
-
format.json { render :json => @post.errors,
|
976
|
-
:status => :unprocessable_entity }
|
977
|
-
end
|
978
|
-
end
|
979
|
-
end
|
980
|
-
</ruby>
|
981
|
-
|
982
|
-
The +create+ action instantiates a new Post object from the data supplied by the
|
983
|
-
user on the form, which Rails makes available in the +params+ hash. After
|
984
|
-
successfully saving the new post, +create+ returns the appropriate format that
|
985
|
-
the user has requested (HTML in our case). It then redirects the user to the
|
986
|
-
resulting post +show+ action and sets a notice to the user that the Post was
|
987
|
-
successfully created.
|
988
|
-
|
989
|
-
If the post was not successfully saved, due to a validation error, then the
|
990
|
-
controller returns the user back to the +new+ action with any error messages so
|
991
|
-
that the user has the chance to fix the error and try again.
|
992
|
-
|
993
|
-
The "Post was successfully created." message is stored in the Rails
|
994
|
-
+flash+ hash (usually just called _the flash_), so that messages can be carried
|
995
|
-
over to another action, providing the user with useful information on the status
|
996
|
-
of their request. In the case of +create+, the user never actually sees any page
|
997
|
-
rendered during the post creation process, because it immediately redirects to
|
998
|
-
the new +Post+ as soon as Rails saves the record. The Flash carries over a message to
|
999
|
-
the next action, so that when the user is redirected back to the +show+ action,
|
1000
|
-
they are presented with a message saying "Post was successfully created."
|
1001
|
-
|
1002
|
-
h4. Showing an Individual Post
|
1003
|
-
|
1004
|
-
When you click the +show+ link for a post on the index page, it will bring you
|
1005
|
-
to a URL like +http://localhost:3000/posts/1+. Rails interprets this as a call
|
1006
|
-
to the +show+ action for the resource, and passes in +1+ as the +:id+ parameter.
|
1007
|
-
Here's the +show+ action:
|
1008
|
-
|
1009
|
-
<ruby>
|
1010
|
-
def show
|
1011
|
-
@post = Post.find(params[:id])
|
1012
|
-
|
1013
|
-
respond_to do |format|
|
1014
|
-
format.html # show.html.erb
|
1015
|
-
format.json { render :json => @post }
|
1016
|
-
end
|
1017
|
-
end
|
1018
|
-
</ruby>
|
1019
|
-
|
1020
|
-
The +show+ action uses +Post.find+ to search for a single record in the database
|
1021
|
-
by its id value. After finding the record, Rails displays it by using
|
1022
|
-
+app/views/posts/show.html.erb+:
|
1023
|
-
|
1024
|
-
<erb>
|
1025
|
-
<p id="notice"><%= notice %></p>
|
1026
|
-
|
1027
|
-
<p>
|
1028
|
-
<b>Name:</b>
|
1029
|
-
<%= @post.name %>
|
1030
|
-
</p>
|
1031
|
-
|
1032
|
-
<p>
|
1033
|
-
<b>Title:</b>
|
1034
|
-
<%= @post.title %>
|
1035
|
-
</p>
|
1036
|
-
|
1037
|
-
<p>
|
1038
|
-
<b>Content:</b>
|
1039
|
-
<%= @post.content %>
|
1040
|
-
</p>
|
1041
|
-
|
1042
|
-
|
1043
|
-
<%= link_to 'Edit', edit_post_path(@post) %> |
|
1044
|
-
<%= link_to 'Back', posts_path %>
|
1045
|
-
</erb>
|
1046
|
-
|
1047
|
-
h4. Editing Posts
|
1048
|
-
|
1049
|
-
Like creating a new post, editing a post is a two-part process. The first step
|
1050
|
-
is a request to +edit_post_path(@post)+ with a particular post. This calls the
|
1051
|
-
+edit+ action in the controller:
|
1052
|
-
|
1053
|
-
<ruby>
|
1054
|
-
def edit
|
1055
|
-
@post = Post.find(params[:id])
|
1056
|
-
end
|
1057
|
-
</ruby>
|
1058
|
-
|
1059
|
-
After finding the requested post, Rails uses the +edit.html.erb+ view to display
|
1060
|
-
it:
|
1061
|
-
|
1062
|
-
<erb>
|
1063
|
-
<h1>Editing post</h1>
|
1064
|
-
|
1065
|
-
<%= render 'form' %>
|
1066
|
-
|
1067
|
-
<%= link_to 'Show', @post %> |
|
1068
|
-
<%= link_to 'Back', posts_path %>
|
1069
|
-
</erb>
|
1070
|
-
|
1071
|
-
Again, as with the +new+ action, the +edit+ action is using the +form+ partial.
|
1072
|
-
This time, however, the form will do a PUT action to the +PostsController+ and the
|
1073
|
-
submit button will display "Update Post".
|
1074
|
-
|
1075
|
-
Submitting the form created by this view will invoke the +update+ action within
|
1076
|
-
the controller:
|
1077
|
-
|
1078
|
-
<ruby>
|
1079
|
-
def update
|
1080
|
-
@post = Post.find(params[:id])
|
1081
|
-
|
1082
|
-
respond_to do |format|
|
1083
|
-
if @post.update_attributes(params[:post])
|
1084
|
-
format.html { redirect_to(@post,
|
1085
|
-
:notice => 'Post was successfully updated.') }
|
1086
|
-
format.json { head :no_content }
|
1087
|
-
else
|
1088
|
-
format.html { render :action => "edit" }
|
1089
|
-
format.json { render :json => @post.errors,
|
1090
|
-
:status => :unprocessable_entity }
|
1091
|
-
end
|
1092
|
-
end
|
1093
|
-
end
|
1094
|
-
</ruby>
|
1095
|
-
|
1096
|
-
In the +update+ action, Rails first uses the +:id+ parameter passed back from
|
1097
|
-
the edit view to locate the database record that's being edited. The
|
1098
|
-
+update_attributes+ call then takes the +post+ parameter (a hash) from the request
|
1099
|
-
and applies it to this record. If all goes well, the user is redirected to the
|
1100
|
-
post's +show+ action. If there are any problems, it redirects back to the +edit+ action to
|
1101
|
-
correct them.
|
1102
|
-
|
1103
|
-
h4. Destroying a Post
|
1104
|
-
|
1105
|
-
Finally, clicking one of the +destroy+ links sends the associated id to the
|
1106
|
-
+destroy+ action:
|
1107
|
-
|
1108
|
-
<ruby>
|
1109
|
-
def destroy
|
1110
|
-
@post = Post.find(params[:id])
|
1111
|
-
@post.destroy
|
1112
|
-
|
1113
|
-
respond_to do |format|
|
1114
|
-
format.html { redirect_to posts_url }
|
1115
|
-
format.json { head :no_content }
|
1116
|
-
end
|
1117
|
-
end
|
1118
|
-
</ruby>
|
1119
|
-
|
1120
|
-
The +destroy+ method of an Active Record model instance removes the
|
1121
|
-
corresponding record from the database. After that's done, there isn't any
|
1122
|
-
record to display, so Rails redirects the user's browser to the index action of
|
1123
|
-
the controller.
|
1124
|
-
|
1125
|
-
h3. Adding a Second Model
|
1126
|
-
|
1127
|
-
Now that you've seen what a model built with scaffolding looks like, it's time to
|
1128
|
-
add a second model to the application. The second model will handle comments on
|
1129
|
-
blog posts.
|
1130
|
-
|
1131
|
-
h4. Generating a Model
|
1132
|
-
|
1133
|
-
Models in Rails use a singular name, and their corresponding database tables use
|
1134
|
-
a plural name. For the model to hold comments, the convention is to use the name
|
1135
|
-
+Comment+. Even if you don't want to use the entire apparatus set up by
|
1136
|
-
scaffolding, most Rails developers still use generators to make things like
|
1137
|
-
models and controllers. To create the new model, run this command in your
|
1138
|
-
terminal:
|
1139
|
-
|
1140
|
-
<shell>
|
1141
|
-
$ rails generate model Comment commenter:string body:text post:references
|
1142
|
-
</shell>
|
1143
|
-
|
1144
|
-
This command will generate four files:
|
1145
|
-
|
1146
|
-
|_.File |_.Purpose|
|
1147
|
-
|db/migrate/20100207235629_create_comments.rb | Migration to create the comments table in your database (your name will include a different timestamp) |
|
1148
|
-
| app/models/comment.rb | The Comment model |
|
1149
|
-
| test/unit/comment_test.rb | Unit testing harness for the comments model |
|
1150
|
-
| test/fixtures/comments.yml | Sample comments for use in testing |
|
1151
|
-
|
1152
|
-
First, take a look at +comment.rb+:
|
1153
|
-
|
1154
|
-
<ruby>
|
1155
|
-
class Comment < ActiveRecord::Base
|
1156
|
-
belongs_to :post
|
1157
|
-
end
|
1158
|
-
</ruby>
|
1159
|
-
|
1160
|
-
This is very similar to the +post.rb+ model that you saw earlier. The difference
|
1161
|
-
is the line +belongs_to :post+, which sets up an Active Record _association_.
|
1162
|
-
You'll learn a little about associations in the next section of this guide.
|
1163
|
-
|
1164
|
-
In addition to the model, Rails has also made a migration to create the
|
1165
|
-
corresponding database table:
|
1166
|
-
|
1167
|
-
<ruby>
|
1168
|
-
class CreateComments < ActiveRecord::Migration
|
1169
|
-
def change
|
1170
|
-
create_table :comments do |t|
|
1171
|
-
t.string :commenter
|
1172
|
-
t.text :body
|
1173
|
-
t.references :post
|
1174
|
-
|
1175
|
-
t.timestamps
|
1176
|
-
end
|
1177
|
-
|
1178
|
-
add_index :comments, :post_id
|
1179
|
-
end
|
1180
|
-
end
|
1181
|
-
</ruby>
|
1182
|
-
|
1183
|
-
The +t.references+ line sets up a foreign key column for the association between
|
1184
|
-
the two models. And the +add_index+ line sets up an index for this association
|
1185
|
-
column. Go ahead and run the migration:
|
1186
|
-
|
1187
|
-
<shell>
|
1188
|
-
$ rake db:migrate
|
1189
|
-
</shell>
|
1190
|
-
|
1191
|
-
Rails is smart enough to only execute the migrations that have not already been
|
1192
|
-
run against the current database, so in this case you will just see:
|
1193
|
-
|
1194
|
-
<shell>
|
1195
|
-
== CreateComments: migrating =================================================
|
1196
|
-
-- create_table(:comments)
|
1197
|
-
-> 0.0008s
|
1198
|
-
-- add_index(:comments, :post_id)
|
1199
|
-
-> 0.0003s
|
1200
|
-
== CreateComments: migrated (0.0012s) ========================================
|
1201
|
-
</shell>
|
1202
|
-
|
1203
|
-
h4. Associating Models
|
1204
|
-
|
1205
|
-
Active Record associations let you easily declare the relationship between two
|
1206
|
-
models. In the case of comments and posts, you could write out the relationships
|
1207
|
-
this way:
|
1208
|
-
|
1209
|
-
* Each comment belongs to one post.
|
1210
|
-
* One post can have many comments.
|
1211
|
-
|
1212
|
-
In fact, this is very close to the syntax that Rails uses to declare this
|
1213
|
-
association. You've already seen the line of code inside the Comment model that
|
1214
|
-
makes each comment belong to a Post:
|
1215
|
-
|
1216
|
-
<ruby>
|
1217
|
-
class Comment < ActiveRecord::Base
|
1218
|
-
belongs_to :post
|
1219
|
-
end
|
1220
|
-
</ruby>
|
1221
|
-
|
1222
|
-
You'll need to edit the +post.rb+ file to add the other side of the association:
|
1223
|
-
|
1224
|
-
<ruby>
|
1225
|
-
class Post < ActiveRecord::Base
|
1226
|
-
attr_accessible :content, :name, :title
|
1227
|
-
|
1228
|
-
validates :name, :presence => true
|
1229
|
-
validates :title, :presence => true,
|
1230
|
-
:length => { :minimum => 5 }
|
1231
|
-
|
1232
|
-
has_many :comments
|
1233
|
-
end
|
1234
|
-
</ruby>
|
1235
|
-
|
1236
|
-
These two declarations enable a good bit of automatic behavior. For example, if
|
1237
|
-
you have an instance variable +@post+ containing a post, you can retrieve all
|
1238
|
-
the comments belonging to that post as an array using +@post.comments+.
|
1239
|
-
|
1240
|
-
TIP: For more information on Active Record associations, see the "Active Record
|
1241
|
-
Associations":association_basics.html guide.
|
1242
|
-
|
1243
|
-
h4. Adding a Route for Comments
|
1244
|
-
|
1245
|
-
As with the +home+ controller, we will need to add a route so that Rails knows
|
1246
|
-
where we would like to navigate to see +comments+. Open up the
|
1247
|
-
+config/routes.rb+ file again. Near the top, you will see the entry for +posts+
|
1248
|
-
that was added automatically by the scaffold generator: <tt>resources
|
1249
|
-
:posts</tt>. Edit it as follows:
|
1250
|
-
|
1251
|
-
<ruby>
|
1252
|
-
resources :posts do
|
1253
|
-
resources :comments
|
1254
|
-
end
|
1255
|
-
</ruby>
|
1256
|
-
|
1257
|
-
This creates +comments+ as a _nested resource_ within +posts+. This is another
|
1258
|
-
part of capturing the hierarchical relationship that exists between posts and
|
1259
|
-
comments.
|
1260
|
-
|
1261
|
-
TIP: For more information on routing, see the "Rails Routing from the Outside
|
1262
|
-
In":routing.html guide.
|
1263
|
-
|
1264
|
-
h4. Generating a Controller
|
1265
|
-
|
1266
|
-
With the model in hand, you can turn your attention to creating a matching
|
1267
|
-
controller. Again, there's a generator for this:
|
1268
|
-
|
1269
|
-
<shell>
|
1270
|
-
$ rails generate controller Comments
|
1271
|
-
</shell>
|
1272
|
-
|
1273
|
-
This creates six files and one empty directory:
|
1274
|
-
|
1275
|
-
|_.File/Directory |_.Purpose |
|
1276
|
-
| app/controllers/comments_controller.rb | The Comments controller |
|
1277
|
-
| app/views/comments/ | Views of the controller are stored here |
|
1278
|
-
| test/functional/comments_controller_test.rb | The functional tests for the controller |
|
1279
|
-
| app/helpers/comments_helper.rb | A view helper file |
|
1280
|
-
| test/unit/helpers/comments_helper_test.rb | The unit tests for the helper |
|
1281
|
-
| app/assets/javascripts/comment.js.coffee | CoffeeScript for the controller |
|
1282
|
-
| app/assets/stylesheets/comment.css.scss | Cascading style sheet for the controller |
|
1283
|
-
|
1284
|
-
Like with any blog, our readers will create their comments directly after
|
1285
|
-
reading the post, and once they have added their comment, will be sent back to
|
1286
|
-
the post show page to see their comment now listed. Due to this, our
|
1287
|
-
+CommentsController+ is there to provide a method to create comments and delete
|
1288
|
-
spam comments when they arrive.
|
1289
|
-
|
1290
|
-
So first, we'll wire up the Post show template
|
1291
|
-
(+/app/views/posts/show.html.erb+) to let us make a new comment:
|
1292
|
-
|
1293
|
-
<erb>
|
1294
|
-
<p id="notice"><%= notice %></p>
|
1295
|
-
|
1296
|
-
<p>
|
1297
|
-
<b>Name:</b>
|
1298
|
-
<%= @post.name %>
|
1299
|
-
</p>
|
1300
|
-
|
1301
|
-
<p>
|
1302
|
-
<b>Title:</b>
|
1303
|
-
<%= @post.title %>
|
1304
|
-
</p>
|
1305
|
-
|
1306
|
-
<p>
|
1307
|
-
<b>Content:</b>
|
1308
|
-
<%= @post.content %>
|
1309
|
-
</p>
|
1310
|
-
|
1311
|
-
<h2>Add a comment:</h2>
|
1312
|
-
<%= form_for([@post, @post.comments.build]) do |f| %>
|
1313
|
-
<div class="field">
|
1314
|
-
<%= f.label :commenter %><br />
|
1315
|
-
<%= f.text_field :commenter %>
|
1316
|
-
</div>
|
1317
|
-
<div class="field">
|
1318
|
-
<%= f.label :body %><br />
|
1319
|
-
<%= f.text_area :body %>
|
1320
|
-
</div>
|
1321
|
-
<div class="actions">
|
1322
|
-
<%= f.submit %>
|
1323
|
-
</div>
|
1324
|
-
<% end %>
|
1325
|
-
|
1326
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1327
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1328
|
-
</erb>
|
1329
|
-
|
1330
|
-
This adds a form on the +Post+ show page that creates a new comment by
|
1331
|
-
calling the +CommentsController+ +create+ action. Let's wire that up:
|
1332
|
-
|
1333
|
-
<ruby>
|
1334
|
-
class CommentsController < ApplicationController
|
1335
|
-
def create
|
1336
|
-
@post = Post.find(params[:post_id])
|
1337
|
-
@comment = @post.comments.create(params[:comment])
|
1338
|
-
redirect_to post_path(@post)
|
1339
|
-
end
|
1340
|
-
end
|
1341
|
-
</ruby>
|
1342
|
-
|
1343
|
-
You'll see a bit more complexity here than you did in the controller for posts.
|
1344
|
-
That's a side-effect of the nesting that you've set up. Each request for a
|
1345
|
-
comment has to keep track of the post to which the comment is attached, thus the
|
1346
|
-
initial call to the +find+ method of the +Post+ model to get the post in question.
|
1347
|
-
|
1348
|
-
In addition, the code takes advantage of some of the methods available for an
|
1349
|
-
association. We use the +create+ method on +@post.comments+ to create and save
|
1350
|
-
the comment. This will automatically link the comment so that it belongs to that
|
1351
|
-
particular post.
|
1352
|
-
|
1353
|
-
Once we have made the new comment, we send the user back to the original post
|
1354
|
-
using the +post_path(@post)+ helper. As we have already seen, this calls the
|
1355
|
-
+show+ action of the +PostsController+ which in turn renders the +show.html.erb+
|
1356
|
-
template. This is where we want the comment to show, so let's add that to the
|
1357
|
-
+app/views/posts/show.html.erb+.
|
1358
|
-
|
1359
|
-
<erb>
|
1360
|
-
<p id="notice"><%= notice %></p>
|
1361
|
-
|
1362
|
-
<p>
|
1363
|
-
<b>Name:</b>
|
1364
|
-
<%= @post.name %>
|
1365
|
-
</p>
|
1366
|
-
|
1367
|
-
<p>
|
1368
|
-
<b>Title:</b>
|
1369
|
-
<%= @post.title %>
|
1370
|
-
</p>
|
1371
|
-
|
1372
|
-
<p>
|
1373
|
-
<b>Content:</b>
|
1374
|
-
<%= @post.content %>
|
1375
|
-
</p>
|
1376
|
-
|
1377
|
-
<h2>Comments</h2>
|
1378
|
-
<% @post.comments.each do |comment| %>
|
1379
|
-
<p>
|
1380
|
-
<b>Commenter:</b>
|
1381
|
-
<%= comment.commenter %>
|
1382
|
-
</p>
|
1383
|
-
|
1384
|
-
<p>
|
1385
|
-
<b>Comment:</b>
|
1386
|
-
<%= comment.body %>
|
1387
|
-
</p>
|
1388
|
-
<% end %>
|
1389
|
-
|
1390
|
-
<h2>Add a comment:</h2>
|
1391
|
-
<%= form_for([@post, @post.comments.build]) do |f| %>
|
1392
|
-
<div class="field">
|
1393
|
-
<%= f.label :commenter %><br />
|
1394
|
-
<%= f.text_field :commenter %>
|
1395
|
-
</div>
|
1396
|
-
<div class="field">
|
1397
|
-
<%= f.label :body %><br />
|
1398
|
-
<%= f.text_area :body %>
|
1399
|
-
</div>
|
1400
|
-
<div class="actions">
|
1401
|
-
<%= f.submit %>
|
1402
|
-
</div>
|
1403
|
-
<% end %>
|
1404
|
-
|
1405
|
-
<br />
|
1406
|
-
|
1407
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1408
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1409
|
-
</erb>
|
1410
|
-
|
1411
|
-
Now you can add posts and comments to your blog and have them show up in the
|
1412
|
-
right places.
|
1413
|
-
|
1414
|
-
h3. Refactoring
|
1415
|
-
|
1416
|
-
Now that we have posts and comments working, take a look at the
|
1417
|
-
+app/views/posts/show.html.erb+ template. It is getting long and awkward. We can
|
1418
|
-
use partials to clean it up.
|
1419
|
-
|
1420
|
-
h4. Rendering Partial Collections
|
1421
|
-
|
1422
|
-
First we will make a comment partial to extract showing all the comments for the
|
1423
|
-
post. Create the file +app/views/comments/_comment.html.erb+ and put the
|
1424
|
-
following into it:
|
1425
|
-
|
1426
|
-
<erb>
|
1427
|
-
<p>
|
1428
|
-
<b>Commenter:</b>
|
1429
|
-
<%= comment.commenter %>
|
1430
|
-
</p>
|
1431
|
-
|
1432
|
-
<p>
|
1433
|
-
<b>Comment:</b>
|
1434
|
-
<%= comment.body %>
|
1435
|
-
</p>
|
1436
|
-
</erb>
|
1437
|
-
|
1438
|
-
Then you can change +app/views/posts/show.html.erb+ to look like the
|
1439
|
-
following:
|
1440
|
-
|
1441
|
-
<erb>
|
1442
|
-
<p id="notice"><%= notice %></p>
|
1443
|
-
|
1444
|
-
<p>
|
1445
|
-
<b>Name:</b>
|
1446
|
-
<%= @post.name %>
|
1447
|
-
</p>
|
1448
|
-
|
1449
|
-
<p>
|
1450
|
-
<b>Title:</b>
|
1451
|
-
<%= @post.title %>
|
1452
|
-
</p>
|
1453
|
-
|
1454
|
-
<p>
|
1455
|
-
<b>Content:</b>
|
1456
|
-
<%= @post.content %>
|
1457
|
-
</p>
|
1458
|
-
|
1459
|
-
<h2>Comments</h2>
|
1460
|
-
<%= render @post.comments %>
|
1461
|
-
|
1462
|
-
<h2>Add a comment:</h2>
|
1463
|
-
<%= form_for([@post, @post.comments.build]) do |f| %>
|
1464
|
-
<div class="field">
|
1465
|
-
<%= f.label :commenter %><br />
|
1466
|
-
<%= f.text_field :commenter %>
|
1467
|
-
</div>
|
1468
|
-
<div class="field">
|
1469
|
-
<%= f.label :body %><br />
|
1470
|
-
<%= f.text_area :body %>
|
1471
|
-
</div>
|
1472
|
-
<div class="actions">
|
1473
|
-
<%= f.submit %>
|
1474
|
-
</div>
|
1475
|
-
<% end %>
|
1476
|
-
|
1477
|
-
<br />
|
1478
|
-
|
1479
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1480
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1481
|
-
</erb>
|
1482
|
-
|
1483
|
-
This will now render the partial in +app/views/comments/_comment.html.erb+ once
|
1484
|
-
for each comment that is in the +@post.comments+ collection. As the +render+
|
1485
|
-
method iterates over the <tt>@post.comments</tt> collection, it assigns each
|
1486
|
-
comment to a local variable named the same as the partial, in this case
|
1487
|
-
+comment+ which is then available in the partial for us to show.
|
1488
|
-
|
1489
|
-
h4. Rendering a Partial Form
|
1490
|
-
|
1491
|
-
Let us also move that new comment section out to its own partial. Again, you
|
1492
|
-
create a file +app/views/comments/_form.html.erb+ containing:
|
1493
|
-
|
1494
|
-
<erb>
|
1495
|
-
<%= form_for([@post, @post.comments.build]) do |f| %>
|
1496
|
-
<div class="field">
|
1497
|
-
<%= f.label :commenter %><br />
|
1498
|
-
<%= f.text_field :commenter %>
|
1499
|
-
</div>
|
1500
|
-
<div class="field">
|
1501
|
-
<%= f.label :body %><br />
|
1502
|
-
<%= f.text_area :body %>
|
1503
|
-
</div>
|
1504
|
-
<div class="actions">
|
1505
|
-
<%= f.submit %>
|
1506
|
-
</div>
|
1507
|
-
<% end %>
|
1508
|
-
</erb>
|
1509
|
-
|
1510
|
-
Then you make the +app/views/posts/show.html.erb+ look like the following:
|
1511
|
-
|
1512
|
-
<erb>
|
1513
|
-
<p id="notice"><%= notice %></p>
|
1514
|
-
|
1515
|
-
<p>
|
1516
|
-
<b>Name:</b>
|
1517
|
-
<%= @post.name %>
|
1518
|
-
</p>
|
1519
|
-
|
1520
|
-
<p>
|
1521
|
-
<b>Title:</b>
|
1522
|
-
<%= @post.title %>
|
1523
|
-
</p>
|
1524
|
-
|
1525
|
-
<p>
|
1526
|
-
<b>Content:</b>
|
1527
|
-
<%= @post.content %>
|
1528
|
-
</p>
|
1529
|
-
|
1530
|
-
<h2>Comments</h2>
|
1531
|
-
<%= render @post.comments %>
|
1532
|
-
|
1533
|
-
<h2>Add a comment:</h2>
|
1534
|
-
<%= render "comments/form" %>
|
1535
|
-
|
1536
|
-
<br />
|
1537
|
-
|
1538
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1539
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1540
|
-
</erb>
|
1541
|
-
|
1542
|
-
The second render just defines the partial template we want to render,
|
1543
|
-
<tt>comments/form</tt>. Rails is smart enough to spot the forward slash in that
|
1544
|
-
string and realize that you want to render the <tt>_form.html.erb</tt> file in
|
1545
|
-
the <tt>app/views/comments</tt> directory.
|
1546
|
-
|
1547
|
-
The +@post+ object is available to any partials rendered in the view because we
|
1548
|
-
defined it as an instance variable.
|
1549
|
-
|
1550
|
-
h3. Deleting Comments
|
1551
|
-
|
1552
|
-
Another important feature of a blog is being able to delete spam comments. To do
|
1553
|
-
this, we need to implement a link of some sort in the view and a +DELETE+ action
|
1554
|
-
in the +CommentsController+.
|
1555
|
-
|
1556
|
-
So first, let's add the delete link in the
|
1557
|
-
+app/views/comments/_comment.html.erb+ partial:
|
1558
|
-
|
1559
|
-
<erb>
|
1560
|
-
<p>
|
1561
|
-
<b>Commenter:</b>
|
1562
|
-
<%= comment.commenter %>
|
1563
|
-
</p>
|
1564
|
-
|
1565
|
-
<p>
|
1566
|
-
<b>Comment:</b>
|
1567
|
-
<%= comment.body %>
|
1568
|
-
</p>
|
1569
|
-
|
1570
|
-
<p>
|
1571
|
-
<%= link_to 'Destroy Comment', [comment.post, comment],
|
1572
|
-
:confirm => 'Are you sure?',
|
1573
|
-
:method => :delete %>
|
1574
|
-
</p>
|
1575
|
-
</erb>
|
1576
|
-
|
1577
|
-
Clicking this new "Destroy Comment" link will fire off a <tt>DELETE
|
1578
|
-
/posts/:id/comments/:id</tt> to our +CommentsController+, which can then use
|
1579
|
-
this to find the comment we want to delete, so let's add a destroy action to our
|
1580
|
-
controller:
|
1581
|
-
|
1582
|
-
<ruby>
|
1583
|
-
class CommentsController < ApplicationController
|
1584
|
-
|
1585
|
-
def create
|
1586
|
-
@post = Post.find(params[:post_id])
|
1587
|
-
@comment = @post.comments.create(params[:comment])
|
1588
|
-
redirect_to post_path(@post)
|
1589
|
-
end
|
1590
|
-
|
1591
|
-
def destroy
|
1592
|
-
@post = Post.find(params[:post_id])
|
1593
|
-
@comment = @post.comments.find(params[:id])
|
1594
|
-
@comment.destroy
|
1595
|
-
redirect_to post_path(@post)
|
1596
|
-
end
|
1597
|
-
|
1598
|
-
end
|
1599
|
-
</ruby>
|
1600
|
-
|
1601
|
-
The +destroy+ action will find the post we are looking at, locate the comment
|
1602
|
-
within the <tt>@post.comments</tt> collection, and then remove it from the
|
1603
|
-
database and send us back to the show action for the post.
|
1604
|
-
|
1605
|
-
|
1606
|
-
h4. Deleting Associated Objects
|
1607
|
-
|
1608
|
-
If you delete a post then its associated comments will also need to be deleted.
|
1609
|
-
Otherwise they would simply occupy space in the database. Rails allows you to
|
1610
|
-
use the +dependent+ option of an association to achieve this. Modify the Post
|
1611
|
-
model, +app/models/post.rb+, as follows:
|
1612
|
-
|
1613
|
-
<ruby>
|
1614
|
-
class Post < ActiveRecord::Base
|
1615
|
-
attr_accessible :content, :name, :title
|
1616
|
-
|
1617
|
-
validates :name, :presence => true
|
1618
|
-
validates :title, :presence => true,
|
1619
|
-
:length => { :minimum => 5 }
|
1620
|
-
has_many :comments, :dependent => :destroy
|
1621
|
-
end
|
1622
|
-
</ruby>
|
1623
|
-
|
1624
|
-
h3. Security
|
1625
|
-
|
1626
|
-
If you were to publish your blog online, anybody would be able to add, edit and
|
1627
|
-
delete posts or delete comments.
|
1628
|
-
|
1629
|
-
Rails provides a very simple HTTP authentication system that will work nicely in
|
1630
|
-
this situation.
|
1631
|
-
|
1632
|
-
In the +PostsController+ we need to have a way to block access to the various
|
1633
|
-
actions if the person is not authenticated, here we can use the Rails
|
1634
|
-
<tt>http_basic_authenticate_with</tt> method, allowing access to the requested
|
1635
|
-
action if that method allows it.
|
1636
|
-
|
1637
|
-
To use the authentication system, we specify it at the top of our
|
1638
|
-
+PostsController+, in this case, we want the user to be authenticated on every
|
1639
|
-
action, except for +index+ and +show+, so we write that:
|
1640
|
-
|
1641
|
-
<ruby>
|
1642
|
-
class PostsController < ApplicationController
|
1643
|
-
|
1644
|
-
http_basic_authenticate_with :name => "dhh", :password => "secret", :except => [:index, :show]
|
1645
|
-
|
1646
|
-
# GET /posts
|
1647
|
-
# GET /posts.json
|
1648
|
-
def index
|
1649
|
-
@posts = Post.all
|
1650
|
-
respond_to do |format|
|
1651
|
-
# snipped for brevity
|
1652
|
-
</ruby>
|
1653
|
-
|
1654
|
-
We also only want to allow authenticated users to delete comments, so in the
|
1655
|
-
+CommentsController+ we write:
|
1656
|
-
|
1657
|
-
<ruby>
|
1658
|
-
class CommentsController < ApplicationController
|
1659
|
-
|
1660
|
-
http_basic_authenticate_with :name => "dhh", :password => "secret", :only => :destroy
|
1661
|
-
|
1662
|
-
def create
|
1663
|
-
@post = Post.find(params[:post_id])
|
1664
|
-
# snipped for brevity
|
1665
|
-
</ruby>
|
1666
|
-
|
1667
|
-
Now if you try to create a new post, you will be greeted with a basic HTTP
|
1668
|
-
Authentication challenge
|
1669
|
-
|
1670
|
-
!images/challenge.png(Basic HTTP Authentication Challenge)!
|
1671
|
-
|
1672
|
-
h3. Building a Multi-Model Form
|
1673
|
-
|
1674
|
-
Another feature of your average blog is the ability to tag posts. To implement
|
1675
|
-
this feature your application needs to interact with more than one model on a
|
1676
|
-
single form. Rails offers support for nested forms.
|
1677
|
-
|
1678
|
-
To demonstrate this, we will add support for giving each post multiple tags,
|
1679
|
-
right in the form where you create the post. First, create a new model to hold
|
1680
|
-
the tags:
|
1681
|
-
|
1682
|
-
<shell>
|
1683
|
-
$ rails generate model tag name:string post:references
|
1684
|
-
</shell>
|
1685
|
-
|
1686
|
-
Again, run the migration to create the database table:
|
1687
|
-
|
1688
|
-
<shell>
|
1689
|
-
$ rake db:migrate
|
1690
|
-
</shell>
|
1691
|
-
|
1692
|
-
Next, edit the +post.rb+ file to create the other side of the association, and
|
1693
|
-
to tell Rails (via the +accepts_nested_attributes_for+ macro) that you intend to
|
1694
|
-
edit tags via posts:
|
1695
|
-
|
1696
|
-
<ruby>
|
1697
|
-
class Post < ActiveRecord::Base
|
1698
|
-
attr_accessible :content, :name, :title, :tags_attributes
|
1699
|
-
|
1700
|
-
validates :name, :presence => true
|
1701
|
-
validates :title, :presence => true,
|
1702
|
-
:length => { :minimum => 5 }
|
1703
|
-
|
1704
|
-
has_many :comments, :dependent => :destroy
|
1705
|
-
has_many :tags
|
1706
|
-
|
1707
|
-
accepts_nested_attributes_for :tags, :allow_destroy => :true,
|
1708
|
-
:reject_if => proc { |attrs| attrs.all? { |k, v| v.blank? } }
|
1709
|
-
end
|
1710
|
-
</ruby>
|
1711
|
-
|
1712
|
-
The +:allow_destroy+ option tells Rails to enable destroying tags through the
|
1713
|
-
nested attributes (you'll handle that by displaying a "remove" checkbox on the
|
1714
|
-
view that you'll build shortly). The +:reject_if+ option prevents saving new
|
1715
|
-
tags that do not have any attributes filled in.
|
1716
|
-
|
1717
|
-
Also note we had to add +:tags_attributes+ to the +attr_accessible+ list. If
|
1718
|
-
we didn't do this there would be a +MassAssignmentSecurity+ exception when we try to
|
1719
|
-
update tags through our posts model.
|
1720
|
-
|
1721
|
-
We will modify +views/posts/_form.html.erb+ to render a partial to make a tag:
|
1722
|
-
|
1723
|
-
<erb>
|
1724
|
-
<% @post.tags.build %>
|
1725
|
-
<%= form_for(@post) do |post_form| %>
|
1726
|
-
<% if @post.errors.any? %>
|
1727
|
-
<div id="errorExplanation">
|
1728
|
-
<h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>
|
1729
|
-
<ul>
|
1730
|
-
<% @post.errors.full_messages.each do |msg| %>
|
1731
|
-
<li><%= msg %></li>
|
1732
|
-
<% end %>
|
1733
|
-
</ul>
|
1734
|
-
</div>
|
1735
|
-
<% end %>
|
1736
|
-
|
1737
|
-
<div class="field">
|
1738
|
-
<%= post_form.label :name %><br />
|
1739
|
-
<%= post_form.text_field :name %>
|
1740
|
-
</div>
|
1741
|
-
<div class="field">
|
1742
|
-
<%= post_form.label :title %><br />
|
1743
|
-
<%= post_form.text_field :title %>
|
1744
|
-
</div>
|
1745
|
-
<div class="field">
|
1746
|
-
<%= post_form.label :content %><br />
|
1747
|
-
<%= post_form.text_area :content %>
|
1748
|
-
</div>
|
1749
|
-
<h2>Tags</h2>
|
1750
|
-
<%= render :partial => 'tags/form',
|
1751
|
-
:locals => {:form => post_form} %>
|
1752
|
-
<div class="actions">
|
1753
|
-
<%= post_form.submit %>
|
1754
|
-
</div>
|
1755
|
-
<% end %>
|
1756
|
-
</erb>
|
1757
|
-
|
1758
|
-
Note that we have changed the +f+ in +form_for(@post) do |f|+ to +post_form+ to
|
1759
|
-
make it easier to understand what is going on.
|
1760
|
-
|
1761
|
-
This example shows another option of the render helper, being able to pass in
|
1762
|
-
local variables, in this case, we want the local variable +form+ in the partial
|
1763
|
-
to refer to the +post_form+ object.
|
1764
|
-
|
1765
|
-
We also add a <tt>@post.tags.build</tt> at the top of this form. This is to make
|
1766
|
-
sure there is a new tag ready to have its name filled in by the user. If you do
|
1767
|
-
not build the new tag, then the form will not appear as there is no new Tag
|
1768
|
-
object ready to create.
|
1769
|
-
|
1770
|
-
Now create the folder <tt>app/views/tags</tt> and make a file in there called
|
1771
|
-
<tt>_form.html.erb</tt> which contains the form for the tag:
|
1772
|
-
|
1773
|
-
<erb>
|
1774
|
-
<%= form.fields_for :tags do |tag_form| %>
|
1775
|
-
<div class="field">
|
1776
|
-
<%= tag_form.label :name, 'Tag:' %>
|
1777
|
-
<%= tag_form.text_field :name %>
|
1778
|
-
</div>
|
1779
|
-
<% unless tag_form.object.nil? || tag_form.object.new_record? %>
|
1780
|
-
<div class="field">
|
1781
|
-
<%= tag_form.label :_destroy, 'Remove:' %>
|
1782
|
-
<%= tag_form.check_box :_destroy %>
|
1783
|
-
</div>
|
1784
|
-
<% end %>
|
1785
|
-
<% end %>
|
1786
|
-
</erb>
|
1787
|
-
|
1788
|
-
Finally, we will edit the <tt>app/views/posts/show.html.erb</tt> template to
|
1789
|
-
show our tags.
|
1790
|
-
|
1791
|
-
<erb>
|
1792
|
-
<p id="notice"><%= notice %></p>
|
1793
|
-
|
1794
|
-
<p>
|
1795
|
-
<b>Name:</b>
|
1796
|
-
<%= @post.name %>
|
1797
|
-
</p>
|
1798
|
-
|
1799
|
-
<p>
|
1800
|
-
<b>Title:</b>
|
1801
|
-
<%= @post.title %>
|
1802
|
-
</p>
|
1803
|
-
|
1804
|
-
<p>
|
1805
|
-
<b>Content:</b>
|
1806
|
-
<%= @post.content %>
|
1807
|
-
</p>
|
1808
|
-
|
1809
|
-
<p>
|
1810
|
-
<b>Tags:</b>
|
1811
|
-
<%= @post.tags.map { |t| t.name }.join(", ") %>
|
1812
|
-
</p>
|
1813
|
-
|
1814
|
-
<h2>Comments</h2>
|
1815
|
-
<%= render @post.comments %>
|
1816
|
-
|
1817
|
-
<h2>Add a comment:</h2>
|
1818
|
-
<%= render "comments/form" %>
|
1819
|
-
|
1820
|
-
|
1821
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1822
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1823
|
-
</erb>
|
1824
|
-
|
1825
|
-
With these changes in place, you'll find that you can edit a post and its tags
|
1826
|
-
directly on the same view.
|
1827
|
-
|
1828
|
-
However, that method call <tt>@post.tags.map { |t| t.name }.join(", ")</tt> is
|
1829
|
-
awkward, we could handle this by making a helper method.
|
1830
|
-
|
1831
|
-
h3. View Helpers
|
1832
|
-
|
1833
|
-
View Helpers live in <tt>app/helpers</tt> and provide small snippets of reusable
|
1834
|
-
code for views. In our case, we want a method that strings a bunch of objects
|
1835
|
-
together using their name attribute and joining them with a comma. As this is
|
1836
|
-
for the Post show template, we put it in the PostsHelper.
|
1837
|
-
|
1838
|
-
Open up <tt>app/helpers/posts_helper.rb</tt> and add the following:
|
1839
|
-
|
1840
|
-
<erb>
|
1841
|
-
module PostsHelper
|
1842
|
-
def join_tags(post)
|
1843
|
-
post.tags.map { |t| t.name }.join(", ")
|
1844
|
-
end
|
1845
|
-
end
|
1846
|
-
</erb>
|
1847
|
-
|
1848
|
-
Now you can edit the view in <tt>app/views/posts/show.html.erb</tt> to look like
|
1849
|
-
this:
|
1850
|
-
|
1851
|
-
<erb>
|
1852
|
-
<p id="notice"><%= notice %></p>
|
1853
|
-
|
1854
|
-
<p>
|
1855
|
-
<b>Name:</b>
|
1856
|
-
<%= @post.name %>
|
1857
|
-
</p>
|
1858
|
-
|
1859
|
-
<p>
|
1860
|
-
<b>Title:</b>
|
1861
|
-
<%= @post.title %>
|
1862
|
-
</p>
|
1863
|
-
|
1864
|
-
<p>
|
1865
|
-
<b>Content:</b>
|
1866
|
-
<%= @post.content %>
|
1867
|
-
</p>
|
1868
|
-
|
1869
|
-
<p>
|
1870
|
-
<b>Tags:</b>
|
1871
|
-
<%= join_tags(@post) %>
|
1872
|
-
</p>
|
1873
|
-
|
1874
|
-
<h2>Comments</h2>
|
1875
|
-
<%= render @post.comments %>
|
1876
|
-
|
1877
|
-
<h2>Add a comment:</h2>
|
1878
|
-
<%= render "comments/form" %>
|
1879
|
-
|
1880
|
-
|
1881
|
-
<%= link_to 'Edit Post', edit_post_path(@post) %> |
|
1882
|
-
<%= link_to 'Back to Posts', posts_path %> |
|
1883
|
-
</erb>
|
1884
|
-
|
1885
|
-
h3. What's Next?
|
1886
|
-
|
1887
|
-
Now that you've seen your first Rails application, you should feel free to
|
1888
|
-
update it and experiment on your own. But you don't have to do everything
|
1889
|
-
without help. As you need assistance getting up and running with Rails, feel
|
1890
|
-
free to consult these support resources:
|
1891
|
-
|
1892
|
-
* The "Ruby on Rails guides":index.html
|
1893
|
-
* The "Ruby on Rails Tutorial":http://railstutorial.org/book
|
1894
|
-
* The "Ruby on Rails mailing list":http://groups.google.com/group/rubyonrails-talk
|
1895
|
-
* The "#rubyonrails":irc://irc.freenode.net/#rubyonrails channel on irc.freenode.net
|
1896
|
-
|
1897
|
-
Rails also comes with built-in help that you can generate using the rake command-line utility:
|
1898
|
-
|
1899
|
-
* Running +rake doc:guides+ will put a full copy of the Rails Guides in the +doc/guides+ folder of your application. Open +doc/guides/index.html+ in your web browser to explore the Guides.
|
1900
|
-
* Running +rake doc:rails+ will put a full copy of the API documentation for Rails in the +doc/api+ folder of your application. Open +doc/api/index.html+ in your web browser to explore the API documentation.
|
1901
|
-
|
1902
|
-
h3. Configuration Gotchas
|
1903
|
-
|
1904
|
-
The easiest way to work with Rails is to store all external data as UTF-8. If
|
1905
|
-
you don't, Ruby libraries and Rails will often be able to convert your native
|
1906
|
-
data into UTF-8, but this doesn't always work reliably, so you're better off
|
1907
|
-
ensuring that all external data is UTF-8.
|
1908
|
-
|
1909
|
-
If you have made a mistake in this area, the most common symptom is a black
|
1910
|
-
diamond with a question mark inside appearing in the browser. Another common
|
1911
|
-
symptom is characters like "ü" appearing instead of "ü". Rails takes a number
|
1912
|
-
of internal steps to mitigate common causes of these problems that can be
|
1913
|
-
automatically detected and corrected. However, if you have external data that is
|
1914
|
-
not stored as UTF-8, it can occasionally result in these kinds of issues that
|
1915
|
-
cannot be automatically detected by Rails and corrected.
|
1916
|
-
|
1917
|
-
Two very common sources of data that are not UTF-8:
|
1918
|
-
* Your text editor: Most text editors (such as Textmate), default to saving files as
|
1919
|
-
UTF-8. If your text editor does not, this can result in special characters that you
|
1920
|
-
enter in your templates (such as é) to appear as a diamond with a question mark inside
|
1921
|
-
in the browser. This also applies to your I18N translation files.
|
1922
|
-
Most editors that do not already default to UTF-8 (such as some versions of
|
1923
|
-
Dreamweaver) offer a way to change the default to UTF-8. Do so.
|
1924
|
-
* Your database. Rails defaults to converting data from your database into UTF-8 at
|
1925
|
-
the boundary. However, if your database is not using UTF-8 internally, it may not
|
1926
|
-
be able to store all characters that your users enter. For instance, if your database
|
1927
|
-
is using Latin-1 internally, and your user enters a Russian, Hebrew, or Japanese
|
1928
|
-
character, the data will be lost forever once it enters the database. If possible,
|
1929
|
-
use UTF-8 as the internal storage of your database.
|