├── .gitignore ├── Capfile ├── README.rdoc ├── Rakefile ├── app ├── controllers │ ├── application_controller.rb │ ├── user_sessions_controller.rb │ └── users_controller.rb ├── helpers │ ├── application_helper.rb │ ├── password_resets_helper.rb │ ├── user_session_helper.rb │ ├── user_sessions_helper.rb │ └── users_helper.rb ├── models │ ├── user.rb │ └── user_session.rb └── views │ ├── layouts │ └── application.html.erb │ ├── password_resets │ ├── edit.html.erb │ └── new.html.erb │ ├── user_sessions │ └── new.html.erb │ └── users │ ├── _form.erb │ ├── edit.html.erb │ ├── new.html.erb │ └── show.html.erb ├── config ├── boot.rb ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── inflections.rb │ ├── mime_types.rb │ └── new_rails_defaults.rb └── routes.rb ├── db └── migrate │ ├── 20081103171327_create_users.rb │ └── 20081106072031_create_sessions.rb ├── doc └── README_FOR_APP ├── public ├── 404.html ├── 422.html ├── 500.html ├── dispatch.cgi ├── dispatch.fcgi ├── dispatch.rb ├── favicon.ico ├── images │ └── rails.png ├── javascripts │ ├── application.js │ ├── controls.js │ ├── dragdrop.js │ ├── effects.js │ └── prototype.js ├── robots.txt └── stylesheets │ └── scaffold.css ├── script ├── about ├── console ├── dbconsole ├── destroy ├── generate ├── performance │ ├── benchmarker │ ├── profiler │ └── request ├── plugin ├── process │ ├── inspector │ ├── reaper │ └── spawner ├── runner └── server ├── test ├── fixtures │ └── users.yml ├── functional │ ├── password_resets_controller_test.rb │ ├── user_sessions_controller_test.rb │ └── users_controller_test.rb ├── test_helper.rb └── unit │ └── user_test.rb └── vendor └── rails ├── .gitignore ├── Rakefile ├── actionmailer ├── CHANGELOG ├── MIT-LICENSE ├── README ├── Rakefile ├── install.rb ├── lib │ ├── action_mailer.rb │ ├── action_mailer │ │ ├── adv_attr_accessor.rb │ │ ├── base.rb │ │ ├── helpers.rb │ │ ├── mail_helper.rb │ │ ├── part.rb │ │ ├── part_container.rb │ │ ├── quoting.rb │ │ ├── test_case.rb │ │ ├── test_helper.rb │ │ ├── utils.rb │ │ ├── vendor │ │ │ ├── text-format-0.6.3 │ │ │ │ └── text │ │ │ │ │ └── format.rb │ │ │ ├── text_format.rb │ │ │ ├── tmail-1.2.3 │ │ │ │ ├── tmail.rb │ │ │ │ └── tmail │ │ │ │ │ ├── address.rb │ │ │ │ │ ├── attachments.rb │ │ │ │ │ ├── base64.rb │ │ │ │ │ ├── compat.rb │ │ │ │ │ ├── config.rb │ │ │ │ │ ├── core_extensions.rb │ │ │ │ │ ├── encode.rb │ │ │ │ │ ├── header.rb │ │ │ │ │ ├── index.rb │ │ │ │ │ ├── interface.rb │ │ │ │ │ ├── loader.rb │ │ │ │ │ ├── mail.rb │ │ │ │ │ ├── mailbox.rb │ │ │ │ │ ├── main.rb │ │ │ │ │ ├── mbox.rb │ │ │ │ │ ├── net.rb │ │ │ │ │ ├── obsolete.rb │ │ │ │ │ ├── parser.rb │ │ │ │ │ ├── port.rb │ │ │ │ │ ├── quoting.rb │ │ │ │ │ ├── require_arch.rb │ │ │ │ │ ├── scanner.rb │ │ │ │ │ ├── scanner_r.rb │ │ │ │ │ ├── stringio.rb │ │ │ │ │ ├── utils.rb │ │ │ │ │ └── version.rb │ │ │ └── tmail.rb │ │ └── version.rb │ └── actionmailer.rb └── test │ ├── abstract_unit.rb │ ├── asset_host_test.rb │ ├── delivery_method_test.rb │ ├── fixtures │ ├── asset_host_mailer │ │ └── email_with_asset.html.erb │ ├── auto_layout_mailer │ │ ├── hello.html.erb │ │ ├── multipart.text.html.erb │ │ └── multipart.text.plain.erb │ ├── explicit_layout_mailer │ │ ├── logout.html.erb │ │ └── signup.html.erb │ ├── first_mailer │ │ └── share.erb │ ├── helper_mailer │ │ ├── use_example_helper.erb │ │ ├── use_helper.erb │ │ ├── use_helper_method.erb │ │ └── use_mail_helper.erb │ ├── helpers │ │ └── example_helper.rb │ ├── layouts │ │ ├── auto_layout_mailer.html.erb │ │ ├── auto_layout_mailer.text.erb │ │ └── spam.html.erb │ ├── path.with.dots │ │ └── funky_path_mailer │ │ │ └── multipart_with_template_path_with_dots.erb │ ├── raw_email │ ├── raw_email10 │ ├── raw_email12 │ ├── raw_email13 │ ├── raw_email2 │ ├── raw_email3 │ ├── raw_email4 │ ├── raw_email5 │ ├── raw_email6 │ ├── raw_email7 │ ├── raw_email8 │ ├── raw_email9 │ ├── raw_email_quoted_with_0d0a │ ├── raw_email_with_invalid_characters_in_content_type │ ├── raw_email_with_nested_attachment │ ├── raw_email_with_partially_quoted_subject │ ├── second_mailer │ │ └── share.erb │ ├── templates │ │ └── signed_up.erb │ └── test_mailer │ │ ├── _subtemplate.text.plain.erb │ │ ├── body_ivar.erb │ │ ├── custom_templating_extension.text.html.haml │ │ ├── custom_templating_extension.text.plain.haml │ │ ├── implicitly_multipart_example.ignored.erb │ │ ├── implicitly_multipart_example.rhtml.bak │ │ ├── implicitly_multipart_example.text.html.erb │ │ ├── implicitly_multipart_example.text.html.erb~ │ │ ├── implicitly_multipart_example.text.plain.erb │ │ ├── implicitly_multipart_example.text.yaml.erb │ │ ├── included_subtemplate.text.plain.erb │ │ ├── rxml_template.builder │ │ ├── rxml_template.rxml │ │ ├── signed_up.html.erb │ │ └── signed_up_with_url.erb │ ├── mail_helper_test.rb │ ├── mail_layout_test.rb │ ├── mail_render_test.rb │ ├── mail_service_test.rb │ ├── quoting_test.rb │ ├── test_helper_test.rb │ ├── tmail_test.rb │ └── url_test.rb ├── actionpack ├── CHANGELOG ├── MIT-LICENSE ├── README ├── RUNNING_UNIT_TESTS ├── Rakefile ├── install.rb ├── lib │ ├── action_controller.rb │ ├── action_controller │ │ ├── assertions │ │ │ ├── dom_assertions.rb │ │ │ ├── model_assertions.rb │ │ │ ├── response_assertions.rb │ │ │ ├── routing_assertions.rb │ │ │ ├── selector_assertions.rb │ │ │ └── tag_assertions.rb │ │ ├── base.rb │ │ ├── benchmarking.rb │ │ ├── caching.rb │ │ ├── caching │ │ │ ├── actions.rb │ │ │ ├── fragments.rb │ │ │ ├── pages.rb │ │ │ └── sweeping.rb │ │ ├── cgi_ext.rb │ │ ├── cgi_ext │ │ │ ├── cookie.rb │ │ │ ├── query_extension.rb │ │ │ └── stdinput.rb │ │ ├── cgi_process.rb │ │ ├── cookies.rb │ │ ├── dispatcher.rb │ │ ├── failsafe.rb │ │ ├── filters.rb │ │ ├── flash.rb │ │ ├── headers.rb │ │ ├── helpers.rb │ │ ├── http_authentication.rb │ │ ├── integration.rb │ │ ├── layout.rb │ │ ├── middleware_stack.rb │ │ ├── middlewares.rb │ │ ├── mime_responds.rb │ │ ├── mime_type.rb │ │ ├── mime_types.rb │ │ ├── params_parser.rb │ │ ├── performance_test.rb │ │ ├── polymorphic_routes.rb │ │ ├── record_identifier.rb │ │ ├── reloader.rb │ │ ├── request.rb │ │ ├── request_forgery_protection.rb │ │ ├── rescue.rb │ │ ├── resources.rb │ │ ├── response.rb │ │ ├── rewindable_input.rb │ │ ├── routing.rb │ │ ├── routing │ │ │ ├── builder.rb │ │ │ ├── optimisations.rb │ │ │ ├── recognition_optimisation.rb │ │ │ ├── route.rb │ │ │ ├── route_set.rb │ │ │ ├── routing_ext.rb │ │ │ └── segments.rb │ │ ├── session │ │ │ ├── abstract_store.rb │ │ │ ├── cookie_store.rb │ │ │ └── mem_cache_store.rb │ │ ├── session_management.rb │ │ ├── status_codes.rb │ │ ├── streaming.rb │ │ ├── templates │ │ │ └── rescues │ │ │ │ ├── _request_and_response.erb │ │ │ │ ├── _trace.erb │ │ │ │ ├── diagnostics.erb │ │ │ │ ├── layout.erb │ │ │ │ ├── missing_template.erb │ │ │ │ ├── routing_error.erb │ │ │ │ ├── template_error.erb │ │ │ │ └── unknown_action.erb │ │ ├── test_case.rb │ │ ├── test_process.rb │ │ ├── translation.rb │ │ ├── uploaded_file.rb │ │ ├── url_rewriter.rb │ │ ├── vendor │ │ │ ├── html-scanner.rb │ │ │ ├── html-scanner │ │ │ │ └── html │ │ │ │ │ ├── document.rb │ │ │ │ │ ├── node.rb │ │ │ │ │ ├── sanitizer.rb │ │ │ │ │ ├── selector.rb │ │ │ │ │ ├── tokenizer.rb │ │ │ │ │ └── version.rb │ │ │ └── rack-1.0 │ │ │ │ ├── rack.rb │ │ │ │ └── rack │ │ │ │ ├── adapter │ │ │ │ └── camping.rb │ │ │ │ ├── auth │ │ │ │ ├── abstract │ │ │ │ │ ├── handler.rb │ │ │ │ │ └── request.rb │ │ │ │ ├── basic.rb │ │ │ │ ├── digest │ │ │ │ │ ├── md5.rb │ │ │ │ │ ├── nonce.rb │ │ │ │ │ ├── params.rb │ │ │ │ │ └── request.rb │ │ │ │ └── openid.rb │ │ │ │ ├── builder.rb │ │ │ │ ├── cascade.rb │ │ │ │ ├── chunked.rb │ │ │ │ ├── commonlogger.rb │ │ │ │ ├── conditionalget.rb │ │ │ │ ├── content_length.rb │ │ │ │ ├── content_type.rb │ │ │ │ ├── deflater.rb │ │ │ │ ├── directory.rb │ │ │ │ ├── file.rb │ │ │ │ ├── handler.rb │ │ │ │ ├── handler │ │ │ │ ├── cgi.rb │ │ │ │ ├── evented_mongrel.rb │ │ │ │ ├── fastcgi.rb │ │ │ │ ├── lsws.rb │ │ │ │ ├── mongrel.rb │ │ │ │ ├── scgi.rb │ │ │ │ ├── swiftiplied_mongrel.rb │ │ │ │ ├── thin.rb │ │ │ │ └── webrick.rb │ │ │ │ ├── head.rb │ │ │ │ ├── lint.rb │ │ │ │ ├── lobster.rb │ │ │ │ ├── lock.rb │ │ │ │ ├── methodoverride.rb │ │ │ │ ├── mime.rb │ │ │ │ ├── mock.rb │ │ │ │ ├── recursive.rb │ │ │ │ ├── reloader.rb │ │ │ │ ├── request.rb │ │ │ │ ├── response.rb │ │ │ │ ├── session │ │ │ │ ├── abstract │ │ │ │ │ └── id.rb │ │ │ │ ├── cookie.rb │ │ │ │ ├── memcache.rb │ │ │ │ └── pool.rb │ │ │ │ ├── showexceptions.rb │ │ │ │ ├── showstatus.rb │ │ │ │ ├── static.rb │ │ │ │ ├── urlmap.rb │ │ │ │ └── utils.rb │ │ └── verification.rb │ ├── action_pack.rb │ ├── action_pack │ │ └── version.rb │ ├── action_view.rb │ ├── action_view │ │ ├── base.rb │ │ ├── erb │ │ │ └── util.rb │ │ ├── helpers.rb │ │ ├── helpers │ │ │ ├── active_record_helper.rb │ │ │ ├── asset_tag_helper.rb │ │ │ ├── atom_feed_helper.rb │ │ │ ├── benchmark_helper.rb │ │ │ ├── cache_helper.rb │ │ │ ├── capture_helper.rb │ │ │ ├── date_helper.rb │ │ │ ├── debug_helper.rb │ │ │ ├── form_helper.rb │ │ │ ├── form_options_helper.rb │ │ │ ├── form_tag_helper.rb │ │ │ ├── javascript_helper.rb │ │ │ ├── number_helper.rb │ │ │ ├── prototype_helper.rb │ │ │ ├── record_identification_helper.rb │ │ │ ├── record_tag_helper.rb │ │ │ ├── sanitize_helper.rb │ │ │ ├── scriptaculous_helper.rb │ │ │ ├── tag_helper.rb │ │ │ ├── text_helper.rb │ │ │ ├── translation_helper.rb │ │ │ └── url_helper.rb │ │ ├── inline_template.rb │ │ ├── locale │ │ │ └── en.yml │ │ ├── partials.rb │ │ ├── paths.rb │ │ ├── reloadable_template.rb │ │ ├── renderable.rb │ │ ├── renderable_partial.rb │ │ ├── template.rb │ │ ├── template_error.rb │ │ ├── template_handler.rb │ │ ├── template_handlers.rb │ │ ├── template_handlers │ │ │ ├── builder.rb │ │ │ ├── erb.rb │ │ │ └── rjs.rb │ │ └── test_case.rb │ └── actionpack.rb └── test │ ├── abstract_unit.rb │ ├── active_record_unit.rb │ ├── activerecord │ ├── active_record_store_test.rb │ └── render_partial_with_record_identification_test.rb │ ├── adv_attr_test.rb │ ├── controller │ ├── action_pack_assertions_test.rb │ ├── addresses_render_test.rb │ ├── assert_select_test.rb │ ├── base_test.rb │ ├── benchmark_test.rb │ ├── caching_test.rb │ ├── capture_test.rb │ ├── content_type_test.rb │ ├── controller_fixtures │ │ ├── app │ │ │ └── controllers │ │ │ │ ├── admin │ │ │ │ └── user_controller.rb │ │ │ │ └── user_controller.rb │ │ └── vendor │ │ │ └── plugins │ │ │ └── bad_plugin │ │ │ └── lib │ │ │ └── plugin_controller.rb │ ├── cookie_test.rb │ ├── deprecation │ │ └── deprecated_base_methods_test.rb │ ├── dispatcher_test.rb │ ├── fake_controllers.rb │ ├── fake_models.rb │ ├── filter_params_test.rb │ ├── filters_test.rb │ ├── flash_test.rb │ ├── header_test.rb │ ├── helper_test.rb │ ├── html-scanner │ │ ├── cdata_node_test.rb │ │ ├── document_test.rb │ │ ├── node_test.rb │ │ ├── sanitizer_test.rb │ │ ├── tag_node_test.rb │ │ ├── text_node_test.rb │ │ └── tokenizer_test.rb │ ├── http_basic_authentication_test.rb │ ├── http_digest_authentication_test.rb │ ├── integration_test.rb │ ├── layout_test.rb │ ├── logging_test.rb │ ├── middleware_stack_test.rb │ ├── mime_responds_test.rb │ ├── mime_type_test.rb │ ├── polymorphic_routes_test.rb │ ├── rack_test.rb │ ├── record_identifier_test.rb │ ├── redirect_test.rb │ ├── render_test.rb │ ├── request │ │ ├── json_params_parsing_test.rb │ │ ├── multipart_params_parsing_test.rb │ │ ├── query_string_parsing_test.rb │ │ ├── url_encoded_params_parsing_test.rb │ │ └── xml_params_parsing_test.rb │ ├── request_forgery_protection_test.rb │ ├── request_test.rb │ ├── rescue_test.rb │ ├── resources_test.rb │ ├── routing_test.rb │ ├── selector_test.rb │ ├── send_file_test.rb │ ├── session │ │ ├── cookie_store_test.rb │ │ ├── mem_cache_store_test.rb │ │ └── test_session_test.rb │ ├── test_test.rb │ ├── translation_test.rb │ ├── url_rewriter_test.rb │ ├── verification_test.rb │ ├── view_paths_test.rb │ └── webservice_test.rb │ ├── fixtures │ ├── _top_level_partial.html.erb │ ├── _top_level_partial_only.erb │ ├── addresses │ │ └── list.erb │ ├── alternate_helpers │ │ └── foo_helper.rb │ ├── bad_customers │ │ └── _bad_customer.html.erb │ ├── companies.yml │ ├── company.rb │ ├── content_type │ │ ├── render_default_content_types_for_respond_to.rhtml │ │ ├── render_default_for_rhtml.rhtml │ │ ├── render_default_for_rjs.rjs │ │ └── render_default_for_rxml.rxml │ ├── customers │ │ └── _customer.html.erb │ ├── db_definitions │ │ └── sqlite.sql │ ├── developer.rb │ ├── developers.yml │ ├── developers │ │ └── _developer.erb │ ├── developers_projects.yml │ ├── fun │ │ ├── games │ │ │ ├── _game.erb │ │ │ └── hello_world.erb │ │ └── serious │ │ │ └── games │ │ │ └── _game.erb │ ├── functional_caching │ │ ├── _partial.erb │ │ ├── formatted_fragment_cached.html.erb │ │ ├── formatted_fragment_cached.js.rjs │ │ ├── formatted_fragment_cached.xml.builder │ │ ├── fragment_cached.html.erb │ │ ├── html_fragment_cached_with_partial.html.erb │ │ ├── inline_fragment_cached.html.erb │ │ └── js_fragment_cached_with_partial.js.rjs │ ├── good_customers │ │ └── _good_customer.html.erb │ ├── helpers │ │ ├── abc_helper.rb │ │ └── fun │ │ │ ├── games_helper.rb │ │ │ └── pdf_helper.rb │ ├── layout_tests │ │ ├── alt │ │ │ ├── hello.rhtml │ │ │ └── layouts │ │ │ │ └── alt.rhtml │ │ ├── layouts │ │ │ ├── controller_name_space │ │ │ │ └── nested.rhtml │ │ │ ├── item.rhtml │ │ │ ├── layout_test.rhtml │ │ │ ├── multiple_extensions.html.erb │ │ │ ├── symlinked │ │ │ └── third_party_template_library.mab │ │ └── views │ │ │ └── hello.rhtml │ ├── layouts │ │ ├── _column.html.erb │ │ ├── block_with_layout.erb │ │ ├── builder.builder │ │ ├── default_html.html.erb │ │ ├── partial_with_layout.erb │ │ ├── standard.erb │ │ ├── talk_from_action.erb │ │ ├── xhr.html.erb │ │ └── yield.erb │ ├── mascot.rb │ ├── mascots.yml │ ├── mascots │ │ └── _mascot.html.erb │ ├── multipart │ │ ├── binary_file │ │ ├── boundary_problem_file │ │ ├── bracketed_param │ │ ├── empty │ │ ├── hello.txt │ │ ├── large_text_file │ │ ├── mixed_files │ │ ├── mona_lisa.jpg │ │ ├── none │ │ ├── single_parameter │ │ └── text_file │ ├── override │ │ └── test │ │ │ └── hello_world.erb │ ├── override2 │ │ └── layouts │ │ │ └── test │ │ │ └── sub.erb │ ├── post_test │ │ ├── layouts │ │ │ ├── post.html.erb │ │ │ └── super_post.iphone.erb │ │ ├── post │ │ │ ├── index.html.erb │ │ │ └── index.iphone.erb │ │ └── super_post │ │ │ ├── index.html.erb │ │ │ └── index.iphone.erb │ ├── project.rb │ ├── projects.yml │ ├── projects │ │ └── _project.erb │ ├── public │ │ ├── 404.html │ │ ├── 500.da.html │ │ ├── 500.html │ │ ├── images │ │ │ └── rails.png │ │ ├── javascripts │ │ │ ├── application.js │ │ │ ├── bank.js │ │ │ ├── controls.js │ │ │ ├── dragdrop.js │ │ │ ├── effects.js │ │ │ ├── prototype.js │ │ │ ├── robber.js │ │ │ ├── subdir │ │ │ │ └── subdir.js │ │ │ └── version.1.0.js │ │ └── stylesheets │ │ │ ├── bank.css │ │ │ ├── robber.css │ │ │ ├── subdir │ │ │ └── subdir.css │ │ │ └── version.1.0.css │ ├── quiz │ │ └── questions │ │ │ └── _question.html.erb │ ├── replies.yml │ ├── replies │ │ └── _reply.erb │ ├── reply.rb │ ├── respond_to │ │ ├── all_types_with_layout.html.erb │ │ ├── all_types_with_layout.js.rjs │ │ ├── custom_constant_handling_without_block.mobile.erb │ │ ├── iphone_with_html_response_type.html.erb │ │ ├── iphone_with_html_response_type.iphone.erb │ │ ├── layouts │ │ │ ├── missing.html.erb │ │ │ ├── standard.html.erb │ │ │ └── standard.iphone.erb │ │ ├── using_defaults.html.erb │ │ ├── using_defaults.js.rjs │ │ ├── using_defaults.xml.builder │ │ ├── using_defaults_with_type_list.html.erb │ │ ├── using_defaults_with_type_list.js.rjs │ │ └── using_defaults_with_type_list.xml.builder │ ├── scope │ │ └── test │ │ │ └── modgreet.erb │ ├── shared.html.erb │ ├── symlink_parent │ │ └── symlinked_layout.erb │ ├── test │ │ ├── _counter.html.erb │ │ ├── _customer.erb │ │ ├── _customer_counter.erb │ │ ├── _customer_greeting.erb │ │ ├── _customer_with_var.erb │ │ ├── _form.erb │ │ ├── _hash_greeting.erb │ │ ├── _hash_object.erb │ │ ├── _hello.builder │ │ ├── _labelling_form.erb │ │ ├── _layout_for_block_with_args.html.erb │ │ ├── _layout_for_partial.html.erb │ │ ├── _local_inspector.html.erb │ │ ├── _one.html.erb │ │ ├── _partial.erb │ │ ├── _partial.html.erb │ │ ├── _partial.js.erb │ │ ├── _partial_for_use_in_layout.html.erb │ │ ├── _partial_only.erb │ │ ├── _partial_with_only_html_version.html.erb │ │ ├── _person.erb │ │ ├── _raise.html.erb │ │ ├── _two.html.erb │ │ ├── action_talk_to_layout.erb │ │ ├── calling_partial_with_layout.html.erb │ │ ├── capturing.erb │ │ ├── content_for.erb │ │ ├── content_for_concatenated.erb │ │ ├── content_for_with_parameter.erb │ │ ├── delete_with_js.rjs │ │ ├── dont_pick_me │ │ ├── dot.directory │ │ │ └── render_file_with_ivar.erb │ │ ├── enum_rjs_test.rjs │ │ ├── formatted_html_erb.html.erb │ │ ├── formatted_xml_erb.builder │ │ ├── formatted_xml_erb.html.erb │ │ ├── formatted_xml_erb.xml.erb │ │ ├── greeting.erb │ │ ├── greeting.js.rjs │ │ ├── hello.builder │ │ ├── hello_world.da.html.erb │ │ ├── hello_world.erb │ │ ├── hello_world.erb~ │ │ ├── hello_world.pt-BR.html.erb │ │ ├── hello_world_container.builder │ │ ├── hello_world_from_rxml.builder │ │ ├── hello_world_with_layout_false.erb │ │ ├── hello_xml_world.builder │ │ ├── hyphen-ated.erb │ │ ├── implicit_content_type.atom.builder │ │ ├── list.erb │ │ ├── malformed │ │ │ ├── malformed.en.html.erb~ │ │ │ ├── malformed.erb~ │ │ │ └── malformed.html.erb~ │ │ ├── nested_layout.erb │ │ ├── non_erb_block_content_for.builder │ │ ├── potential_conflicts.erb │ │ ├── render_explicit_html_template.js.rjs │ │ ├── render_file_from_template.html.erb │ │ ├── render_file_with_ivar.erb │ │ ├── render_file_with_locals.erb │ │ ├── render_implicit_html_template.js.rjs │ │ ├── render_implicit_html_template_from_xhr_request.da.html.erb │ │ ├── render_implicit_html_template_from_xhr_request.html.erb │ │ ├── render_implicit_js_template_without_layout.js.erb │ │ ├── render_to_string_test.erb │ │ ├── sub_template_raise.html.erb │ │ ├── template.erb │ │ ├── update_element_with_capture.erb │ │ ├── using_layout_around_block.html.erb │ │ ├── using_layout_around_block_with_args.html.erb │ │ └── utf8.html.erb │ ├── topic.rb │ ├── topics.yml │ └── topics │ │ └── _topic.html.erb │ ├── template │ ├── active_record_helper_i18n_test.rb │ ├── active_record_helper_test.rb │ ├── asset_tag_helper_test.rb │ ├── atom_feed_helper_test.rb │ ├── benchmark_helper_test.rb │ ├── compiled_templates_test.rb │ ├── date_helper_i18n_test.rb │ ├── date_helper_test.rb │ ├── erb_util_test.rb │ ├── form_helper_test.rb │ ├── form_options_helper_test.rb │ ├── form_tag_helper_test.rb │ ├── javascript_helper_test.rb │ ├── number_helper_i18n_test.rb │ ├── number_helper_test.rb │ ├── prototype_helper_test.rb │ ├── record_tag_helper_test.rb │ ├── render_test.rb │ ├── sanitize_helper_test.rb │ ├── scriptaculous_helper_test.rb │ ├── tag_helper_test.rb │ ├── test_test.rb │ ├── text_helper_test.rb │ ├── translation_helper_test.rb │ └── url_helper_test.rb │ ├── testing_sandbox.rb │ └── view │ └── test_case_test.rb ├── activemodel ├── CHANGES ├── README ├── Rakefile ├── lib │ ├── active_model.rb │ └── active_model │ │ ├── base.rb │ │ ├── callbacks.rb │ │ ├── core.rb │ │ ├── deprecated_error_methods.rb │ │ ├── errors.rb │ │ ├── observing.rb │ │ ├── state_machine.rb │ │ ├── state_machine │ │ ├── event.rb │ │ ├── machine.rb │ │ ├── state.rb │ │ └── state_transition.rb │ │ ├── validations.rb │ │ └── validations │ │ ├── acceptance.rb │ │ ├── associated.rb │ │ ├── confirmation.rb │ │ ├── exclusion.rb │ │ ├── format.rb │ │ ├── inclusion.rb │ │ ├── length.rb │ │ ├── numericality.rb │ │ ├── presence.rb │ │ └── uniqueness.rb └── test │ ├── observing_test.rb │ ├── state_machine │ ├── event_test.rb │ ├── machine_test.rb │ ├── state_test.rb │ └── state_transition_test.rb │ ├── state_machine_test.rb │ └── test_helper.rb ├── activerecord ├── CHANGELOG ├── MIT-LICENSE ├── README ├── RUNNING_UNIT_TESTS ├── Rakefile ├── examples │ └── associations.png ├── install.rb ├── lib │ ├── active_record.rb │ ├── active_record │ │ ├── aggregations.rb │ │ ├── association_preload.rb │ │ ├── associations.rb │ │ ├── associations │ │ │ ├── association_collection.rb │ │ │ ├── association_proxy.rb │ │ │ ├── belongs_to_association.rb │ │ │ ├── belongs_to_polymorphic_association.rb │ │ │ ├── has_and_belongs_to_many_association.rb │ │ │ ├── has_many_association.rb │ │ │ ├── has_many_through_association.rb │ │ │ ├── has_one_association.rb │ │ │ └── has_one_through_association.rb │ │ ├── attribute_methods.rb │ │ ├── autosave_association.rb │ │ ├── base.rb │ │ ├── batches.rb │ │ ├── calculations.rb │ │ ├── callbacks.rb │ │ ├── connection_adapters │ │ │ ├── abstract │ │ │ │ ├── connection_pool.rb │ │ │ │ ├── connection_specification.rb │ │ │ │ ├── database_statements.rb │ │ │ │ ├── query_cache.rb │ │ │ │ ├── quoting.rb │ │ │ │ ├── schema_definitions.rb │ │ │ │ └── schema_statements.rb │ │ │ ├── abstract_adapter.rb │ │ │ ├── mysql_adapter.rb │ │ │ ├── postgresql_adapter.rb │ │ │ ├── sqlite3_adapter.rb │ │ │ └── sqlite_adapter.rb │ │ ├── dirty.rb │ │ ├── dynamic_finder_match.rb │ │ ├── dynamic_scope_match.rb │ │ ├── fixtures.rb │ │ ├── i18n_interpolation_deprecation.rb │ │ ├── locale │ │ │ └── en.yml │ │ ├── locking │ │ │ ├── optimistic.rb │ │ │ └── pessimistic.rb │ │ ├── migration.rb │ │ ├── named_scope.rb │ │ ├── nested_attributes.rb │ │ ├── observer.rb │ │ ├── query_cache.rb │ │ ├── reflection.rb │ │ ├── schema.rb │ │ ├── schema_dumper.rb │ │ ├── serialization.rb │ │ ├── serializers │ │ │ ├── json_serializer.rb │ │ │ └── xml_serializer.rb │ │ ├── session_store.rb │ │ ├── test_case.rb │ │ ├── timestamp.rb │ │ ├── transactions.rb │ │ ├── validations.rb │ │ └── version.rb │ └── activerecord.rb └── test │ ├── assets │ ├── example.log │ └── flowers.jpg │ ├── cases │ ├── aaa_create_tables_test.rb │ ├── active_schema_test_mysql.rb │ ├── active_schema_test_postgresql.rb │ ├── adapter_test.rb │ ├── aggregations_test.rb │ ├── ar_schema_test.rb │ ├── associations │ │ ├── belongs_to_associations_test.rb │ │ ├── callbacks_test.rb │ │ ├── cascaded_eager_loading_test.rb │ │ ├── eager_load_includes_full_sti_class_test.rb │ │ ├── eager_load_nested_include_test.rb │ │ ├── eager_singularization_test.rb │ │ ├── eager_test.rb │ │ ├── extension_test.rb │ │ ├── has_and_belongs_to_many_associations_test.rb │ │ ├── has_many_associations_test.rb │ │ ├── has_many_through_associations_test.rb │ │ ├── has_one_associations_test.rb │ │ ├── has_one_through_associations_test.rb │ │ ├── inner_join_association_test.rb │ │ └── join_model_test.rb │ ├── associations_test.rb │ ├── attribute_methods_test.rb │ ├── autosave_association_test.rb │ ├── base_test.rb │ ├── batches_test.rb │ ├── binary_test.rb │ ├── calculations_test.rb │ ├── callbacks_observers_test.rb │ ├── callbacks_test.rb │ ├── class_inheritable_attributes_test.rb │ ├── column_alias_test.rb │ ├── column_definition_test.rb │ ├── connection_pool_test.rb │ ├── connection_test_firebird.rb │ ├── connection_test_mysql.rb │ ├── copy_table_test_sqlite.rb │ ├── database_statements_test.rb │ ├── datatype_test_postgresql.rb │ ├── date_time_test.rb │ ├── default_test_firebird.rb │ ├── defaults_test.rb │ ├── deprecated_finder_test.rb │ ├── dirty_test.rb │ ├── finder_respond_to_test.rb │ ├── finder_test.rb │ ├── fixtures_test.rb │ ├── helper.rb │ ├── i18n_test.rb │ ├── inheritance_test.rb │ ├── invalid_date_test.rb │ ├── json_serialization_test.rb │ ├── lifecycle_test.rb │ ├── locking_test.rb │ ├── method_scoping_test.rb │ ├── migration_test.rb │ ├── migration_test_firebird.rb │ ├── mixin_test.rb │ ├── modules_test.rb │ ├── multiple_db_test.rb │ ├── named_scope_test.rb │ ├── nested_attributes_test.rb │ ├── pk_test.rb │ ├── pooled_connections_test.rb │ ├── query_cache_test.rb │ ├── readonly_test.rb │ ├── reflection_test.rb │ ├── reload_models_test.rb │ ├── repair_helper.rb │ ├── reserved_word_test_mysql.rb │ ├── sanitize_test.rb │ ├── schema_authorization_test_postgresql.rb │ ├── schema_dumper_test.rb │ ├── schema_test_postgresql.rb │ ├── serialization_test.rb │ ├── synonym_test_oracle.rb │ ├── transactions_test.rb │ ├── unconnected_test.rb │ ├── validations_i18n_test.rb │ ├── validations_test.rb │ └── xml_serialization_test.rb │ ├── config.rb │ ├── connections │ ├── jdbc_jdbcderby │ │ └── connection.rb │ ├── jdbc_jdbch2 │ │ └── connection.rb │ ├── jdbc_jdbchsqldb │ │ └── connection.rb │ ├── jdbc_jdbcmysql │ │ └── connection.rb │ ├── jdbc_jdbcpostgresql │ │ └── connection.rb │ ├── jdbc_jdbcsqlite3 │ │ └── connection.rb │ ├── native_db2 │ │ └── connection.rb │ ├── native_firebird │ │ └── connection.rb │ ├── native_frontbase │ │ └── connection.rb │ ├── native_mysql │ │ └── connection.rb │ ├── native_openbase │ │ └── connection.rb │ ├── native_oracle │ │ └── connection.rb │ ├── native_postgresql │ │ └── connection.rb │ ├── native_sqlite │ │ └── connection.rb │ ├── native_sqlite3 │ │ ├── connection.rb │ │ └── in_memory_connection.rb │ └── native_sybase │ │ └── connection.rb │ ├── fixtures │ ├── .gitignore │ ├── accounts.yml │ ├── all │ │ ├── developers.yml │ │ ├── people.csv │ │ └── tasks.yml │ ├── author_addresses.yml │ ├── author_favorites.yml │ ├── authors.yml │ ├── binaries.yml │ ├── books.yml │ ├── categories.yml │ ├── categories │ │ ├── special_categories.yml │ │ └── subsubdir │ │ │ └── arbitrary_filename.yml │ ├── categories_ordered.yml │ ├── categories_posts.yml │ ├── categorizations.yml │ ├── clubs.yml │ ├── comments.yml │ ├── companies.yml │ ├── computers.yml │ ├── courses.yml │ ├── customers.yml │ ├── developers.yml │ ├── developers_projects.yml │ ├── edges.yml │ ├── entrants.yml │ ├── fk_test_has_fk.yml │ ├── fk_test_has_pk.yml │ ├── funny_jokes.yml │ ├── items.yml │ ├── jobs.yml │ ├── legacy_things.yml │ ├── mateys.yml │ ├── member_types.yml │ ├── members.yml │ ├── memberships.yml │ ├── minimalistics.yml │ ├── mixed_case_monkeys.yml │ ├── mixins.yml │ ├── movies.yml │ ├── naked │ │ ├── csv │ │ │ └── accounts.csv │ │ └── yml │ │ │ ├── accounts.yml │ │ │ ├── companies.yml │ │ │ └── courses.yml │ ├── organizations.yml │ ├── owners.yml │ ├── parrots.yml │ ├── parrots_pirates.yml │ ├── people.yml │ ├── pets.yml │ ├── pirates.yml │ ├── posts.yml │ ├── price_estimates.yml │ ├── projects.yml │ ├── readers.yml │ ├── references.yml │ ├── reserved_words │ │ ├── distinct.yml │ │ ├── distincts_selects.yml │ │ ├── group.yml │ │ ├── select.yml │ │ └── values.yml │ ├── ships.yml │ ├── sponsors.yml │ ├── subscribers.yml │ ├── subscriptions.yml │ ├── taggings.yml │ ├── tags.yml │ ├── tasks.yml │ ├── topics.yml │ ├── toys.yml │ ├── treasures.yml │ ├── vertices.yml │ └── warehouse-things.yml │ ├── migrations │ ├── broken │ │ └── 100_migration_that_raises_exception.rb │ ├── decimal │ │ └── 1_give_me_big_numbers.rb │ ├── duplicate │ │ ├── 1_people_have_last_names.rb │ │ ├── 2_we_need_reminders.rb │ │ ├── 3_foo.rb │ │ └── 3_innocent_jointable.rb │ ├── duplicate_names │ │ ├── 20080507052938_chunky.rb │ │ └── 20080507053028_chunky.rb │ ├── interleaved │ │ ├── pass_1 │ │ │ └── 3_innocent_jointable.rb │ │ ├── pass_2 │ │ │ ├── 1_people_have_last_names.rb │ │ │ └── 3_innocent_jointable.rb │ │ └── pass_3 │ │ │ ├── 1_people_have_last_names.rb │ │ │ ├── 2_i_raise_on_down.rb │ │ │ └── 3_innocent_jointable.rb │ ├── missing │ │ ├── 1000_people_have_middle_names.rb │ │ ├── 1_people_have_last_names.rb │ │ ├── 3_we_need_reminders.rb │ │ └── 4_innocent_jointable.rb │ └── valid │ │ ├── 1_people_have_last_names.rb │ │ ├── 2_we_need_reminders.rb │ │ └── 3_innocent_jointable.rb │ ├── models │ ├── author.rb │ ├── auto_id.rb │ ├── binary.rb │ ├── bird.rb │ ├── book.rb │ ├── categorization.rb │ ├── category.rb │ ├── citation.rb │ ├── club.rb │ ├── column_name.rb │ ├── comment.rb │ ├── company.rb │ ├── company_in_module.rb │ ├── computer.rb │ ├── contact.rb │ ├── course.rb │ ├── customer.rb │ ├── default.rb │ ├── developer.rb │ ├── edge.rb │ ├── entrant.rb │ ├── event.rb │ ├── guid.rb │ ├── item.rb │ ├── job.rb │ ├── joke.rb │ ├── keyboard.rb │ ├── legacy_thing.rb │ ├── matey.rb │ ├── member.rb │ ├── member_detail.rb │ ├── member_type.rb │ ├── membership.rb │ ├── minimalistic.rb │ ├── mixed_case_monkey.rb │ ├── movie.rb │ ├── order.rb │ ├── organization.rb │ ├── owner.rb │ ├── parrot.rb │ ├── person.rb │ ├── pet.rb │ ├── pirate.rb │ ├── post.rb │ ├── price_estimate.rb │ ├── project.rb │ ├── reader.rb │ ├── reference.rb │ ├── reply.rb │ ├── ship.rb │ ├── ship_part.rb │ ├── sponsor.rb │ ├── subject.rb │ ├── subscriber.rb │ ├── subscription.rb │ ├── tag.rb │ ├── tagging.rb │ ├── task.rb │ ├── topic.rb │ ├── toy.rb │ ├── treasure.rb │ ├── vertex.rb │ └── warehouse_thing.rb │ └── schema │ ├── mysql_specific_schema.rb │ ├── postgresql_specific_schema.rb │ ├── schema.rb │ ├── schema2.rb │ └── sqlite_specific_schema.rb ├── activeresource ├── CHANGELOG ├── MIT-LICENSE ├── README ├── Rakefile ├── lib │ ├── active_resource.rb │ ├── active_resource │ │ ├── base.rb │ │ ├── connection.rb │ │ ├── custom_methods.rb │ │ ├── formats.rb │ │ ├── formats │ │ │ ├── json_format.rb │ │ │ └── xml_format.rb │ │ ├── http_mock.rb │ │ ├── validations.rb │ │ └── version.rb │ └── activeresource.rb └── test │ ├── abstract_unit.rb │ ├── authorization_test.rb │ ├── base │ ├── custom_methods_test.rb │ ├── equality_test.rb │ └── load_test.rb │ ├── base_errors_test.rb │ ├── base_test.rb │ ├── connection_test.rb │ ├── fixtures │ ├── beast.rb │ ├── customer.rb │ ├── person.rb │ └── street_address.rb │ ├── format_test.rb │ └── setter_trap.rb ├── activesupport ├── CHANGELOG ├── MIT-LICENSE ├── README ├── Rakefile ├── bin │ └── generate_tables ├── install.rb ├── lib │ ├── active_support.rb │ ├── active_support │ │ ├── backtrace_cleaner.rb │ │ ├── base64.rb │ │ ├── basic_object.rb │ │ ├── buffered_logger.rb │ │ ├── cache.rb │ │ ├── cache │ │ │ ├── compressed_mem_cache_store.rb │ │ │ ├── drb_store.rb │ │ │ ├── file_store.rb │ │ │ ├── mem_cache_store.rb │ │ │ ├── memory_store.rb │ │ │ ├── strategy │ │ │ │ └── local_cache.rb │ │ │ └── synchronized_memory_store.rb │ │ ├── callbacks.rb │ │ ├── core_ext.rb │ │ ├── core_ext │ │ │ ├── array.rb │ │ │ ├── array │ │ │ │ ├── access.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── extract_options.rb │ │ │ │ ├── grouping.rb │ │ │ │ ├── random_access.rb │ │ │ │ └── wrapper.rb │ │ │ ├── base64.rb │ │ │ ├── base64 │ │ │ │ └── encoding.rb │ │ │ ├── benchmark.rb │ │ │ ├── bigdecimal.rb │ │ │ ├── bigdecimal │ │ │ │ └── conversions.rb │ │ │ ├── blank.rb │ │ │ ├── cgi.rb │ │ │ ├── cgi │ │ │ │ └── escape_skipping_slashes.rb │ │ │ ├── class.rb │ │ │ ├── class │ │ │ │ ├── attribute_accessors.rb │ │ │ │ ├── delegating_attributes.rb │ │ │ │ ├── inheritable_attributes.rb │ │ │ │ └── removal.rb │ │ │ ├── date.rb │ │ │ ├── date │ │ │ │ ├── behavior.rb │ │ │ │ ├── calculations.rb │ │ │ │ └── conversions.rb │ │ │ ├── date_time.rb │ │ │ ├── date_time │ │ │ │ ├── calculations.rb │ │ │ │ └── conversions.rb │ │ │ ├── duplicable.rb │ │ │ ├── enumerable.rb │ │ │ ├── exception.rb │ │ │ ├── file.rb │ │ │ ├── file │ │ │ │ └── atomic.rb │ │ │ ├── float.rb │ │ │ ├── float │ │ │ │ ├── rounding.rb │ │ │ │ └── time.rb │ │ │ ├── hash.rb │ │ │ ├── hash │ │ │ │ ├── conversions.rb │ │ │ │ ├── deep_merge.rb │ │ │ │ ├── diff.rb │ │ │ │ ├── except.rb │ │ │ │ ├── indifferent_access.rb │ │ │ │ ├── keys.rb │ │ │ │ ├── reverse_merge.rb │ │ │ │ └── slice.rb │ │ │ ├── integer.rb │ │ │ ├── integer │ │ │ │ ├── even_odd.rb │ │ │ │ ├── inflections.rb │ │ │ │ └── time.rb │ │ │ ├── kernel.rb │ │ │ ├── kernel │ │ │ │ ├── agnostics.rb │ │ │ │ ├── daemonizing.rb │ │ │ │ ├── debugger.rb │ │ │ │ ├── reporting.rb │ │ │ │ └── requires.rb │ │ │ ├── load_error.rb │ │ │ ├── logger.rb │ │ │ ├── module.rb │ │ │ ├── module │ │ │ │ ├── aliasing.rb │ │ │ │ ├── attr_accessor_with_default.rb │ │ │ │ ├── attr_internal.rb │ │ │ │ ├── attribute_accessors.rb │ │ │ │ ├── delegation.rb │ │ │ │ ├── inclusion.rb │ │ │ │ ├── introspection.rb │ │ │ │ ├── loading.rb │ │ │ │ ├── model_naming.rb │ │ │ │ └── synchronization.rb │ │ │ ├── name_error.rb │ │ │ ├── numeric.rb │ │ │ ├── numeric │ │ │ │ ├── bytes.rb │ │ │ │ ├── conversions.rb │ │ │ │ └── time.rb │ │ │ ├── object.rb │ │ │ ├── object │ │ │ │ ├── conversions.rb │ │ │ │ ├── extending.rb │ │ │ │ ├── instance_variables.rb │ │ │ │ ├── metaclass.rb │ │ │ │ └── misc.rb │ │ │ ├── pathname.rb │ │ │ ├── pathname │ │ │ │ └── clean_within.rb │ │ │ ├── proc.rb │ │ │ ├── process.rb │ │ │ ├── process │ │ │ │ └── daemon.rb │ │ │ ├── range.rb │ │ │ ├── range │ │ │ │ ├── blockless_step.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── include_range.rb │ │ │ │ └── overlaps.rb │ │ │ ├── rexml.rb │ │ │ ├── string.rb │ │ │ ├── string │ │ │ │ ├── access.rb │ │ │ │ ├── behavior.rb │ │ │ │ ├── conversions.rb │ │ │ │ ├── filters.rb │ │ │ │ ├── inflections.rb │ │ │ │ ├── iterators.rb │ │ │ │ ├── multibyte.rb │ │ │ │ ├── starts_ends_with.rb │ │ │ │ └── xchar.rb │ │ │ ├── symbol.rb │ │ │ ├── time.rb │ │ │ ├── time │ │ │ │ ├── behavior.rb │ │ │ │ ├── calculations.rb │ │ │ │ ├── conversions.rb │ │ │ │ └── zones.rb │ │ │ ├── try.rb │ │ │ └── uri.rb │ │ ├── dependencies.rb │ │ ├── deprecation.rb │ │ ├── duration.rb │ │ ├── gzip.rb │ │ ├── inflections.rb │ │ ├── inflector.rb │ │ ├── json.rb │ │ ├── json │ │ │ ├── decoding.rb │ │ │ ├── encoders │ │ │ │ ├── date.rb │ │ │ │ ├── date_time.rb │ │ │ │ ├── enumerable.rb │ │ │ │ ├── false_class.rb │ │ │ │ ├── hash.rb │ │ │ │ ├── nil_class.rb │ │ │ │ ├── numeric.rb │ │ │ │ ├── object.rb │ │ │ │ ├── regexp.rb │ │ │ │ ├── string.rb │ │ │ │ ├── symbol.rb │ │ │ │ ├── time.rb │ │ │ │ └── true_class.rb │ │ │ ├── encoding.rb │ │ │ └── variable.rb │ │ ├── locale │ │ │ └── en.yml │ │ ├── memoizable.rb │ │ ├── message_encryptor.rb │ │ ├── message_verifier.rb │ │ ├── multibyte.rb │ │ ├── multibyte │ │ │ ├── chars.rb │ │ │ ├── exceptions.rb │ │ │ └── unicode_database.rb │ │ ├── option_merger.rb │ │ ├── ordered_hash.rb │ │ ├── ordered_options.rb │ │ ├── rescuable.rb │ │ ├── secure_random.rb │ │ ├── string_inquirer.rb │ │ ├── test_case.rb │ │ ├── testing │ │ │ ├── assertions.rb │ │ │ ├── declarative.rb │ │ │ ├── default.rb │ │ │ ├── deprecation.rb │ │ │ ├── performance.rb │ │ │ └── setup_and_teardown.rb │ │ ├── time_with_zone.rb │ │ ├── values │ │ │ ├── time_zone.rb │ │ │ └── unicode_tables.dat │ │ ├── vendor.rb │ │ ├── vendor │ │ │ ├── builder-2.1.2 │ │ │ │ ├── blankslate.rb │ │ │ │ ├── builder.rb │ │ │ │ └── builder │ │ │ │ │ ├── blankslate.rb │ │ │ │ │ ├── css.rb │ │ │ │ │ ├── xchar.rb │ │ │ │ │ ├── xmlbase.rb │ │ │ │ │ ├── xmlevents.rb │ │ │ │ │ └── xmlmarkup.rb │ │ │ ├── i18n-0.1.3 │ │ │ │ ├── MIT-LICENSE │ │ │ │ ├── README.textile │ │ │ │ ├── Rakefile │ │ │ │ ├── i18n.gemspec │ │ │ │ ├── lib │ │ │ │ │ ├── i18n.rb │ │ │ │ │ └── i18n │ │ │ │ │ │ ├── backend │ │ │ │ │ │ └── simple.rb │ │ │ │ │ │ └── exceptions.rb │ │ │ │ └── test │ │ │ │ │ ├── all.rb │ │ │ │ │ ├── i18n_exceptions_test.rb │ │ │ │ │ ├── i18n_test.rb │ │ │ │ │ ├── locale │ │ │ │ │ ├── en.rb │ │ │ │ │ └── en.yml │ │ │ │ │ └── simple_backend_test.rb │ │ │ ├── memcache-client-1.6.5 │ │ │ │ └── memcache.rb │ │ │ └── tzinfo-0.3.12 │ │ │ │ ├── tzinfo.rb │ │ │ │ └── tzinfo │ │ │ │ ├── data_timezone.rb │ │ │ │ ├── data_timezone_info.rb │ │ │ │ ├── definitions │ │ │ │ ├── Africa │ │ │ │ │ ├── Algiers.rb │ │ │ │ │ ├── Cairo.rb │ │ │ │ │ ├── Casablanca.rb │ │ │ │ │ ├── Harare.rb │ │ │ │ │ ├── Johannesburg.rb │ │ │ │ │ ├── Monrovia.rb │ │ │ │ │ └── Nairobi.rb │ │ │ │ ├── America │ │ │ │ │ ├── Argentina │ │ │ │ │ │ ├── Buenos_Aires.rb │ │ │ │ │ │ └── San_Juan.rb │ │ │ │ │ ├── Bogota.rb │ │ │ │ │ ├── Caracas.rb │ │ │ │ │ ├── Chicago.rb │ │ │ │ │ ├── Chihuahua.rb │ │ │ │ │ ├── Denver.rb │ │ │ │ │ ├── Godthab.rb │ │ │ │ │ ├── Guatemala.rb │ │ │ │ │ ├── Halifax.rb │ │ │ │ │ ├── Indiana │ │ │ │ │ │ └── Indianapolis.rb │ │ │ │ │ ├── Juneau.rb │ │ │ │ │ ├── La_Paz.rb │ │ │ │ │ ├── Lima.rb │ │ │ │ │ ├── Los_Angeles.rb │ │ │ │ │ ├── Mazatlan.rb │ │ │ │ │ ├── Mexico_City.rb │ │ │ │ │ ├── Monterrey.rb │ │ │ │ │ ├── New_York.rb │ │ │ │ │ ├── Phoenix.rb │ │ │ │ │ ├── Regina.rb │ │ │ │ │ ├── Santiago.rb │ │ │ │ │ ├── Sao_Paulo.rb │ │ │ │ │ ├── St_Johns.rb │ │ │ │ │ └── Tijuana.rb │ │ │ │ ├── Asia │ │ │ │ │ ├── Almaty.rb │ │ │ │ │ ├── Baghdad.rb │ │ │ │ │ ├── Baku.rb │ │ │ │ │ ├── Bangkok.rb │ │ │ │ │ ├── Chongqing.rb │ │ │ │ │ ├── Colombo.rb │ │ │ │ │ ├── Dhaka.rb │ │ │ │ │ ├── Hong_Kong.rb │ │ │ │ │ ├── Irkutsk.rb │ │ │ │ │ ├── Jakarta.rb │ │ │ │ │ ├── Jerusalem.rb │ │ │ │ │ ├── Kabul.rb │ │ │ │ │ ├── Kamchatka.rb │ │ │ │ │ ├── Karachi.rb │ │ │ │ │ ├── Katmandu.rb │ │ │ │ │ ├── Kolkata.rb │ │ │ │ │ ├── Krasnoyarsk.rb │ │ │ │ │ ├── Kuala_Lumpur.rb │ │ │ │ │ ├── Kuwait.rb │ │ │ │ │ ├── Magadan.rb │ │ │ │ │ ├── Muscat.rb │ │ │ │ │ ├── Novosibirsk.rb │ │ │ │ │ ├── Rangoon.rb │ │ │ │ │ ├── Riyadh.rb │ │ │ │ │ ├── Seoul.rb │ │ │ │ │ ├── Shanghai.rb │ │ │ │ │ ├── Singapore.rb │ │ │ │ │ ├── Taipei.rb │ │ │ │ │ ├── Tashkent.rb │ │ │ │ │ ├── Tbilisi.rb │ │ │ │ │ ├── Tehran.rb │ │ │ │ │ ├── Tokyo.rb │ │ │ │ │ ├── Ulaanbaatar.rb │ │ │ │ │ ├── Urumqi.rb │ │ │ │ │ ├── Vladivostok.rb │ │ │ │ │ ├── Yakutsk.rb │ │ │ │ │ ├── Yekaterinburg.rb │ │ │ │ │ └── Yerevan.rb │ │ │ │ ├── Atlantic │ │ │ │ │ ├── Azores.rb │ │ │ │ │ ├── Cape_Verde.rb │ │ │ │ │ └── South_Georgia.rb │ │ │ │ ├── Australia │ │ │ │ │ ├── Adelaide.rb │ │ │ │ │ ├── Brisbane.rb │ │ │ │ │ ├── Darwin.rb │ │ │ │ │ ├── Hobart.rb │ │ │ │ │ ├── Melbourne.rb │ │ │ │ │ ├── Perth.rb │ │ │ │ │ └── Sydney.rb │ │ │ │ ├── Etc │ │ │ │ │ └── UTC.rb │ │ │ │ ├── Europe │ │ │ │ │ ├── Amsterdam.rb │ │ │ │ │ ├── Athens.rb │ │ │ │ │ ├── Belgrade.rb │ │ │ │ │ ├── Berlin.rb │ │ │ │ │ ├── Bratislava.rb │ │ │ │ │ ├── Brussels.rb │ │ │ │ │ ├── Bucharest.rb │ │ │ │ │ ├── Budapest.rb │ │ │ │ │ ├── Copenhagen.rb │ │ │ │ │ ├── Dublin.rb │ │ │ │ │ ├── Helsinki.rb │ │ │ │ │ ├── Istanbul.rb │ │ │ │ │ ├── Kiev.rb │ │ │ │ │ ├── Lisbon.rb │ │ │ │ │ ├── Ljubljana.rb │ │ │ │ │ ├── London.rb │ │ │ │ │ ├── Madrid.rb │ │ │ │ │ ├── Minsk.rb │ │ │ │ │ ├── Moscow.rb │ │ │ │ │ ├── Paris.rb │ │ │ │ │ ├── Prague.rb │ │ │ │ │ ├── Riga.rb │ │ │ │ │ ├── Rome.rb │ │ │ │ │ ├── Sarajevo.rb │ │ │ │ │ ├── Skopje.rb │ │ │ │ │ ├── Sofia.rb │ │ │ │ │ ├── Stockholm.rb │ │ │ │ │ ├── Tallinn.rb │ │ │ │ │ ├── Vienna.rb │ │ │ │ │ ├── Vilnius.rb │ │ │ │ │ ├── Warsaw.rb │ │ │ │ │ └── Zagreb.rb │ │ │ │ └── Pacific │ │ │ │ │ ├── Auckland.rb │ │ │ │ │ ├── Fiji.rb │ │ │ │ │ ├── Guam.rb │ │ │ │ │ ├── Honolulu.rb │ │ │ │ │ ├── Majuro.rb │ │ │ │ │ ├── Midway.rb │ │ │ │ │ ├── Noumea.rb │ │ │ │ │ ├── Pago_Pago.rb │ │ │ │ │ ├── Port_Moresby.rb │ │ │ │ │ └── Tongatapu.rb │ │ │ │ ├── info_timezone.rb │ │ │ │ ├── linked_timezone.rb │ │ │ │ ├── linked_timezone_info.rb │ │ │ │ ├── offset_rationals.rb │ │ │ │ ├── ruby_core_support.rb │ │ │ │ ├── time_or_datetime.rb │ │ │ │ ├── timezone.rb │ │ │ │ ├── timezone_definition.rb │ │ │ │ ├── timezone_info.rb │ │ │ │ ├── timezone_offset_info.rb │ │ │ │ ├── timezone_period.rb │ │ │ │ └── timezone_transition_info.rb │ │ ├── version.rb │ │ ├── whiny_nil.rb │ │ ├── xml_mini.rb │ │ └── xml_mini │ │ │ ├── libxml.rb │ │ │ ├── nokogiri.rb │ │ │ └── rexml.rb │ └── activesupport.rb └── test │ ├── abstract_unit.rb │ ├── autoloading_fixtures │ ├── a │ │ ├── b.rb │ │ └── c │ │ │ ├── d.rb │ │ │ └── e │ │ │ └── f.rb │ ├── application.rb │ ├── class_folder.rb │ ├── class_folder │ │ ├── class_folder_subclass.rb │ │ ├── inline_class.rb │ │ └── nested_class.rb │ ├── conflict.rb │ ├── counting_loader.rb │ ├── cross_site_dependency.rb │ ├── e.rb │ ├── module_folder │ │ ├── inline_class.rb │ │ ├── nested_class.rb │ │ └── nested_sibling.rb │ ├── module_with_custom_const_missing │ │ └── a │ │ │ └── b.rb │ ├── multiple_constant_file.rb │ ├── raises_name_error.rb │ └── raises_no_method_error.rb │ ├── buffered_logger_test.rb │ ├── caching_test.rb │ ├── callbacks_test.rb │ ├── clean_backtrace_test.rb │ ├── clean_logger_test.rb │ ├── core_ext │ ├── array_ext_test.rb │ ├── base64_ext_test.rb │ ├── bigdecimal.rb │ ├── blank_test.rb │ ├── cgi_ext_test.rb │ ├── class │ │ ├── attribute_accessor_test.rb │ │ ├── class_inheritable_attributes_test.rb │ │ └── delegating_attributes_test.rb │ ├── class_test.rb │ ├── date_ext_test.rb │ ├── date_time_ext_test.rb │ ├── duplicable_test.rb │ ├── duration_test.rb │ ├── enumerable_test.rb │ ├── exception_test.rb │ ├── file_test.rb │ ├── float_ext_test.rb │ ├── hash_ext_test.rb │ ├── integer_ext_test.rb │ ├── kernel_test.rb │ ├── load_error_test.rb │ ├── module │ │ ├── attr_accessor_with_default_test.rb │ │ ├── attr_internal_test.rb │ │ ├── attribute_accessor_test.rb │ │ ├── attribute_aliasing_test.rb │ │ ├── model_naming_test.rb │ │ └── synchronization_test.rb │ ├── module_test.rb │ ├── name_error_test.rb │ ├── numeric_ext_test.rb │ ├── object_and_class_ext_test.rb │ ├── object_ext_test.rb │ ├── pathname_test.rb │ ├── proc_test.rb │ ├── range_ext_test.rb │ ├── string_ext_test.rb │ ├── symbol_test.rb │ ├── time_ext_test.rb │ ├── time_with_zone_test.rb │ └── uri_ext_test.rb │ ├── dependencies │ ├── check_warnings.rb │ ├── conflict.rb │ ├── cross_site_depender.rb │ ├── mutual_one.rb │ ├── mutual_two.rb │ ├── raises_exception.rb │ ├── requires_nonexistent0.rb │ ├── requires_nonexistent1.rb │ ├── service_one.rb │ └── service_two.rb │ ├── dependencies_test.rb │ ├── deprecation_test.rb │ ├── gzip_test.rb │ ├── i18n_test.rb │ ├── inflector_test.rb │ ├── inflector_test_cases.rb │ ├── json │ ├── decoding_test.rb │ └── encoding_test.rb │ ├── memoizable_test.rb │ ├── message_encryptor_test.rb │ ├── message_verifier_test.rb │ ├── multibyte_chars_test.rb │ ├── multibyte_conformance.rb │ ├── multibyte_test_helpers.rb │ ├── multibyte_unicode_database_test.rb │ ├── option_merger_test.rb │ ├── ordered_hash_test.rb │ ├── ordered_options_test.rb │ ├── rescuable_test.rb │ ├── secure_random_test.rb │ ├── string_inquirer_test.rb │ ├── test_test.rb │ ├── time_zone_test.rb │ ├── whiny_nil_test.rb │ └── xml_mini │ ├── nokogiri_engine_test.rb │ └── rexml_engine_test.rb ├── ci ├── ci_build.rb ├── ci_setup_notes.txt ├── cruise_config.rb ├── geminstaller.yml ├── site.css └── site_config.rb ├── doc └── template │ └── horo.rb ├── pushgems.rb ├── railties ├── CHANGELOG ├── MIT-LICENSE ├── README ├── Rakefile ├── bin │ ├── about │ ├── console │ ├── dbconsole │ ├── destroy │ ├── generate │ ├── performance │ │ ├── benchmarker │ │ └── profiler │ ├── plugin │ ├── rails │ ├── runner │ └── server ├── builtin │ └── rails_info │ │ ├── rails │ │ ├── info.rb │ │ ├── info_controller.rb │ │ └── info_helper.rb │ │ └── rails_info_controller.rb ├── configs │ ├── databases │ │ ├── frontbase.yml │ │ ├── ibm_db.yml │ │ ├── mysql.yml │ │ ├── oracle.yml │ │ ├── postgresql.yml │ │ ├── sqlite2.yml │ │ └── sqlite3.yml │ ├── empty.log │ ├── initializers │ │ ├── backtrace_silencers.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── new_rails_defaults.rb │ │ └── session_store.rb │ ├── locales │ │ └── en.yml │ └── routes.rb ├── dispatches │ ├── config.ru │ ├── dispatch.fcgi │ ├── dispatch.rb │ └── gateway.cgi ├── doc │ └── README_FOR_APP ├── environments │ ├── boot.rb │ ├── development.rb │ ├── environment.rb │ ├── production.rb │ └── test.rb ├── fresh_rakefile ├── guides │ ├── files │ │ ├── javascripts │ │ │ ├── code_highlighter.js │ │ │ ├── guides.js │ │ │ └── highlighters.js │ │ └── stylesheets │ │ │ ├── main.css │ │ │ ├── print.css │ │ │ ├── reset.css │ │ │ ├── style.css │ │ │ └── syntax.css │ ├── images │ │ ├── belongs_to.png │ │ ├── book_icon.gif │ │ ├── bullet.gif │ │ ├── chapters_icon.gif │ │ ├── check_bullet.gif │ │ ├── credits_pic_blank.gif │ │ ├── csrf.png │ │ ├── customized_error_messages.png │ │ ├── error_messages.png │ │ ├── feature_tile.gif │ │ ├── footer_tile.gif │ │ ├── fxn.jpg │ │ ├── grey_bullet.gif │ │ ├── habtm.png │ │ ├── has_many.png │ │ ├── has_many_through.png │ │ ├── has_one.png │ │ ├── has_one_through.png │ │ ├── header_backdrop.png │ │ ├── header_tile.gif │ │ ├── i18n │ │ │ ├── demo_localized_pirate.png │ │ │ ├── demo_translated_en.png │ │ │ ├── demo_translated_pirate.png │ │ │ ├── demo_translation_missing.png │ │ │ └── demo_untranslated.png │ │ ├── icons │ │ │ ├── README │ │ │ ├── callouts │ │ │ │ ├── 1.png │ │ │ │ ├── 10.png │ │ │ │ ├── 11.png │ │ │ │ ├── 12.png │ │ │ │ ├── 13.png │ │ │ │ ├── 14.png │ │ │ │ ├── 15.png │ │ │ │ ├── 2.png │ │ │ │ ├── 3.png │ │ │ │ ├── 4.png │ │ │ │ ├── 5.png │ │ │ │ ├── 6.png │ │ │ │ ├── 7.png │ │ │ │ ├── 8.png │ │ │ │ └── 9.png │ │ │ ├── caution.png │ │ │ ├── example.png │ │ │ ├── home.png │ │ │ ├── important.png │ │ │ ├── next.png │ │ │ ├── note.png │ │ │ ├── prev.png │ │ │ ├── tip.png │ │ │ ├── up.png │ │ │ └── warning.png │ │ ├── nav_arrow.gif │ │ ├── polymorphic.png │ │ ├── posts_index.png │ │ ├── rails_guides_logo.gif │ │ ├── rails_logo_remix.gif │ │ ├── rails_welcome.png │ │ ├── session_fixation.png │ │ ├── tab_grey.gif │ │ ├── tab_info.gif │ │ ├── tab_note.gif │ │ ├── tab_red.gif │ │ ├── tab_yellow.gif │ │ ├── tab_yellow.png │ │ └── validation_error_messages.png │ ├── rails_guides.rb │ ├── rails_guides │ │ ├── generator.rb │ │ ├── helpers.rb │ │ ├── indexer.rb │ │ └── textile_extensions.rb │ └── source │ │ ├── 2_2_release_notes.textile │ │ ├── 2_3_release_notes.textile │ │ ├── action_controller_overview.textile │ │ ├── action_mailer_basics.textile │ │ ├── active_record_basics.textile │ │ ├── active_record_querying.textile │ │ ├── activerecord_validations_callbacks.textile │ │ ├── association_basics.textile │ │ ├── caching_with_rails.textile │ │ ├── command_line.textile │ │ ├── configuring.textile │ │ ├── contribute.textile │ │ ├── contributing_to_rails.textile │ │ ├── credits.erb.textile │ │ ├── debugging_rails_applications.textile │ │ ├── form_helpers.textile │ │ ├── getting_started.textile │ │ ├── i18n.textile │ │ ├── index.erb.textile │ │ ├── layout.html.erb │ │ ├── layouts_and_rendering.textile │ │ ├── migrations.textile │ │ ├── nested_model_forms.textile │ │ ├── performance_testing.textile │ │ ├── plugins.textile │ │ ├── rails_on_rack.textile │ │ ├── routing.textile │ │ ├── security.textile │ │ └── testing.textile ├── helpers │ ├── application_controller.rb │ ├── application_helper.rb │ ├── performance_test.rb │ └── test_helper.rb ├── html │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ ├── images │ │ └── rails.png │ ├── index.html │ ├── javascripts │ │ ├── application.js │ │ ├── controls.js │ │ ├── dragdrop.js │ │ ├── effects.js │ │ └── prototype.js │ └── robots.txt ├── lib │ ├── code_statistics.rb │ ├── commands.rb │ ├── commands │ │ ├── about.rb │ │ ├── console.rb │ │ ├── dbconsole.rb │ │ ├── destroy.rb │ │ ├── generate.rb │ │ ├── ncgi │ │ │ ├── listener │ │ │ └── tracker │ │ ├── performance │ │ │ ├── benchmarker.rb │ │ │ └── profiler.rb │ │ ├── plugin.rb │ │ ├── runner.rb │ │ ├── server.rb │ │ └── update.rb │ ├── console_app.rb │ ├── console_sandbox.rb │ ├── console_with_helpers.rb │ ├── dispatcher.rb │ ├── fcgi_handler.rb │ ├── initializer.rb │ ├── performance_test_help.rb │ ├── rails │ │ ├── backtrace_cleaner.rb │ │ ├── gem_builder.rb │ │ ├── gem_dependency.rb │ │ ├── plugin.rb │ │ ├── plugin │ │ │ ├── loader.rb │ │ │ └── locator.rb │ │ ├── rack.rb │ │ ├── rack │ │ │ ├── debugger.rb │ │ │ ├── log_tailer.rb │ │ │ ├── metal.rb │ │ │ └── static.rb │ │ ├── vendor_gem_source_index.rb │ │ └── version.rb │ ├── rails_generator.rb │ ├── rails_generator │ │ ├── base.rb │ │ ├── commands.rb │ │ ├── generated_attribute.rb │ │ ├── generators │ │ │ ├── applications │ │ │ │ └── app │ │ │ │ │ ├── USAGE │ │ │ │ │ ├── app_generator.rb │ │ │ │ │ ├── scm │ │ │ │ │ ├── git.rb │ │ │ │ │ ├── scm.rb │ │ │ │ │ └── svn.rb │ │ │ │ │ └── template_runner.rb │ │ │ └── components │ │ │ │ ├── controller │ │ │ │ ├── USAGE │ │ │ │ ├── controller_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── controller.rb │ │ │ │ │ ├── functional_test.rb │ │ │ │ │ ├── helper.rb │ │ │ │ │ ├── helper_test.rb │ │ │ │ │ └── view.html.erb │ │ │ │ ├── helper │ │ │ │ ├── USAGE │ │ │ │ ├── helper_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── helper.rb │ │ │ │ │ └── helper_test.rb │ │ │ │ ├── integration_test │ │ │ │ ├── USAGE │ │ │ │ ├── integration_test_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── integration_test.rb │ │ │ │ ├── mailer │ │ │ │ ├── USAGE │ │ │ │ ├── mailer_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── fixture.erb │ │ │ │ │ ├── fixture.rhtml │ │ │ │ │ ├── mailer.rb │ │ │ │ │ ├── unit_test.rb │ │ │ │ │ ├── view.erb │ │ │ │ │ └── view.rhtml │ │ │ │ ├── metal │ │ │ │ ├── USAGE │ │ │ │ ├── metal_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── metal.rb │ │ │ │ ├── migration │ │ │ │ ├── USAGE │ │ │ │ ├── migration_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── migration.rb │ │ │ │ ├── model │ │ │ │ ├── USAGE │ │ │ │ ├── model_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── fixtures.yml │ │ │ │ │ ├── migration.rb │ │ │ │ │ ├── model.rb │ │ │ │ │ └── unit_test.rb │ │ │ │ ├── observer │ │ │ │ ├── USAGE │ │ │ │ ├── observer_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── observer.rb │ │ │ │ │ └── unit_test.rb │ │ │ │ ├── performance_test │ │ │ │ ├── USAGE │ │ │ │ ├── performance_test_generator.rb │ │ │ │ └── templates │ │ │ │ │ └── performance_test.rb │ │ │ │ ├── plugin │ │ │ │ ├── USAGE │ │ │ │ ├── plugin_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── MIT-LICENSE │ │ │ │ │ ├── README │ │ │ │ │ ├── Rakefile │ │ │ │ │ ├── USAGE │ │ │ │ │ ├── generator.rb │ │ │ │ │ ├── init.rb │ │ │ │ │ ├── install.rb │ │ │ │ │ ├── plugin.rb │ │ │ │ │ ├── tasks.rake │ │ │ │ │ ├── test_helper.rb │ │ │ │ │ ├── uninstall.rb │ │ │ │ │ └── unit_test.rb │ │ │ │ ├── resource │ │ │ │ ├── USAGE │ │ │ │ ├── resource_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── controller.rb │ │ │ │ │ ├── functional_test.rb │ │ │ │ │ ├── helper.rb │ │ │ │ │ └── helper_test.rb │ │ │ │ ├── scaffold │ │ │ │ ├── USAGE │ │ │ │ ├── scaffold_generator.rb │ │ │ │ └── templates │ │ │ │ │ ├── controller.rb │ │ │ │ │ ├── functional_test.rb │ │ │ │ │ ├── helper.rb │ │ │ │ │ ├── helper_test.rb │ │ │ │ │ ├── layout.html.erb │ │ │ │ │ ├── style.css │ │ │ │ │ ├── view_edit.html.erb │ │ │ │ │ ├── view_index.html.erb │ │ │ │ │ ├── view_new.html.erb │ │ │ │ │ └── view_show.html.erb │ │ │ │ └── session_migration │ │ │ │ ├── USAGE │ │ │ │ ├── session_migration_generator.rb │ │ │ │ └── templates │ │ │ │ └── migration.rb │ │ ├── lookup.rb │ │ ├── manifest.rb │ │ ├── options.rb │ │ ├── scripts.rb │ │ ├── scripts │ │ │ ├── destroy.rb │ │ │ ├── generate.rb │ │ │ └── update.rb │ │ ├── secret_key_generator.rb │ │ ├── simple_logger.rb │ │ └── spec.rb │ ├── railties_path.rb │ ├── ruby_version_check.rb │ ├── rubyprof_ext.rb │ ├── source_annotation_extractor.rb │ ├── tasks │ │ ├── annotations.rake │ │ ├── databases.rake │ │ ├── documentation.rake │ │ ├── framework.rake │ │ ├── gems.rake │ │ ├── log.rake │ │ ├── middleware.rake │ │ ├── misc.rake │ │ ├── rails.rb │ │ ├── routes.rake │ │ ├── statistics.rake │ │ ├── testing.rake │ │ └── tmp.rake │ ├── test_help.rb │ └── webrick_server.rb └── test │ ├── abstract_unit.rb │ ├── backtrace_cleaner_test.rb │ ├── boot_test.rb │ ├── console_app_test.rb │ ├── fcgi_dispatcher_test.rb │ ├── fixtures │ ├── about_yml_plugins │ │ ├── bad_about_yml │ │ │ ├── about.yml │ │ │ └── init.rb │ │ └── plugin_without_about_yml │ │ │ └── init.rb │ ├── eager │ │ ├── zoo.rb │ │ └── zoo │ │ │ └── reptile_house.rb │ ├── environment_with_constant.rb │ ├── lib │ │ └── generators │ │ │ ├── missing_class │ │ │ ├── missing_class_generator.rb │ │ │ └── templates │ │ │ │ └── .gitignore │ │ │ ├── missing_generator │ │ │ └── templates │ │ │ │ └── .gitignore │ │ │ ├── missing_templates │ │ │ └── .gitignore │ │ │ └── working │ │ │ └── working_generator.rb │ ├── metal │ │ ├── multiplemetals │ │ │ └── app │ │ │ │ └── metal │ │ │ │ ├── metal_a.rb │ │ │ │ └── metal_b.rb │ │ ├── pluralmetal │ │ │ └── app │ │ │ │ └── metal │ │ │ │ └── legacy_routes.rb │ │ ├── singlemetal │ │ │ └── app │ │ │ │ └── metal │ │ │ │ └── foo_metal.rb │ │ └── subfolders │ │ │ └── app │ │ │ └── metal │ │ │ └── Folder │ │ │ ├── metal_a.rb │ │ │ └── metal_b.rb │ ├── plugins │ │ ├── alternate │ │ │ └── a │ │ │ │ ├── generators │ │ │ │ └── a_generator │ │ │ │ │ └── a_generator.rb │ │ │ │ └── lib │ │ │ │ └── .gitignore │ │ ├── default │ │ │ ├── acts │ │ │ │ └── acts_as_chunky_bacon │ │ │ │ │ └── lib │ │ │ │ │ └── .gitignore │ │ │ ├── empty │ │ │ │ └── .gitignore │ │ │ ├── gemlike │ │ │ │ ├── init.rb │ │ │ │ ├── lib │ │ │ │ │ └── gemlike.rb │ │ │ │ └── rails │ │ │ │ │ └── init.rb │ │ │ ├── plugin_with_no_lib_dir │ │ │ │ └── init.rb │ │ │ └── stubby │ │ │ │ ├── about.yml │ │ │ │ ├── generators │ │ │ │ └── stubby_generator │ │ │ │ │ └── stubby_generator.rb │ │ │ │ ├── init.rb │ │ │ │ └── lib │ │ │ │ └── stubby_mixin.rb │ │ └── engines │ │ │ └── engine │ │ │ ├── app │ │ │ ├── controllers │ │ │ │ └── engine_controller.rb │ │ │ ├── metal │ │ │ │ └── engine_metal.rb │ │ │ └── models │ │ │ │ └── engine_model.rb │ │ │ ├── config │ │ │ └── routes.rb │ │ │ └── init.rb │ └── public │ │ ├── foo │ │ ├── bar.html │ │ └── index.html │ │ └── index.html │ ├── gem_dependency_test.rb │ ├── generator_lookup_test.rb │ ├── generators │ ├── generator_test_helper.rb │ ├── rails_controller_generator_test.rb │ ├── rails_helper_generator_test.rb │ ├── rails_mailer_generator_test.rb │ ├── rails_model_generator_test.rb │ ├── rails_resource_generator_test.rb │ ├── rails_scaffold_generator_test.rb │ └── rails_template_runner_test.rb │ ├── initializer_test.rb │ ├── metal_test.rb │ ├── mocks │ └── routes.rb │ ├── plugin_loader_test.rb │ ├── plugin_locator_test.rb │ ├── plugin_test.rb │ ├── plugin_test_helper.rb │ ├── rack_static_test.rb │ ├── rails_generator_test.rb │ ├── rails_info_controller_test.rb │ ├── rails_info_test.rb │ ├── secret_key_generation_test.rb │ └── vendor │ └── gems │ ├── dummy-gem-a-0.4.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-a.rb │ ├── dummy-gem-b-0.4.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-b.rb │ ├── dummy-gem-b-0.6.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-b.rb │ ├── dummy-gem-c-0.4.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-c.rb │ ├── dummy-gem-c-0.6.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-c.rb │ ├── dummy-gem-d-1.0.0 │ └── lib │ │ └── dummy-gem-d.rb │ ├── dummy-gem-e-1.0.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-e.rb │ ├── dummy-gem-f-1.0.0 │ ├── .specification │ └── lib │ │ └── dummy-gem-f.rb │ └── dummy-gem-g-1.0.0 │ ├── .specification │ └── lib │ └── dummy-gem-g.rb └── release.rb /.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite3 2 | config/initializers/action_mailer_settings.rb 3 | config/deploy.rb 4 | db/schema.rb 5 | config/database.yml 6 | config/locomotive.yml 7 | config/mongrel_cluster.yml 8 | config/thin.yml 9 | tmp/* 10 | log/* 11 | private/images/* 12 | public/cache/* 13 | .DS_Store 14 | -------------------------------------------------------------------------------- /Capfile: -------------------------------------------------------------------------------- 1 | load 'deploy' if respond_to?(:namespace) # cap2 differentiator 2 | Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } 3 | load 'config/deploy' -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rake/rdoctask' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # Methods added to this helper will be available to all templates in the application. 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /app/helpers/password_resets_helper.rb: -------------------------------------------------------------------------------- 1 | module PasswordResetsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/user_session_helper.rb: -------------------------------------------------------------------------------- 1 | module UserSessionHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/user_sessions_helper.rb: -------------------------------------------------------------------------------- 1 | module UserSessionsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | acts_as_authentic 3 | end 4 | -------------------------------------------------------------------------------- /app/models/user_session.rb: -------------------------------------------------------------------------------- 1 | class UserSession < Authlogic::Session::Base 2 | end -------------------------------------------------------------------------------- /app/views/password_resets/new.html.erb: -------------------------------------------------------------------------------- 1 |

Forgot Password

2 | 3 | Fill out the form below and instructions to reset your password will be emailed to you:
4 |
5 | 6 | <% form_tag password_resets_path do %> 7 |
8 | <%= text_field_tag "email" %>
9 |
10 | <%= submit_tag "Reset my password" %> 11 | <% end %> -------------------------------------------------------------------------------- /app/views/users/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :login %>
2 | <%= form.text_field :login %>
3 |
4 | <%= form.label :password, form.object.new_record? ? nil : "Change password" %>
5 | <%= form.password_field :password %>
6 |
7 | <%= form.label :password_confirmation %>
8 | <%= form.password_field :password_confirmation %>
-------------------------------------------------------------------------------- /app/views/users/edit.html.erb: -------------------------------------------------------------------------------- 1 |

Edit My Account

2 | 3 | <% form_for @user, :url => account_path do |f| %> 4 | <%= f.error_messages %> 5 | <%= render :partial => "form", :object => f %> 6 | <%= f.submit "Update" %> 7 | <% end %> 8 | 9 |
<%= link_to "My Profile", account_path %> 10 | -------------------------------------------------------------------------------- /app/views/users/new.html.erb: -------------------------------------------------------------------------------- 1 |

Register

2 | 3 | <% form_for @user, :url => account_path do |f| %> 4 | <%= f.error_messages %> 5 | <%= render :partial => "form", :object => f %> 6 | <%= f.submit "Register" %> 7 | <% end %> -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- 1 | ActionController::Routing::Routes.draw do |map| 2 | map.resource :account, :controller => "users" 3 | map.resources :users 4 | map.resource :user_session 5 | map.root :controller => "user_sessions", :action => "new" 6 | end 7 | -------------------------------------------------------------------------------- /doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/public/favicon.ico -------------------------------------------------------------------------------- /public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/public/images/rails.png -------------------------------------------------------------------------------- /public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // Place your application-specific JavaScript functions and classes here 2 | // This file is automatically included by javascript_include_tag :defaults 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /script/about: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" 4 | require 'commands/about' -------------------------------------------------------------------------------- /script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' 4 | -------------------------------------------------------------------------------- /script/dbconsole: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/dbconsole' 4 | -------------------------------------------------------------------------------- /script/destroy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/destroy' 4 | -------------------------------------------------------------------------------- /script/generate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/generate' 4 | -------------------------------------------------------------------------------- /script/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /script/performance/profiler: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/profiler' 4 | -------------------------------------------------------------------------------- /script/performance/request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/request' 4 | -------------------------------------------------------------------------------- /script/plugin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/plugin' 4 | -------------------------------------------------------------------------------- /script/process/inspector: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/inspector' 4 | -------------------------------------------------------------------------------- /script/process/reaper: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/reaper' 4 | -------------------------------------------------------------------------------- /script/process/spawner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/spawner' 4 | -------------------------------------------------------------------------------- /script/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' 4 | -------------------------------------------------------------------------------- /script/server: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/server' 4 | -------------------------------------------------------------------------------- /test/fixtures/users.yml: -------------------------------------------------------------------------------- 1 | ben: 2 | login: bjohnson 3 | password_salt: <%= salt = Authlogic::Random.hex_token %> 4 | crypted_password: <%= Authlogic::CryptoProviders::Sha512.encrypt("benrocks" + salt) %> 5 | persistence_token: 6cde0674657a8a313ce952df979de2830309aa4c11ca65805dd00bfdc65dbcc2f5e36718660a1d2e68c1a08c276d996763985d2f06fd3d076eb7bc4d97b1e317 6 | -------------------------------------------------------------------------------- /test/functional/password_resets_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class PasswordResetsControllerTest < ActionController::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /test/unit/user_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UserTest < ActiveSupport::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/utils.rb: -------------------------------------------------------------------------------- 1 | module ActionMailer 2 | module Utils #:nodoc: 3 | def normalize_new_lines(text) 4 | text.to_s.gsub(/\r\n?/, "\n") 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb: -------------------------------------------------------------------------------- 1 | # Prefer gems to the bundled libs. 2 | require 'rubygems' 3 | 4 | begin 5 | gem 'text-format', '>= 0.6.3' 6 | rescue Gem::LoadError 7 | $:.unshift "#{File.dirname(__FILE__)}/text-format-0.6.3" 8 | end 9 | 10 | require 'text/format' 11 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/version' 2 | require 'tmail/mail' 3 | require 'tmail/mailbox' 4 | require 'tmail/core_extensions' 5 | require 'tmail/net' 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb: -------------------------------------------------------------------------------- 1 | #:stopdoc: 2 | # This is here for Rolls. 3 | # Rolls uses this instead of lib/tmail.rb. 4 | 5 | require 'tmail/version' 6 | require 'tmail/mail' 7 | require 'tmail/mailbox' 8 | require 'tmail/core_extensions' 9 | #:startdoc: -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb: -------------------------------------------------------------------------------- 1 | #:stopdoc: 2 | require 'tmail/mailbox' 3 | #:startdoc: -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb: -------------------------------------------------------------------------------- 1 | #:stopdoc: 2 | require 'tmail/version' 3 | require 'tmail/mail' 4 | require 'tmail/mailbox' 5 | require 'tmail/core_extensions' 6 | #:startdoc: -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb: -------------------------------------------------------------------------------- 1 | #:stopdoc: 2 | require 'tmail/mailbox' 3 | #:startdoc: -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb: -------------------------------------------------------------------------------- 1 | # Prefer gems to the bundled libs. 2 | require 'rubygems' 3 | 4 | begin 5 | gem 'tmail', '~> 1.2.3' 6 | rescue Gem::LoadError 7 | $:.unshift "#{File.dirname(__FILE__)}/tmail-1.2.3" 8 | end 9 | 10 | module TMail 11 | end 12 | 13 | require 'tmail' 14 | 15 | silence_warnings do 16 | TMail::Encoder.const_set("MAX_LINE_LEN", 200) 17 | end 18 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/version.rb: -------------------------------------------------------------------------------- 1 | module ActionMailer 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/actionmailer.rb: -------------------------------------------------------------------------------- 1 | require 'action_mailer' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb: -------------------------------------------------------------------------------- 1 | <%= image_tag "somelogo.png" %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb: -------------------------------------------------------------------------------- 1 | Inside -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb: -------------------------------------------------------------------------------- 1 | text/html multipart -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb: -------------------------------------------------------------------------------- 1 | text/plain multipart -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb: -------------------------------------------------------------------------------- 1 | You logged out -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb: -------------------------------------------------------------------------------- 1 | We do not spam -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb: -------------------------------------------------------------------------------- 1 | first mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb: -------------------------------------------------------------------------------- 1 | So, <%= example_format(@text) %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb: -------------------------------------------------------------------------------- 1 | Hello, <%= person_name %>. Thanks for registering! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb: -------------------------------------------------------------------------------- 1 | This message brought to you by <%= name_of_the_mailer_class %>. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb: -------------------------------------------------------------------------------- 1 | From "Romeo and Juliet": 2 | 3 | <%= block_format @text %> 4 | 5 | Good ol' Shakespeare. 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb: -------------------------------------------------------------------------------- 1 | module ExampleHelper 2 | def example_format(text) 3 | "#{text}" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb: -------------------------------------------------------------------------------- 1 | Hello from layout <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb: -------------------------------------------------------------------------------- 1 | text/plain layout - <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb: -------------------------------------------------------------------------------- 1 | Spammer layout <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb: -------------------------------------------------------------------------------- 1 | Have a lovely picture, from me. Enjoy! -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb: -------------------------------------------------------------------------------- 1 | second mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb: -------------------------------------------------------------------------------- 1 | let's go! -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb: -------------------------------------------------------------------------------- 1 | body: <%= @body %> 2 | bar: <%= @bar %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml: -------------------------------------------------------------------------------- 1 | %p Hello there, 2 | 3 | %p 4 | Mr. 5 | = @recipient 6 | from haml -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml: -------------------------------------------------------------------------------- 1 | %p Hello there, 2 | 3 | %p 4 | Mr. 5 | = @recipient 6 | from haml -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb: -------------------------------------------------------------------------------- 1 | Ignored when searching for implicitly multipart parts. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak: -------------------------------------------------------------------------------- 1 | Ignored when searching for implicitly multipart parts. 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | HTML formatted message to <%= @recipient %>. 4 | 5 | 6 | 7 | 8 | HTML formatted message to <%= @recipient %>. 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb~: -------------------------------------------------------------------------------- 1 | 2 | 3 | HTML formatted message to <%= @recipient %>. 4 | 5 | 6 | 7 | 8 | HTML formatted message to <%= @recipient %>. 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb: -------------------------------------------------------------------------------- 1 | Plain text to <%= @recipient %>. 2 | Plain text to <%= @recipient %>. 3 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb: -------------------------------------------------------------------------------- 1 | yaml to: <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb: -------------------------------------------------------------------------------- 1 | Hey Ho, <%= render :partial => "subtemplate" %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.html.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %>. Please see our greeting at <%= @welcome_url %> <%= welcome_url %> 4 | 5 | <%= image_tag "somelogo.png" %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/reloader.rb: -------------------------------------------------------------------------------- 1 | module ActionController 2 | class Reloader 3 | def initialize(app) 4 | @app = app 5 | end 6 | 7 | def call(env) 8 | Dispatcher.reload_application 9 | @app.call(env) 10 | ensure 11 | Dispatcher.cleanup_application 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb: -------------------------------------------------------------------------------- 1 |

Template is missing

2 |

<%=h @exception.message %>

3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb: -------------------------------------------------------------------------------- 1 |

Unknown action

2 |

<%=h @exception.message %>

3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/translation.rb: -------------------------------------------------------------------------------- 1 | module ActionController 2 | module Translation 3 | def translate(*args) 4 | I18n.translate *args 5 | end 6 | alias :t :translate 7 | 8 | def localize(*args) 9 | I18n.localize *args 10 | end 11 | alias :l :localize 12 | end 13 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb: -------------------------------------------------------------------------------- 1 | module HTML #:nodoc: 2 | module Version #:nodoc: 3 | 4 | MAJOR = 0 5 | MINOR = 5 6 | TINY = 3 7 | 8 | STRING = [ MAJOR, MINOR, TINY ].join(".") 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/evented_mongrel.rb: -------------------------------------------------------------------------------- 1 | require 'swiftcore/evented_mongrel' 2 | 3 | module Rack 4 | module Handler 5 | class EventedMongrel < Handler::Mongrel 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/swiftiplied_mongrel.rb: -------------------------------------------------------------------------------- 1 | require 'swiftcore/swiftiplied_mongrel' 2 | 3 | module Rack 4 | module Handler 5 | class SwiftipliedMongrel < Handler::Mongrel 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/head.rb: -------------------------------------------------------------------------------- 1 | module Rack 2 | 3 | class Head 4 | def initialize(app) 5 | @app = app 6 | end 7 | 8 | def call(env) 9 | status, headers, body = @app.call(env) 10 | 11 | if env["REQUEST_METHOD"] == "HEAD" 12 | [status, headers, []] 13 | else 14 | [status, headers, body] 15 | end 16 | end 17 | end 18 | 19 | end 20 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_pack/version.rb: -------------------------------------------------------------------------------- 1 | module ActionPack #:nodoc: 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/actionpack.rb: -------------------------------------------------------------------------------- 1 | require 'action_pack' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/fake_models.rb: -------------------------------------------------------------------------------- 1 | class Customer < Struct.new(:name, :id) 2 | def to_param 3 | id.to_s 4 | end 5 | end 6 | 7 | class BadCustomer < Customer 8 | end 9 | 10 | class GoodCustomer < Customer 11 | end 12 | 13 | module Quiz 14 | class Question < Struct.new(:name, :id) 15 | def to_param 16 | id.to_s 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb: -------------------------------------------------------------------------------- 1 | top level partial html -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb: -------------------------------------------------------------------------------- 1 | top level partial -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/addresses/list.erb: -------------------------------------------------------------------------------- 1 | We only need to get this far! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb: -------------------------------------------------------------------------------- 1 | module FooHelper 2 | def baz() end 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/companies.yml: -------------------------------------------------------------------------------- 1 | thirty_seven_signals: 2 | id: 1 3 | name: 37Signals 4 | rating: 4 5 | 6 | TextDrive: 7 | id: 2 8 | name: TextDrive 9 | rating: 4 10 | 11 | PlanetArgon: 12 | id: 3 13 | name: Planet Argon 14 | rating: 4 15 | 16 | Google: 17 | id: 4 18 | name: Google 19 | rating: 4 20 | 21 | Ionist: 22 | id: 5 23 | name: Ioni.st 24 | rating: 4 -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/company.rb: -------------------------------------------------------------------------------- 1 | class Company < ActiveRecord::Base 2 | has_one :mascot 3 | attr_protected :rating 4 | set_sequence_name :companies_nonstd_seq 5 | 6 | validates_presence_of :name 7 | def validate 8 | errors.add('rating', 'rating should not be 2') if rating == 2 9 | end 10 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml: -------------------------------------------------------------------------------- 1 | world -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml: -------------------------------------------------------------------------------- 1 | <%= 'hello world!' %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs: -------------------------------------------------------------------------------- 1 | page.alert 'hello world!' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developer.rb: -------------------------------------------------------------------------------- 1 | class Developer < ActiveRecord::Base 2 | has_and_belongs_to_many :projects 3 | has_many :replies 4 | has_many :topics, :through => :replies 5 | end 6 | 7 | class DeVeLoPeR < ActiveRecord::Base 8 | set_table_name "developers" 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | salary: 80000 5 | 6 | jamis: 7 | id: 2 8 | name: Jamis 9 | salary: 150000 10 | 11 | <% for digit in 3..10 %> 12 | dev_<%= digit %>: 13 | id: <%= digit %> 14 | name: fixture_<%= digit %> 15 | salary: 100000 16 | <% end %> 17 | 18 | poor_jamis: 19 | id: 11 20 | name: Jamis 21 | salary: 9000 -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developers/_developer.erb: -------------------------------------------------------------------------------- 1 | <%= developer.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- 1 | david_action_controller: 2 | developer_id: 1 3 | project_id: 2 4 | joined_on: 2004-10-10 5 | 6 | david_active_record: 7 | developer_id: 1 8 | project_id: 1 9 | joined_on: 2004-10-10 10 | 11 | jamis_active_record: 12 | developer_id: 2 13 | project_id: 1 -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/fun/games/_game.erb: -------------------------------------------------------------------------------- 1 | <%= game.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb: -------------------------------------------------------------------------------- 1 | Living in a nested world -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb: -------------------------------------------------------------------------------- 1 | <%= game.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb: -------------------------------------------------------------------------------- 1 | <% cache do %> 2 | Fragment caching in a partial 3 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | 2 | <% cache do %>

ERB

<% end %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs: -------------------------------------------------------------------------------- 1 | page.assign 'title', 'Hey' 2 | cache do 3 | page['element_1'].visual_effect :highlight 4 | page['element_2'].visual_effect :highlight 5 | end 6 | page.assign 'footer', 'Bye' 7 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder: -------------------------------------------------------------------------------- 1 | xml.body do 2 | cache do 3 | xml.p "Builder" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | Hello 2 | <% cache do %>This bit's fragment cached<% end %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :partial => 'partial' %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :inline => 'Some inline content' %> 2 | <% cache do %>Some cached content<% end %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs: -------------------------------------------------------------------------------- 1 | page.replace_html 'notices', :partial => 'partial' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb: -------------------------------------------------------------------------------- 1 | module AbcHelper 2 | def bare_a() end 3 | def bare_b() end 4 | def bare_c() end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb: -------------------------------------------------------------------------------- 1 | module Fun::GamesHelper 2 | def stratego() "Iz guuut!" end 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb: -------------------------------------------------------------------------------- 1 | module Fun::PdfHelper 2 | def foobar() 'baz' end 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml: -------------------------------------------------------------------------------- 1 | alt/hello.rhtml 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml: -------------------------------------------------------------------------------- 1 | controller_name_space/nested.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml: -------------------------------------------------------------------------------- 1 | item.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml: -------------------------------------------------------------------------------- 1 | layout_test.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb: -------------------------------------------------------------------------------- 1 | multiple_extensions.html.erb <%= yield %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/symlinked: -------------------------------------------------------------------------------- 1 | ../../symlink_parent -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab: -------------------------------------------------------------------------------- 1 | Mab -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml: -------------------------------------------------------------------------------- 1 | hello.rhtml -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield :column %>
2 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb: -------------------------------------------------------------------------------- 1 | <% render(:layout => "layout_for_partial", :locals => { :name => "Anthony" }) do %>Inside from first block in layout<% end %> 2 | <%= yield %> 3 | <% render(:layout => "layout_for_partial", :locals => { :name => "Ramm" }) do %>Inside from second block in layout<% end %> 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/builder.builder: -------------------------------------------------------------------------------- 1 | xml.wrapper do 2 | xml << @content_for_layout 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb: -------------------------------------------------------------------------------- 1 | <%= @content_for_layout %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb: -------------------------------------------------------------------------------- 1 | <%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %> 2 | <%= yield %> 3 | <%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/standard.erb: -------------------------------------------------------------------------------- 1 | <%= @content_for_layout %><%= @variable_for_layout %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb: -------------------------------------------------------------------------------- 1 | <%= @title || @content_for_title %> 2 | <%= @content_for_layout -%> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb: -------------------------------------------------------------------------------- 1 | XHR! 2 | <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/yield.erb: -------------------------------------------------------------------------------- 1 | <%= yield :title %> 2 | <%= yield %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/mascot.rb: -------------------------------------------------------------------------------- 1 | class Mascot < ActiveRecord::Base 2 | belongs_to :company 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/mascots.yml: -------------------------------------------------------------------------------- 1 | upload_bird: 2 | id: 1 3 | company_id: 1 4 | name: The Upload Bird -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb: -------------------------------------------------------------------------------- 1 | <%= mascot.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/binary_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/fixtures/multipart/binary_file -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/bracketed_param: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo[baz]" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/empty: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="submit-name" 3 | 4 | Larry 5 | --AaB03x 6 | Content-Disposition: form-data; name="files"; filename="file1.txt" 7 | Content-Type: text/plain 8 | 9 | 10 | --AaB03x-- 11 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/hello.txt: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mixed_files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/fixtures/multipart/mixed_files -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/none: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="submit-name" 3 | 4 | Larry 5 | --AaB03x 6 | Content-Disposition: form-data; name="files"; filename="" 7 | 8 | 9 | --AaB03x-- 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/single_parameter: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/text_file: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x 6 | Content-Disposition: form-data; name="file"; filename="file.txt" 7 | Content-Type: text/plain 8 | 9 | contents 10 | --AaB03x-- 11 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello overridden world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb: -------------------------------------------------------------------------------- 1 | layout: <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb: -------------------------------------------------------------------------------- 1 | Hello Firefox -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb: -------------------------------------------------------------------------------- 1 | Super Firefox -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb: -------------------------------------------------------------------------------- 1 | Super iPhone -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/project.rb: -------------------------------------------------------------------------------- 1 | class Project < ActiveRecord::Base 2 | has_and_belongs_to_many :developers, :uniq => true 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/projects/_project.erb: -------------------------------------------------------------------------------- 1 | <%= project.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/404.html: -------------------------------------------------------------------------------- 1 | 404 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/500.da.html: -------------------------------------------------------------------------------- 1 | 500 localized error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/500.html: -------------------------------------------------------------------------------- 1 | 500 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/actionpack/test/fixtures/public/images/rails.png -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // application js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js: -------------------------------------------------------------------------------- 1 | // bank js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js: -------------------------------------------------------------------------------- 1 | // controls js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js: -------------------------------------------------------------------------------- 1 | // dragdrop js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js: -------------------------------------------------------------------------------- 1 | // effects js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js: -------------------------------------------------------------------------------- 1 | // prototype js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js: -------------------------------------------------------------------------------- 1 | // robber js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js: -------------------------------------------------------------------------------- 1 | // subdir js 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js: -------------------------------------------------------------------------------- 1 | // version.1.0 js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css: -------------------------------------------------------------------------------- 1 | /* bank.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css: -------------------------------------------------------------------------------- 1 | /* robber.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css: -------------------------------------------------------------------------------- 1 | /* subdir.css */ 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css: -------------------------------------------------------------------------------- 1 | /* version.1.0.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb: -------------------------------------------------------------------------------- 1 | <%= question.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/replies.yml: -------------------------------------------------------------------------------- 1 | witty_retort: 2 | id: 1 3 | topic_id: 1 4 | developer_id: 1 5 | content: Birdman is better! 6 | created_at: <%= 6.hours.ago.to_s(:db) %> 7 | updated_at: nil 8 | 9 | another: 10 | id: 2 11 | topic_id: 2 12 | developer_id: 1 13 | content: Nuh uh! 14 | created_at: <%= 1.hour.ago.to_s(:db) %> 15 | updated_at: nil 16 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/replies/_reply.erb: -------------------------------------------------------------------------------- 1 | <%= reply.content %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/reply.rb: -------------------------------------------------------------------------------- 1 | class Reply < ActiveRecord::Base 2 | named_scope :base 3 | belongs_to :topic, :include => [:replies] 4 | belongs_to :developer 5 | 6 | validates_presence_of :content 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | HTML for all_types_with_layout -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs: -------------------------------------------------------------------------------- 1 | page << "RJS for all_types_with_layout" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb: -------------------------------------------------------------------------------- 1 | Mobile -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb: -------------------------------------------------------------------------------- 1 | Hello future from <%= @type -%>! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb: -------------------------------------------------------------------------------- 1 | Hello iPhone future from <%= @type -%>! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb: -------------------------------------------------------------------------------- 1 |
<%= yield %>
-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb: -------------------------------------------------------------------------------- 1 |

Beautiful modules!

-------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/shared.html.erb: -------------------------------------------------------------------------------- 1 | Elastica -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb: -------------------------------------------------------------------------------- 1 | This is my layout 2 | 3 | <%= yield %> 4 | 5 | End. 6 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_counter.html.erb: -------------------------------------------------------------------------------- 1 | <%= counter_counter %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name rescue "Anonymous" %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb: -------------------------------------------------------------------------------- 1 | <%= customer_counter.name %><%= customer_counter_counter %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= customer_greeting.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb: -------------------------------------------------------------------------------- 1 | <%= customer.name %> <%= object.name %> <%= customer_with_var.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb: -------------------------------------------------------------------------------- 1 | <%= greeting %>: <%= hash_greeting[:first_name] %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hash_object.erb: -------------------------------------------------------------------------------- 1 | <%= hash_object[:first_name] %> 2 | <%= object[:first_name].reverse %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hello.builder: -------------------------------------------------------------------------------- 1 | xm.hello -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb: -------------------------------------------------------------------------------- 1 | <%= labelling_form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb: -------------------------------------------------------------------------------- 1 | Before 2 | <%= yield 'arg1', 'arg2' %> 3 | After -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb: -------------------------------------------------------------------------------- 1 | Before (<%= name %>) 2 | <%= yield %> 3 | After -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb: -------------------------------------------------------------------------------- 1 | <%= local_assigns.keys.map(&:to_s).sort.join(",") -%> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_one.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :partial => "two" %> world 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb: -------------------------------------------------------------------------------- 1 | Inside from partial (<%= name %>) -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_only.erb: -------------------------------------------------------------------------------- 1 | only partial -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb: -------------------------------------------------------------------------------- 1 | partial with only html version -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_person.erb: -------------------------------------------------------------------------------- 1 | Second: <%= name %> 2 | Third: <%= @name %> 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_raise.html.erb: -------------------------------------------------------------------------------- 1 | <%= doesnt_exist %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_two.html.erb: -------------------------------------------------------------------------------- 1 | Hello -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb: -------------------------------------------------------------------------------- 1 | <% @title = "Talking to the layout" -%> 2 | Action was here! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb: -------------------------------------------------------------------------------- 1 | <%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/capturing.erb: -------------------------------------------------------------------------------- 1 | <% days = capture do %> 2 | Dreamy days 3 | <% end %> 4 | <%= days %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title do %>Putting stuff in the title!<% end %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff " 2 | content_for :title, "in the title!" %> 3 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "Putting stuff in the title!" %> 2 | Great stuff! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs: -------------------------------------------------------------------------------- 1 | page.remove 'person' 2 | page.visual_effect :highlight, "project-#{@project_id}" 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/dont_pick_me: -------------------------------------------------------------------------------- 1 | non-template file -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs: -------------------------------------------------------------------------------- 1 | page.select('.product').each do |value| 2 | page.visual_effect :highlight 3 | page.visual_effect :highlight, value 4 | page.sortable(value, :url => { :action => "order" }) 5 | page.draggable(value) 6 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb: -------------------------------------------------------------------------------- 1 | formatted html erb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder: -------------------------------------------------------------------------------- 1 | xml.test 'failed' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb: -------------------------------------------------------------------------------- 1 | passed formatted html erb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb: -------------------------------------------------------------------------------- 1 | passed formatted xml erb -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.erb: -------------------------------------------------------------------------------- 1 |

This is grand!

2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello #{@name}" 3 | xml << render(:file => "test/greeting") 4 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb: -------------------------------------------------------------------------------- 1 | Hey verden -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.erb~: -------------------------------------------------------------------------------- 1 | Don't pick me! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb: -------------------------------------------------------------------------------- 1 | Ola mundo -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder: -------------------------------------------------------------------------------- 1 | xml.test do 2 | render :partial => 'hello', :locals => { :xm => xml } 3 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.p "Hello" 3 | end 4 | "String return value" 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder: -------------------------------------------------------------------------------- 1 | xml.html do 2 | xml.head do 3 | xml.title "Hello World" 4 | end 5 | 6 | xml.body do 7 | xml.p "abes" 8 | xml.p "monks" 9 | xml.p "wiseguys" 10 | end 11 | end -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb: -------------------------------------------------------------------------------- 1 | Hello world! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder: -------------------------------------------------------------------------------- 1 | xml.atom do 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/list.erb: -------------------------------------------------------------------------------- 1 | <%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/malformed/malformed.en.html.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/malformed/malformed.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/malformed/malformed.html.erb~: -------------------------------------------------------------------------------- 1 | Don't render me! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/nested_layout.erb: -------------------------------------------------------------------------------- 1 | <% content_for :title, "title" -%> 2 | <% content_for :column do -%>column<% end -%> 3 | <% render :layout => 'layouts/column' do -%>content<% end -%> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder: -------------------------------------------------------------------------------- 1 | content_for :title do 2 | 'Putting stuff in the title!' 3 | end 4 | xml << "\nGreat stuff!" 5 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb: -------------------------------------------------------------------------------- 1 | First: <%= @name %> 2 | <%= render :partial => "person", :locals => { :name => "Stephan" } -%> 3 | Fourth: <%= @name %> 4 | Fifth: <%= name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs: -------------------------------------------------------------------------------- 1 | page.call "document.write", render(:partial => "one.html.erb") 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :file => @path %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= @secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb: -------------------------------------------------------------------------------- 1 | The secret is <%= secret %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs: -------------------------------------------------------------------------------- 1 | page.call "document.write", render(:partial => "one") 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb: -------------------------------------------------------------------------------- 1 | Hey HTML! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb: -------------------------------------------------------------------------------- 1 | Hello HTML! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb: -------------------------------------------------------------------------------- 1 | alert('hello'); 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb: -------------------------------------------------------------------------------- 1 | The value of foo is: ::<%= @foo %>:: 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb: -------------------------------------------------------------------------------- 1 | <%= render :partial => "test/raise" %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/template.erb: -------------------------------------------------------------------------------- 1 | <%= template.path %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb: -------------------------------------------------------------------------------- 1 | <% replacement_function = update_element_function("products", :action => :update) do %> 2 |

Product 1

3 |

Product 2

4 | <% end %> 5 | <%= javascript_tag(replacement_function) %> 6 | 7 | <% update_element_function("status", :action => :update, :binding => binding) do %> 8 | You bought something! 9 | <% end %> 10 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb: -------------------------------------------------------------------------------- 1 | <% render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb: -------------------------------------------------------------------------------- 1 | <% render(:layout => "layout_for_block_with_args") do |*args| %><%= args.join %><% end %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/utf8.html.erb: -------------------------------------------------------------------------------- 1 | Русский текст 2 | 日本語のテキスト -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/topic.rb: -------------------------------------------------------------------------------- 1 | class Topic < ActiveRecord::Base 2 | has_many :replies, :dependent => :destroy 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb: -------------------------------------------------------------------------------- 1 | <%= topic.title %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/testing_sandbox.rb: -------------------------------------------------------------------------------- 1 | module TestingSandbox 2 | # Temporarily replaces KCODE for the block 3 | def with_kcode(kcode) 4 | if RUBY_VERSION < '1.9' 5 | old_kcode, $KCODE = $KCODE, kcode 6 | begin 7 | yield 8 | ensure 9 | $KCODE = old_kcode 10 | end 11 | else 12 | yield 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/view/test_case_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class TestCaseTest < ActionView::TestCase 4 | def test_should_have_current_url 5 | controller = TestController.new 6 | assert_nothing_raised(NoMethodError){ controller.url_for({:controller => "foo", :action => "index"}) } 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activemodel/CHANGES: -------------------------------------------------------------------------------- 1 | Changes from extracting bits to ActiveModel 2 | 3 | * ActiveModel::Observer#add_observer! 4 | 5 | It has a custom hook to define after_find that should really be in a 6 | ActiveRecord::Observer subclass: 7 | 8 | def add_observer!(klass) 9 | klass.add_observer(self) 10 | klass.class_eval 'def after_find() end' unless 11 | klass.respond_to?(:after_find) 12 | end -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model.rb: -------------------------------------------------------------------------------- 1 | require 'active_model/observing' 2 | # disabled until they're tested 3 | # require 'active_model/callbacks' 4 | # require 'active_model/validations' 5 | require 'active_model/base' -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model/base.rb: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | class Base 3 | include Observing 4 | # disabled, until they're tested 5 | # include Callbacks 6 | # include Validations 7 | end 8 | end -------------------------------------------------------------------------------- /vendor/rails/activemodel/lib/active_model/callbacks.rb: -------------------------------------------------------------------------------- 1 | require 'active_model/core' 2 | 3 | module ActiveModel 4 | module Callbacks 5 | 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/examples/associations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activerecord/examples/associations.png -------------------------------------------------------------------------------- /vendor/rails/activerecord/lib/active_record/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveRecord 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/lib/activerecord.rb: -------------------------------------------------------------------------------- 1 | require 'active_record' 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/assets/example.log: -------------------------------------------------------------------------------- 1 | # Logfile created on Wed Oct 31 16:05:13 +0000 2007 by logger.rb/1.5.2.9 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/assets/flowers.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activerecord/test/assets/flowers.jpg -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/cases/connection_test_firebird.rb: -------------------------------------------------------------------------------- 1 | require "cases/helper" 2 | 3 | class FirebirdConnectionTest < ActiveRecord::TestCase 4 | def test_charset_properly_set 5 | fb_conn = ActiveRecord::Base.connection.instance_variable_get(:@connection) 6 | assert_equal 'UTF8', fb_conn.database.character_set 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/config.rb: -------------------------------------------------------------------------------- 1 | TEST_ROOT = File.expand_path(File.dirname(__FILE__)) 2 | ASSETS_ROOT = TEST_ROOT + "/assets" 3 | FIXTURES_ROOT = TEST_ROOT + "/fixtures" 4 | MIGRATIONS_ROOT = TEST_ROOT + "/migrations" 5 | SCHEMA_ROOT = TEST_ROOT + "/schema" 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/developers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activerecord/test/fixtures/all/developers.yml -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/people.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activerecord/test/fixtures/all/people.csv -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/tasks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activerecord/test/fixtures/all/tasks.yml -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/author_addresses.yml: -------------------------------------------------------------------------------- 1 | david_address: 2 | id: 1 3 | 4 | david_address_extra: 5 | id: 2 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/author_favorites.yml: -------------------------------------------------------------------------------- 1 | david_mary: 2 | id: 1 3 | author_id: 1 4 | favorite_author_id: 2 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/authors.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | author_address_id: 1 5 | author_address_extra_id: 2 6 | 7 | mary: 8 | id: 2 9 | name: Mary 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/books.yml: -------------------------------------------------------------------------------- 1 | awdr: 2 | id: 1 3 | name: "Agile Web Development with Rails" 4 | 5 | rfr: 6 | id: 2 7 | name: "Ruby for Rails" 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories.yml: -------------------------------------------------------------------------------- 1 | general: 2 | id: 1 3 | name: General 4 | type: Category 5 | 6 | technology: 7 | id: 2 8 | name: Technology 9 | type: Category 10 | 11 | sti_test: 12 | id: 3 13 | name: Special category 14 | type: SpecialCategory 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories/special_categories.yml: -------------------------------------------------------------------------------- 1 | sub_special_1: 2 | id: 100 3 | name: A special category in a subdir file 4 | type: SpecialCategory 5 | 6 | sub_special_2: 7 | id: 101 8 | name: Another special category 9 | type: SpecialCategory 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml: -------------------------------------------------------------------------------- 1 | sub_special_3: 2 | id: 102 3 | name: A special category in an arbitrarily named subsubdir file 4 | type: SpecialCategory 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categories_ordered.yml: -------------------------------------------------------------------------------- 1 | --- !!omap 2 | <% 100.times do |i| %> 3 | - fixture_no_<%= i %>: 4 | id: <%= i %> 5 | name: <%= "Category #{i}" %> 6 | type: Category 7 | <% end %> 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/categorizations.yml: -------------------------------------------------------------------------------- 1 | david_welcome_general: 2 | id: 1 3 | author_id: 1 4 | post_id: 1 5 | category_id: 1 6 | 7 | mary_thinking_sti: 8 | id: 2 9 | author_id: 2 10 | post_id: 2 11 | category_id: 3 12 | 13 | mary_thinking_general: 14 | id: 3 15 | author_id: 2 16 | post_id: 2 17 | category_id: 1 18 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/clubs.yml: -------------------------------------------------------------------------------- 1 | boring_club: 2 | name: Banana appreciation society 3 | moustache_club: 4 | name: Moustache and Eyebrow Fancier Club 5 | crazy_club: 6 | name: Skull and bones -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/computers.yml: -------------------------------------------------------------------------------- 1 | workstation: 2 | id: 1 3 | developer: 1 4 | extendedWarranty: 1 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/courses.yml: -------------------------------------------------------------------------------- 1 | ruby: 2 | id: 1 3 | name: Ruby Development 4 | 5 | java: 6 | id: 2 7 | name: Java Development 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/developers.yml: -------------------------------------------------------------------------------- 1 | david: 2 | id: 1 3 | name: David 4 | salary: 80000 5 | 6 | jamis: 7 | id: 2 8 | name: Jamis 9 | salary: 150000 10 | 11 | <% for digit in 3..10 %> 12 | dev_<%= digit %>: 13 | id: <%= digit %> 14 | name: fixture_<%= digit %> 15 | salary: 100000 16 | <% end %> 17 | 18 | poor_jamis: 19 | id: 11 20 | name: Jamis 21 | salary: 9000 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/developers_projects.yml: -------------------------------------------------------------------------------- 1 | david_action_controller: 2 | developer_id: 1 3 | project_id: 2 4 | joined_on: 2004-10-10 5 | 6 | david_active_record: 7 | developer_id: 1 8 | project_id: 1 9 | joined_on: 2004-10-10 10 | 11 | jamis_active_record: 12 | developer_id: 2 13 | project_id: 1 14 | 15 | poor_jamis_active_record: 16 | developer_id: 11 17 | project_id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/edges.yml: -------------------------------------------------------------------------------- 1 | <% (1..4).each do |id| %> 2 | edge_<%= id %>: 3 | id: <%= id %> 4 | source_id: <%= id %> 5 | sink_id: <%= id + 1 %> 6 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/entrants.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | course_id: 1 4 | name: Ruby Developer 5 | 6 | second: 7 | id: 2 8 | course_id: 1 9 | name: Ruby Guru 10 | 11 | third: 12 | id: 3 13 | course_id: 2 14 | name: Java Lover 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | fk_id: 1 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/funny_jokes.yml: -------------------------------------------------------------------------------- 1 | a_joke: 2 | id: 1 3 | name: Knock knock 4 | 5 | another_joke: 6 | id: 2 7 | name: | 8 | The \n Aristocrats 9 | Ate the candy 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/items.yml: -------------------------------------------------------------------------------- 1 | dvd: 2 | id: 1 3 | name: Godfather 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/jobs.yml: -------------------------------------------------------------------------------- 1 | unicyclist: 2 | id: 1 3 | ideal_reference_id: 2 4 | clown: 5 | id: 2 6 | magician: 7 | id: 3 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/legacy_things.yml: -------------------------------------------------------------------------------- 1 | obtuse: 2 | id: 1 3 | tps_report_number: 500 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/mateys.yml: -------------------------------------------------------------------------------- 1 | blackbeard_to_redbeard: 2 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 3 | target_id: <%= Fixtures.identify(:redbeard) %> 4 | weight: 10 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/member_types.yml: -------------------------------------------------------------------------------- 1 | founding: 2 | id: 1 3 | name: Founding 4 | provisional: 5 | id: 2 6 | name: Provisional 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/members.yml: -------------------------------------------------------------------------------- 1 | groucho: 2 | name: Groucho Marx 3 | member_type_id: 1 4 | some_other_guy: 5 | name: Englebert Humperdink 6 | member_type_id: 2 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/minimalistics.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml: -------------------------------------------------------------------------------- 1 | first: 2 | monkeyID: 1 3 | fleaCount: 42 4 | second: 5 | monkeyID: 2 6 | fleaCount: 43 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/movies.yml: -------------------------------------------------------------------------------- 1 | first: 2 | movieid: 1 3 | name: Terminator 4 | 5 | second: 6 | movieid: 2 7 | name: Gladiator 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml: -------------------------------------------------------------------------------- 1 | # i wonder what will happen here 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml: -------------------------------------------------------------------------------- 1 | qwerty 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/organizations.yml: -------------------------------------------------------------------------------- 1 | nsa: 2 | name: No Such Agency 3 | discordians: 4 | name: Discordians 5 | 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/owners.yml: -------------------------------------------------------------------------------- 1 | blackbeard: 2 | owner_id: 1 3 | name: blackbeard 4 | 5 | ashley: 6 | owner_id: 2 7 | name: ashley 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/parrots_pirates.yml: -------------------------------------------------------------------------------- 1 | george_blackbeard: 2 | parrot_id: <%= Fixtures.identify(:george) %> 3 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 4 | 5 | louis_blackbeard: 6 | parrot_id: <%= Fixtures.identify(:louis) %> 7 | pirate_id: <%= Fixtures.identify(:blackbeard) %> 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/people.yml: -------------------------------------------------------------------------------- 1 | michael: 2 | id: 1 3 | first_name: Michael 4 | primary_contact_id: 2 5 | gender: M 6 | david: 7 | id: 2 8 | first_name: David 9 | primary_contact_id: 3 10 | gender: M 11 | susan: 12 | id: 3 13 | first_name: Susan 14 | primary_contact_id: 2 15 | gender: F -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/pets.yml: -------------------------------------------------------------------------------- 1 | parrot: 2 | pet_id: 1 3 | name: parrot 4 | owner_id: 1 5 | 6 | chew: 7 | pet_id: 2 8 | name: chew 9 | owner_id: 2 10 | 11 | mochi: 12 | pet_id: 3 13 | name: mochi 14 | owner_id: 2 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/pirates.yml: -------------------------------------------------------------------------------- 1 | blackbeard: 2 | catchphrase: "Yar." 3 | parrot: george 4 | 5 | redbeard: 6 | catchphrase: "Avast!" 7 | parrot: louis 8 | created_on: <%= 2.weeks.ago.to_s(:db) %> 9 | updated_on: <%= 2.weeks.ago.to_s(:db) %> 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/price_estimates.yml: -------------------------------------------------------------------------------- 1 | saphire_1: 2 | price: 10 3 | estimate_of: sapphire (Treasure) 4 | 5 | sapphire_2: 6 | price: 20 7 | estimate_of: sapphire (Treasure) 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/projects.yml: -------------------------------------------------------------------------------- 1 | action_controller: 2 | id: 2 3 | name: Active Controller 4 | 5 | active_record: 6 | id: 1 7 | name: Active Record 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/readers.yml: -------------------------------------------------------------------------------- 1 | michael_welcome: 2 | id: 1 3 | post_id: 1 4 | person_id: 1 5 | 6 | michael_authorless: 7 | id: 2 8 | post_id: 3 9 | person_id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/references.yml: -------------------------------------------------------------------------------- 1 | michael_magician: 2 | id: 1 3 | person_id: 1 4 | job_id: 3 5 | favourite: false 6 | 7 | michael_unicyclist: 8 | id: 2 9 | person_id: 1 10 | job_id: 1 11 | favourite: true 12 | 13 | david_unicyclist: 14 | id: 3 15 | person_id: 2 16 | job_id: 1 17 | favourite: false 18 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml: -------------------------------------------------------------------------------- 1 | distinct1: 2 | id: 1 3 | 4 | distinct2: 5 | id: 2 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml: -------------------------------------------------------------------------------- 1 | distincts_selects1: 2 | distinct_id: 1 3 | select_id: 1 4 | 5 | distincts_selects2: 6 | distinct_id: 1 7 | select_id: 2 8 | 9 | distincts_selects3: 10 | distinct_id: 2 11 | select_id: 3 12 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/group.yml: -------------------------------------------------------------------------------- 1 | group1: 2 | id: 1 3 | select_id: 1 4 | order: x 5 | 6 | group2: 7 | id: 2 8 | select_id: 2 9 | order: y 10 | 11 | group3: 12 | id: 3 13 | select_id: 2 14 | order: z 15 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/select.yml: -------------------------------------------------------------------------------- 1 | select1: 2 | id: 1 3 | 4 | select2: 5 | id: 2 6 | 7 | select3: 8 | id: 3 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/reserved_words/values.yml: -------------------------------------------------------------------------------- 1 | values1: 2 | id: 1 3 | group_id: 2 4 | 5 | values2: 6 | id: 2 7 | group_id: 1 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/ships.yml: -------------------------------------------------------------------------------- 1 | black_pearl: 2 | name: "Black Pearl" 3 | interceptor: 4 | id: 2 5 | name: "Interceptor" 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/sponsors.yml: -------------------------------------------------------------------------------- 1 | moustache_club_sponsor_for_groucho: 2 | sponsor_club: moustache_club 3 | sponsorable: groucho (Member) 4 | boring_club_sponsor_for_groucho: 5 | sponsor_club: boring_club 6 | sponsorable: some_other_guy (Member) 7 | crazy_club_sponsor_for_groucho: 8 | sponsor_club: crazy_club 9 | sponsorable: some_other_guy (Member) -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/subscribers.yml: -------------------------------------------------------------------------------- 1 | first: 2 | nick: alterself 3 | name: Luke Holden 4 | 5 | second: 6 | nick: webster132 7 | name: David Heinemeier Hansson 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/subscriptions.yml: -------------------------------------------------------------------------------- 1 | webster_awdr: 2 | id: 1 3 | subscriber_id: webster132 4 | book_id: 1 5 | webster_rfr: 6 | id: 2 7 | subscriber_id: webster132 8 | book_id: 2 9 | alterself_awdr: 10 | id: 3 11 | subscriber_id: alterself 12 | book_id: 3 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/tags.yml: -------------------------------------------------------------------------------- 1 | general: 2 | id: 1 3 | name: General 4 | 5 | misc: 6 | id: 2 7 | name: Misc -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/tasks.yml: -------------------------------------------------------------------------------- 1 | # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html 2 | first_task: 3 | id: 1 4 | starting: 2005-03-30t06:30:00.00+01:00 5 | ending: 2005-03-30t08:30:00.00+01:00 6 | another_task: 7 | id: 2 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/toys.yml: -------------------------------------------------------------------------------- 1 | bone: 2 | toy_id: 1 3 | name: Bone 4 | pet_id: 1 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/treasures.yml: -------------------------------------------------------------------------------- 1 | diamond: 2 | name: $LABEL 3 | 4 | sapphire: 5 | name: $LABEL 6 | looter: redbeard (Pirate) 7 | 8 | ruby: 9 | name: $LABEL 10 | looter: louis (Parrot) 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/vertices.yml: -------------------------------------------------------------------------------- 1 | <% (1..5).each do |id| %> 2 | vertex_<%= id %>: 3 | id: <%= id %> 4 | <% end %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/warehouse-things.yml: -------------------------------------------------------------------------------- 1 | one: 2 | id: 1 3 | value: 1000 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb: -------------------------------------------------------------------------------- 1 | class MigrationThatRaisesException < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | raise 'Something broke' 5 | end 6 | 7 | def self.down 8 | remove_column "people", "last_name" 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb: -------------------------------------------------------------------------------- 1 | class Foo < ActiveRecord::Migration 2 | def self.up 3 | end 4 | 5 | def self.down 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb: -------------------------------------------------------------------------------- 1 | class Chunky < ActiveRecord::Migration 2 | def self.up 3 | end 4 | 5 | def self.down 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb: -------------------------------------------------------------------------------- 1 | class Chunky < ActiveRecord::Migration 2 | def self.up 3 | end 4 | 5 | def self.down 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb: -------------------------------------------------------------------------------- 1 | class IRaiseOnDown < ActiveRecord::Migration 2 | def self.up 3 | end 4 | 5 | def self.down 6 | raise 7 | end 8 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveMiddleNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "middle_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "middle_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb: -------------------------------------------------------------------------------- 1 | class PeopleHaveLastNames < ActiveRecord::Migration 2 | def self.up 3 | add_column "people", "last_name", :string 4 | end 5 | 6 | def self.down 7 | remove_column "people", "last_name" 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb: -------------------------------------------------------------------------------- 1 | class WeNeedReminders < ActiveRecord::Migration 2 | def self.up 3 | create_table("reminders") do |t| 4 | t.column :content, :text 5 | t.column :remind_at, :datetime 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb: -------------------------------------------------------------------------------- 1 | class InnocentJointable < ActiveRecord::Migration 2 | def self.up 3 | create_table("people_reminders", :id => false) do |t| 4 | t.column :reminder_id, :integer 5 | t.column :person_id, :integer 6 | end 7 | end 8 | 9 | def self.down 10 | drop_table "people_reminders" 11 | end 12 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/auto_id.rb: -------------------------------------------------------------------------------- 1 | class AutoId < ActiveRecord::Base 2 | def self.table_name () "auto_id_tests" end 3 | def self.primary_key () "auto_id" end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/binary.rb: -------------------------------------------------------------------------------- 1 | class Binary < ActiveRecord::Base 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/bird.rb: -------------------------------------------------------------------------------- 1 | class Bird < ActiveRecord::Base 2 | validates_presence_of :name 3 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/book.rb: -------------------------------------------------------------------------------- 1 | class Book < ActiveRecord::Base 2 | has_many :citations, :foreign_key => 'book1_id' 3 | has_many :references, :through => :citations, :source => :reference_of, :uniq => true 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/categorization.rb: -------------------------------------------------------------------------------- 1 | class Categorization < ActiveRecord::Base 2 | belongs_to :post 3 | belongs_to :category 4 | belongs_to :author 5 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/citation.rb: -------------------------------------------------------------------------------- 1 | class Citation < ActiveRecord::Base 2 | belongs_to :reference_of, :class_name => "Book", :foreign_key => :book2_id 3 | 4 | belongs_to :book1, :class_name => "Book", :foreign_key => :book1_id 5 | belongs_to :book2, :class_name => "Book", :foreign_key => :book2_id 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/column_name.rb: -------------------------------------------------------------------------------- 1 | class ColumnName < ActiveRecord::Base 2 | def self.table_name () "colnametests" end 3 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/computer.rb: -------------------------------------------------------------------------------- 1 | class Computer < ActiveRecord::Base 2 | belongs_to :developer, :foreign_key=>'developer' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/course.rb: -------------------------------------------------------------------------------- 1 | class Course < ActiveRecord::Base 2 | has_many :entrants 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/default.rb: -------------------------------------------------------------------------------- 1 | class Default < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/edge.rb: -------------------------------------------------------------------------------- 1 | # This class models an edge in a directed graph. 2 | class Edge < ActiveRecord::Base 3 | belongs_to :source, :class_name => 'Vertex', :foreign_key => 'source_id' 4 | belongs_to :sink, :class_name => 'Vertex', :foreign_key => 'sink_id' 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/entrant.rb: -------------------------------------------------------------------------------- 1 | class Entrant < ActiveRecord::Base 2 | belongs_to :course 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/event.rb: -------------------------------------------------------------------------------- 1 | class Event < ActiveRecord::Base 2 | validates_uniqueness_of :title 3 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/guid.rb: -------------------------------------------------------------------------------- 1 | class Guid < ActiveRecord::Base 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/item.rb: -------------------------------------------------------------------------------- 1 | class AbstractItem < ActiveRecord::Base 2 | self.abstract_class = true 3 | has_one :tagging, :as => :taggable 4 | end 5 | 6 | class Item < AbstractItem 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/job.rb: -------------------------------------------------------------------------------- 1 | class Job < ActiveRecord::Base 2 | has_many :references 3 | has_many :people, :through => :references 4 | belongs_to :ideal_reference, :class_name => 'Reference' 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/joke.rb: -------------------------------------------------------------------------------- 1 | class Joke < ActiveRecord::Base 2 | set_table_name 'funny_jokes' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/keyboard.rb: -------------------------------------------------------------------------------- 1 | class Keyboard < ActiveRecord::Base 2 | set_primary_key 'key_number' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/legacy_thing.rb: -------------------------------------------------------------------------------- 1 | class LegacyThing < ActiveRecord::Base 2 | set_locking_column :version 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/matey.rb: -------------------------------------------------------------------------------- 1 | class Matey < ActiveRecord::Base 2 | belongs_to :pirate 3 | belongs_to :target, :class_name => 'Pirate' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/member_detail.rb: -------------------------------------------------------------------------------- 1 | class MemberDetail < ActiveRecord::Base 2 | belongs_to :member 3 | belongs_to :organization 4 | has_one :member_type, :through => :member 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/member_type.rb: -------------------------------------------------------------------------------- 1 | class MemberType < ActiveRecord::Base 2 | has_many :members 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/membership.rb: -------------------------------------------------------------------------------- 1 | class Membership < ActiveRecord::Base 2 | belongs_to :member 3 | belongs_to :club 4 | end 5 | 6 | class CurrentMembership < Membership 7 | belongs_to :member 8 | belongs_to :club 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/minimalistic.rb: -------------------------------------------------------------------------------- 1 | class Minimalistic < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/mixed_case_monkey.rb: -------------------------------------------------------------------------------- 1 | class MixedCaseMonkey < ActiveRecord::Base 2 | set_primary_key 'monkeyID' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/movie.rb: -------------------------------------------------------------------------------- 1 | class Movie < ActiveRecord::Base 2 | def self.primary_key 3 | "movieid" 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/order.rb: -------------------------------------------------------------------------------- 1 | class Order < ActiveRecord::Base 2 | belongs_to :billing, :class_name => 'Customer', :foreign_key => 'billing_customer_id' 3 | belongs_to :shipping, :class_name => 'Customer', :foreign_key => 'shipping_customer_id' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/organization.rb: -------------------------------------------------------------------------------- 1 | class Organization < ActiveRecord::Base 2 | has_many :member_details 3 | has_many :members, :through => :member_details 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/owner.rb: -------------------------------------------------------------------------------- 1 | class Owner < ActiveRecord::Base 2 | set_primary_key :owner_id 3 | has_many :pets 4 | has_many :toys, :through => :pets 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/pet.rb: -------------------------------------------------------------------------------- 1 | class Pet < ActiveRecord::Base 2 | set_primary_key :pet_id 3 | belongs_to :owner 4 | has_many :toys 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/price_estimate.rb: -------------------------------------------------------------------------------- 1 | class PriceEstimate < ActiveRecord::Base 2 | belongs_to :estimate_of, :polymorphic => true 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/reader.rb: -------------------------------------------------------------------------------- 1 | class Reader < ActiveRecord::Base 2 | belongs_to :post 3 | belongs_to :person 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/reference.rb: -------------------------------------------------------------------------------- 1 | class Reference < ActiveRecord::Base 2 | belongs_to :person 3 | belongs_to :job 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/ship.rb: -------------------------------------------------------------------------------- 1 | class Ship < ActiveRecord::Base 2 | self.record_timestamps = false 3 | 4 | belongs_to :pirate 5 | has_many :parts, :class_name => 'ShipPart', :autosave => true 6 | 7 | accepts_nested_attributes_for :pirate, :allow_destroy => true, :reject_if => proc { |attributes| attributes.empty? } 8 | 9 | validates_presence_of :name 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/ship_part.rb: -------------------------------------------------------------------------------- 1 | class ShipPart < ActiveRecord::Base 2 | belongs_to :ship 3 | 4 | validates_presence_of :name 5 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/sponsor.rb: -------------------------------------------------------------------------------- 1 | class Sponsor < ActiveRecord::Base 2 | belongs_to :sponsor_club, :class_name => "Club", :foreign_key => "club_id" 3 | belongs_to :sponsorable, :polymorphic => true 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/subject.rb: -------------------------------------------------------------------------------- 1 | # used for OracleSynonymTest, see test/synonym_test_oci.rb 2 | # 3 | class Subject < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/subscriber.rb: -------------------------------------------------------------------------------- 1 | class Subscriber < ActiveRecord::Base 2 | set_primary_key 'nick' 3 | has_many :subscriptions 4 | has_many :books, :through => :subscriptions 5 | end 6 | 7 | class SpecialSubscriber < Subscriber 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/subscription.rb: -------------------------------------------------------------------------------- 1 | class Subscription < ActiveRecord::Base 2 | belongs_to :subscriber 3 | belongs_to :book 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/tag.rb: -------------------------------------------------------------------------------- 1 | class Tag < ActiveRecord::Base 2 | has_many :taggings 3 | has_many :taggables, :through => :taggings 4 | has_one :tagging 5 | 6 | has_many :tagged_posts, :through => :taggings, :source => :taggable, :source_type => 'Post' 7 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/task.rb: -------------------------------------------------------------------------------- 1 | class Task < ActiveRecord::Base 2 | 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/toy.rb: -------------------------------------------------------------------------------- 1 | class Toy < ActiveRecord::Base 2 | set_primary_key :toy_id 3 | belongs_to :pet 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/treasure.rb: -------------------------------------------------------------------------------- 1 | class Treasure < ActiveRecord::Base 2 | has_and_belongs_to_many :parrots 3 | belongs_to :looter, :polymorphic => true 4 | 5 | has_many :price_estimates, :as => :estimate_of 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/warehouse_thing.rb: -------------------------------------------------------------------------------- 1 | class WarehouseThing < ActiveRecord::Base 2 | set_table_name "warehouse-things" 3 | 4 | validates_uniqueness_of :value 5 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/schema2.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Schema.define do 2 | 3 | Course.connection.create_table :courses, :force => true do |t| 4 | t.column :name, :string, :null => false 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/active_resource/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveResource 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/activeresource.rb: -------------------------------------------------------------------------------- 1 | require 'active_resource' 2 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/beast.rb: -------------------------------------------------------------------------------- 1 | class BeastResource < ActiveResource::Base 2 | self.site = 'http://beast.caboo.se' 3 | site.user = 'foo' 4 | site.password = 'bar' 5 | end 6 | 7 | class Forum < BeastResource 8 | # taken from BeastResource 9 | # self.site = 'http://beast.caboo.se' 10 | end 11 | 12 | class Topic < BeastResource 13 | self.site += '/forums/:forum_id' 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/customer.rb: -------------------------------------------------------------------------------- 1 | class Customer < ActiveResource::Base 2 | self.site = "http://37s.sunrise.i:3000" 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/person.rb: -------------------------------------------------------------------------------- 1 | class Person < ActiveResource::Base 2 | self.site = "http://37s.sunrise.i:3000" 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/test/fixtures/street_address.rb: -------------------------------------------------------------------------------- 1 | class StreetAddress < ActiveResource::Base 2 | self.site = "http://37s.sunrise.i:3000/people/:person_id/" 3 | self.element_name = 'address' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext.rb: -------------------------------------------------------------------------------- 1 | Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].sort.each do |path| 2 | filename = File.basename(path, '.rb') 3 | require "active_support/core_ext/#{filename}" 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Array #:nodoc: 4 | module RandomAccess 5 | # Returns a random element from the array. 6 | def rand 7 | self[Kernel.rand(length)] 8 | end 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/base64.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/base64' 2 | require 'active_support/core_ext/base64/encoding' 3 | 4 | ActiveSupport::Base64.extend ActiveSupport::CoreExtensions::Base64::Encoding 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb: -------------------------------------------------------------------------------- 1 | require 'bigdecimal' 2 | require 'active_support/core_ext/bigdecimal/conversions' 3 | 4 | class BigDecimal#:nodoc: 5 | include ActiveSupport::CoreExtensions::BigDecimal::Conversions 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/cgi/escape_skipping_slashes' 2 | 3 | class CGI #:nodoc: 4 | extend ActiveSupport::CoreExtensions::CGI::EscapeSkippingSlashes 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/class.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/class/attribute_accessors' 2 | require 'active_support/core_ext/class/inheritable_attributes' 3 | require 'active_support/core_ext/class/removal' 4 | require 'active_support/core_ext/class/delegating_attributes' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/file.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/file/atomic' 2 | 3 | class File #:nodoc: 4 | extend ActiveSupport::CoreExtensions::File::Atomic 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/float.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/float/rounding' 2 | require 'active_support/core_ext/float/time' 3 | 4 | class Float #:nodoc: 5 | include ActiveSupport::CoreExtensions::Float::Rounding 6 | include ActiveSupport::CoreExtensions::Float::Time 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/kernel/daemonizing' 2 | require 'active_support/core_ext/kernel/reporting' 3 | require 'active_support/core_ext/kernel/agnostics' 4 | require 'active_support/core_ext/kernel/requires' 5 | require 'active_support/core_ext/kernel/debugger' 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb: -------------------------------------------------------------------------------- 1 | module Kernel 2 | # Turns the current script into a daemon process that detaches from the console. 3 | # It can be shut down with a TERM signal. 4 | def daemonize 5 | Process.daemon 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/object.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/object/conversions' 2 | require 'active_support/core_ext/object/extending' 3 | require 'active_support/core_ext/object/instance_variables' 4 | require 'active_support/core_ext/object/metaclass' 5 | require 'active_support/core_ext/object/misc' 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Get object's meta (ghost, eigenclass, singleton) class 3 | def metaclass 4 | class << self 5 | self 6 | end 7 | end 8 | 9 | # If class_eval is called on an object, add those methods to its metaclass 10 | def class_eval(*args, &block) 11 | metaclass.class_eval(*args, &block) 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb: -------------------------------------------------------------------------------- 1 | require 'pathname' 2 | require 'active_support/core_ext/pathname/clean_within' 3 | 4 | class Pathname#:nodoc: 5 | extend ActiveSupport::CoreExtensions::Pathname::CleanWithin 6 | end 7 | 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/process.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/process/daemon' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module String #:nodoc: 4 | module Behavior 5 | # Enable more predictable duck-typing on String-like classes. See 6 | # Object#acts_like?. 7 | def acts_like_string? 8 | true 9 | end 10 | end 11 | end 12 | end 13 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb: -------------------------------------------------------------------------------- 1 | begin 2 | # See http://bogomips.org/fast_xs/ by Eric Wong 3 | require 'fast_xs' 4 | 5 | class String 6 | alias_method :original_xs, :to_xs if method_defined?(:to_xs) 7 | alias_method :to_xs, :fast_xs 8 | end 9 | rescue LoadError 10 | # fast_xs extension unavailable. 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Time #:nodoc: 4 | module Behavior 5 | # Enable more predictable duck-typing on Time-like classes. See 6 | # Object#acts_like?. 7 | def acts_like_time? 8 | true 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb: -------------------------------------------------------------------------------- 1 | class FalseClass 2 | def to_json(options = nil) #:nodoc: 3 | 'false' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb: -------------------------------------------------------------------------------- 1 | class NilClass 2 | def to_json(options = nil) #:nodoc: 3 | 'null' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb: -------------------------------------------------------------------------------- 1 | class Numeric 2 | def to_json(options = nil) #:nodoc: 3 | to_s 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/object.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info. 3 | def to_json(options = {}) 4 | ActiveSupport::JSON.encode(instance_values, options) 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb: -------------------------------------------------------------------------------- 1 | class Regexp 2 | def to_json(options = nil) #:nodoc: 3 | inspect 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb: -------------------------------------------------------------------------------- 1 | class Symbol 2 | def to_json(options = {}) #:nodoc: 3 | ActiveSupport::JSON.encode(to_s, options) 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb: -------------------------------------------------------------------------------- 1 | class TrueClass 2 | def to_json(options = nil) #:nodoc: 3 | 'true' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/variable.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module JSON 3 | # A string that returns itself as its JSON-encoded form. 4 | class Variable < String 5 | def to_json(options=nil) 6 | self 7 | end 8 | end 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | 3 | module ActiveSupport #:nodoc: 4 | module Multibyte #:nodoc: 5 | # Raised when a problem with the encoding was found. 6 | class EncodingError < StandardError; end 7 | end 8 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/testing/default.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module Testing 3 | module Default #:nodoc: 4 | # Placeholder so test/unit ignores test cases without any tests. 5 | def default_test 6 | end 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile: -------------------------------------------------------------------------------- 1 | task :default => [:test] 2 | 3 | task :test do 4 | ruby "test/all.rb" 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb: -------------------------------------------------------------------------------- 1 | dir = File.dirname(__FILE__) 2 | require dir + '/i18n_test.rb' 3 | require dir + '/simple_backend_test.rb' 4 | require dir + '/i18n_exceptions_test.rb' 5 | # *require* dir + '/custom_backend_test.rb' -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb: -------------------------------------------------------------------------------- 1 | {:'en-Ruby' => {:foo => {:bar => "baz"}}} -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml: -------------------------------------------------------------------------------- 1 | en-Yaml: 2 | foo: 3 | bar: baz -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb: -------------------------------------------------------------------------------- 1 | require 'tzinfo/timezone_definition' 2 | 3 | module TZInfo 4 | module Definitions 5 | module Europe 6 | module Bratislava 7 | include TimezoneDefinition 8 | 9 | linked_timezone 'Europe/Bratislava', 'Europe/Prague' 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb: -------------------------------------------------------------------------------- 1 | require 'tzinfo/timezone_definition' 2 | 3 | module TZInfo 4 | module Definitions 5 | module Europe 6 | module Ljubljana 7 | include TimezoneDefinition 8 | 9 | linked_timezone 'Europe/Ljubljana', 'Europe/Belgrade' 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb: -------------------------------------------------------------------------------- 1 | require 'tzinfo/timezone_definition' 2 | 3 | module TZInfo 4 | module Definitions 5 | module Europe 6 | module Sarajevo 7 | include TimezoneDefinition 8 | 9 | linked_timezone 'Europe/Sarajevo', 'Europe/Belgrade' 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb: -------------------------------------------------------------------------------- 1 | require 'tzinfo/timezone_definition' 2 | 3 | module TZInfo 4 | module Definitions 5 | module Europe 6 | module Skopje 7 | include TimezoneDefinition 8 | 9 | linked_timezone 'Europe/Skopje', 'Europe/Belgrade' 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb: -------------------------------------------------------------------------------- 1 | require 'tzinfo/timezone_definition' 2 | 3 | module TZInfo 4 | module Definitions 5 | module Europe 6 | module Zagreb 7 | include TimezoneDefinition 8 | 9 | linked_timezone 'Europe/Zagreb', 'Europe/Belgrade' 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/activesupport.rb: -------------------------------------------------------------------------------- 1 | require 'active_support' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb: -------------------------------------------------------------------------------- 1 | class A::B 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb: -------------------------------------------------------------------------------- 1 | class A::C::D 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb: -------------------------------------------------------------------------------- 1 | class A::C::E::F 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/application.rb: -------------------------------------------------------------------------------- 1 | ApplicationController = 10 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder 2 | ConstantInClassFolder = 'indeed' 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder::ClassFolderSubclass < ClassFolder 2 | ConstantInClassFolder 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder::InlineClass 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder 2 | class NestedClass 3 | end 4 | 5 | class SiblingClass 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 2 -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb: -------------------------------------------------------------------------------- 1 | $counting_loaded_times ||= 0 2 | $counting_loaded_times += 1 3 | 4 | module CountingLoader 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb: -------------------------------------------------------------------------------- 1 | class CrossSiteDependency 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/e.rb: -------------------------------------------------------------------------------- 1 | class E 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb: -------------------------------------------------------------------------------- 1 | class ModuleFolder::InlineClass 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb: -------------------------------------------------------------------------------- 1 | module ModuleFolder 2 | class NestedClass 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb: -------------------------------------------------------------------------------- 1 | class ModuleFolder::NestedSibling 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb: -------------------------------------------------------------------------------- 1 | ModuleWithCustomConstMissing::A::B = "10" -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb: -------------------------------------------------------------------------------- 1 | MultipleConstantFile = 10 2 | SiblingConstant = MultipleConstantFile * 2 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb: -------------------------------------------------------------------------------- 1 | class RaisesNameError 2 | FooBarBaz 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb: -------------------------------------------------------------------------------- 1 | class RaisesNoMethodError 2 | self.foobar_method_doesnt_exist 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/object_ext_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class ObjectExtTest < Test::Unit::TestCase 4 | def test_tap_yields_and_returns_self 5 | foo = Object.new 6 | assert_equal foo, foo.tap { |x| assert_equal foo, x; :bar } 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/pathname_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class TestPathname < Test::Unit::TestCase 4 | def test_clean_within 5 | assert_equal "Hi", Pathname.clean_within("Hi") 6 | assert_equal "Hi", Pathname.clean_within("Hi/a/b/../..") 7 | assert_equal "Hello\nWorld", Pathname.clean_within("Hello/a/b/../..\na/b/../../World/c/..") 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/proc_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class ProcTests < Test::Unit::TestCase 4 | def test_bind_returns_method_with_changed_self 5 | block = Proc.new { self } 6 | assert_equal self, block.call 7 | bound_block = block.bind("hello") 8 | assert_not_equal block, bound_block 9 | assert_equal "hello", bound_block.call 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/symbol_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class SymbolTests < Test::Unit::TestCase 4 | def test_to_proc 5 | assert_equal %w(one two three), [:one, :two, :three].map(&:to_s) 6 | assert_equal(%w(one two three), 7 | {1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last)) 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/check_warnings.rb: -------------------------------------------------------------------------------- 1 | $check_warnings_load_count += 1 2 | $checked_verbose = $VERBOSE 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 1 -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/cross_site_depender.rb: -------------------------------------------------------------------------------- 1 | class CrossSiteDepender 2 | CrossSiteDependency 3 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/mutual_one.rb: -------------------------------------------------------------------------------- 1 | $mutual_dependencies_count += 1 2 | require_dependency 'mutual_two' 3 | require_dependency 'mutual_two.rb' 4 | require_dependency 'mutual_two' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/mutual_two.rb: -------------------------------------------------------------------------------- 1 | $mutual_dependencies_count += 1 2 | require_dependency 'mutual_one.rb' 3 | require_dependency 'mutual_one' 4 | require_dependency 'mutual_one.rb' 5 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/raises_exception.rb: -------------------------------------------------------------------------------- 1 | $raises_exception_load_count += 1 2 | raise Exception, 'Loading me failed, so do not add to loaded or history.' 3 | $raises_exception_load_count += 1 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb: -------------------------------------------------------------------------------- 1 | require 'RMagickDontExistDude' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb: -------------------------------------------------------------------------------- 1 | require_dependency 'requires_nonexistent0' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/service_one.rb: -------------------------------------------------------------------------------- 1 | $loaded_service_one ||= 0 2 | $loaded_service_one += 1 3 | 4 | class ServiceOne 5 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/service_two.rb: -------------------------------------------------------------------------------- 1 | class ServiceTwo 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/gzip_test.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class GzipTest < Test::Unit::TestCase 4 | def test_compress_should_decompress_to_the_same_value 5 | assert_equal "Hello World", ActiveSupport::Gzip.decompress(ActiveSupport::Gzip.compress("Hello World")) 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/rails/railties/bin/about: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" 4 | require 'commands/about' -------------------------------------------------------------------------------- /vendor/rails/railties/bin/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/dbconsole: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/dbconsole' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/destroy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/destroy' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/generate: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/generate' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/performance/profiler: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/profiler' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/plugin: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/plugin' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/server: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/server' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails/info_controller.rb: -------------------------------------------------------------------------------- 1 | class Rails::InfoController < ActionController::Base 2 | def properties 3 | if consider_all_requests_local || local_request? 4 | render :inline => Rails::Info.to_html 5 | else 6 | render :text => '

For security purposes, this information is only available to local requests.

', :status => 500 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails/info_helper.rb: -------------------------------------------------------------------------------- 1 | module Rails::InfoHelper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails_info_controller.rb: -------------------------------------------------------------------------------- 1 | # Alias to ensure old public.html still works. 2 | RailsInfoController = Rails::InfoController 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/empty.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/configs/empty.log -------------------------------------------------------------------------------- /vendor/rails/railties/configs/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | # Mime::Type.register_alias "text/html", :iphone 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/locales/en.yml: -------------------------------------------------------------------------------- 1 | # Sample localization file for English. Add more files in this directory for other locales. 2 | # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. 3 | 4 | en: 5 | hello: "Hello world" -------------------------------------------------------------------------------- /vendor/rails/railties/dispatches/config.ru: -------------------------------------------------------------------------------- 1 | # Rack Dispatcher 2 | 3 | # Require your environment file to bootstrap Rails 4 | require File.dirname(__FILE__) + '/config/environment' 5 | 6 | # Dispatch the request 7 | run ActionController::Dispatcher.new 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/doc/README_FOR_APP: -------------------------------------------------------------------------------- 1 | Use this README file to introduce your application and point to useful places in the API for learning more. 2 | Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries. 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/fresh_rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) 5 | 6 | require 'rake' 7 | require 'rake/testtask' 8 | require 'rake/rdoctask' 9 | 10 | require 'tasks/rails' 11 | -------------------------------------------------------------------------------- /vendor/rails/railties/guides/files/javascripts/guides.js: -------------------------------------------------------------------------------- 1 | function guideMenu(){ 2 | 3 | if (document.getElementById('guides').style.display == "none") { 4 | document.getElementById('guides').style.display = "block"; 5 | } else { 6 | document.getElementById('guides').style.display = "none"; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/guides/files/stylesheets/style.css: -------------------------------------------------------------------------------- 1 | /* Guides.rubyonrails.org */ 2 | /* Style.css */ 3 | /* Created January 30, 2009 4 | --------------------------------------- */ 5 | 6 | /* 7 | --------------------------------------- 8 | Import advanced style sheet 9 | --------------------------------------- 10 | */ 11 | 12 | @import url("reset.css"); 13 | @import url("main.css"); 14 | -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/belongs_to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/belongs_to.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/book_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/book_icon.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/bullet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/bullet.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/chapters_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/chapters_icon.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/check_bullet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/check_bullet.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/credits_pic_blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/credits_pic_blank.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/csrf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/csrf.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/customized_error_messages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/customized_error_messages.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/error_messages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/error_messages.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/feature_tile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/feature_tile.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/footer_tile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/footer_tile.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/fxn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/fxn.jpg -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/grey_bullet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/grey_bullet.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/habtm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/habtm.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/has_many.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/has_many.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/has_many_through.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/has_many_through.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/has_one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/has_one.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/has_one_through.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/has_one_through.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/header_backdrop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/header_backdrop.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/header_tile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/header_tile.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/i18n/demo_localized_pirate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/i18n/demo_localized_pirate.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/i18n/demo_translated_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/i18n/demo_translated_en.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/i18n/demo_translated_pirate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/i18n/demo_translated_pirate.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/i18n/demo_translation_missing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/i18n/demo_translation_missing.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/i18n/demo_untranslated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/i18n/demo_untranslated.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/README: -------------------------------------------------------------------------------- 1 | Replaced the plain DocBook XSL admonition icons with Jimmac's DocBook 2 | icons (http://jimmac.musichall.cz/ikony.php3). I dropped transparency 3 | from the Jimmac icons to get round MS IE and FOP PNG incompatibilies. 4 | 5 | Stuart Rackham 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/1.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/10.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/11.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/12.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/13.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/14.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/15.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/2.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/3.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/4.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/5.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/6.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/7.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/8.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/callouts/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/callouts/9.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/caution.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/example.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/home.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/important.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/next.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/note.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/prev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/prev.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/tip.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/up.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/icons/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/icons/warning.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/nav_arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/nav_arrow.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/polymorphic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/polymorphic.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/posts_index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/posts_index.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/rails_guides_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/rails_guides_logo.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/rails_logo_remix.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/rails_logo_remix.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/rails_welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/rails_welcome.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/session_fixation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/session_fixation.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_grey.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_grey.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_info.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_note.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_note.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_red.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_yellow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_yellow.gif -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/tab_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/tab_yellow.png -------------------------------------------------------------------------------- /vendor/rails/railties/guides/images/validation_error_messages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/guides/images/validation_error_messages.png -------------------------------------------------------------------------------- /vendor/rails/railties/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # Methods added to this helper will be available to all templates in the application. 2 | module ApplicationHelper 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/helpers/performance_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'performance_test_help' 3 | 4 | # Profiling results for each test method are written to tmp/performance. 5 | class BrowsingTest < ActionController::PerformanceTest 6 | def test_homepage 7 | get '/' 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/html/favicon.ico -------------------------------------------------------------------------------- /vendor/rails/railties/html/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/html/images/rails.png -------------------------------------------------------------------------------- /vendor/rails/railties/html/javascripts/application.js: -------------------------------------------------------------------------------- 1 | // Place your application-specific JavaScript functions and classes here 2 | // This file is automatically included by javascript_include_tag :defaults 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/robots.txt: -------------------------------------------------------------------------------- 1 | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-Agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/about.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails/info' 3 | puts Rails::Info 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/destroy.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/destroy' 4 | 5 | ARGV.shift if ['--help', '-h'].include?(ARGV[0]) 6 | Rails::Generator::Scripts::Destroy.new.run(ARGV) 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/generate.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/generate' 4 | 5 | ARGV.shift if ['--help', '-h'].include?(ARGV[0]) 6 | Rails::Generator::Scripts::Generate.new.run(ARGV) 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/update.rb: -------------------------------------------------------------------------------- 1 | require "#{RAILS_ROOT}/config/environment" 2 | require 'rails_generator' 3 | require 'rails_generator/scripts/update' 4 | Rails::Generator::Scripts::Update.new.run(ARGV) 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/console_sandbox.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Base.connection.increment_open_transactions 2 | ActiveRecord::Base.connection.begin_db_transaction 3 | at_exit do 4 | ActiveRecord::Base.connection.rollback_db_transaction 5 | ActiveRecord::Base.connection.decrement_open_transactions 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/console_with_helpers.rb: -------------------------------------------------------------------------------- 1 | def helper 2 | @helper ||= ApplicationController.helpers 3 | end 4 | 5 | @controller = ApplicationController.new 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/performance_test_help.rb: -------------------------------------------------------------------------------- 1 | require 'action_controller/performance_test' 2 | 3 | ActionController::Base.perform_caching = true 4 | ActiveSupport::Dependencies.mechanism = :require 5 | Rails.logger.level = ActiveSupport::BufferedLogger::INFO 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails/rack.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | module Rack 3 | autoload :Debugger, "rails/rack/debugger" 4 | autoload :LogTailer, "rails/rack/log_tailer" 5 | autoload :Metal, "rails/rack/metal" 6 | autoload :Static, "rails/rack/static" 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails/version.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | module VERSION #:nodoc: 3 | MAJOR = 2 4 | MINOR = 3 5 | TINY = 2 6 | 7 | STRING = [MAJOR, MINOR, TINY].join('.') 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/git.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | class Git < Scm 3 | def self.clone(repos, branch=nil) 4 | `git clone #{repos}` 5 | 6 | if branch 7 | `cd #{repos.split('/').last}/` 8 | `git checkout #{branch}` 9 | end 10 | end 11 | 12 | def self.run(command) 13 | `git #{command}` 14 | end 15 | end 16 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | class Scm 3 | private 4 | def self.hash_to_parameters(hash) 5 | hash.collect { |key, value| "--#{key} #{(value.kind_of?(String) ? value : "")}"}.join(" ") 6 | end 7 | end 8 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | class Svn < Scm 3 | def self.checkout(repos, branch = nil) 4 | `svn checkout #{repos}/#{branch || "trunk"}` 5 | end 6 | end 7 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Controller < ApplicationController 2 | <% for action in actions -%> 3 | def <%= action %> 4 | end 5 | 6 | <% end -%> 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>ControllerTest < ActionController::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>HelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb: -------------------------------------------------------------------------------- 1 |

<%= class_name %>#<%= action %>

2 |

Find me in <%= path %>

3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>HelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>Test < ActionController::IntegrationTest 4 | fixtures :all 5 | 6 | # Replace this with your real tests. 7 | test "the truth" do 8 | assert true 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= action %> 2 | 3 | Find me in <%= path %> 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= action %> 2 | 3 | Find me in <%= path %> 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Cast some metal! 3 | 4 | Examples: 5 | `./script/generate metal poller` 6 | 7 | This will create: 8 | Metal: app/metal/poller.rb 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb: -------------------------------------------------------------------------------- 1 | class MetalGenerator < Rails::Generator::NamedBase 2 | def manifest 3 | record do |m| 4 | m.directory 'app/metal' 5 | m.template 'metal.rb', File.join('app/metal', "#{file_name}.rb") 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %> < ActiveRecord::Base 2 | <% attributes.select(&:reference?).each do |attribute| -%> 3 | belongs_to :<%= attribute.name %> 4 | <% end -%> 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>Test < ActiveSupport::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Observer < ActiveRecord::Observer 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>ObserverTest < ActiveSupport::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | require 'performance_test_help' 3 | 4 | class <%= class_name %>Test < ActionController::PerformanceTest 5 | # Replace this with your real tests. 6 | def test_homepage 7 | get '/' 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README: -------------------------------------------------------------------------------- 1 | <%= class_name %> 2 | <%= "=" * class_name.size %> 3 | 4 | Introduction goes here. 5 | 6 | 7 | Example 8 | ======= 9 | 10 | Example goes here. 11 | 12 | 13 | Copyright (c) <%= Date.today.year %> [name of plugin creator], released under the MIT license 14 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Explain the generator 3 | 4 | Example: 5 | ./script/generate <%= file_name %> Thing 6 | 7 | This will create: 8 | what/will/it/create 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Generator < Rails::Generator::NamedBase 2 | def manifest 3 | record do |m| 4 | # m.directory "lib" 5 | # m.template 'README', "README" 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb: -------------------------------------------------------------------------------- 1 | # Include hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb: -------------------------------------------------------------------------------- 1 | # <%= class_name %> 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :<%= file_name %> do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'active_support' 3 | require 'active_support/test_case' -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= class_name %>Test < ActiveSupport::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb: -------------------------------------------------------------------------------- 1 | class <%= controller_class_name %>Controller < ApplicationController 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= controller_class_name %>ControllerTest < ActionController::TestCase 4 | # Replace this with your real tests. 5 | test "the truth" do 6 | assert true 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= controller_class_name %>HelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb: -------------------------------------------------------------------------------- 1 | module <%= controller_class_name %>Helper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class <%= controller_class_name %>HelperTest < ActionView::TestCase 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb: -------------------------------------------------------------------------------- 1 | <% for attribute in attributes -%> 2 |

3 | <%= attribute.column.human_name %>: 4 | <%%=h @<%= singular_name %>.<%= attribute.name %> %> 5 |

6 | 7 | <% end -%> 8 | 9 | <%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> | 10 | <%%= link_to 'Back', <%= plural_name %>_path %> -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/scripts/generate.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/../scripts' 2 | 3 | module Rails::Generator::Scripts 4 | class Generate < Base 5 | mandatory_options :command => :create 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/scripts/update.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/../scripts' 2 | 3 | module Rails::Generator::Scripts 4 | class Update < Base 5 | mandatory_options :command => :update 6 | 7 | protected 8 | def banner 9 | "Usage: #{$0} [options] scaffold" 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/railties_path.rb: -------------------------------------------------------------------------------- 1 | RAILTIES_PATH = File.join(File.dirname(__FILE__), '..') 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/log.rake: -------------------------------------------------------------------------------- 1 | namespace :log do 2 | desc "Truncates all *.log files in log/ to zero bytes" 3 | task :clear do 4 | FileList["log/*.log"].each do |log_file| 5 | f = File.open(log_file, "w") 6 | f.close 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/middleware.rake: -------------------------------------------------------------------------------- 1 | desc 'Prints out your Rack middleware stack' 2 | task :middleware => :environment do 3 | ActionController::Dispatcher.middleware.active.each do |middleware| 4 | puts "use #{middleware.inspect}" 5 | end 6 | puts "run ActionController::Dispatcher.new" 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/rails.rb: -------------------------------------------------------------------------------- 1 | $VERBOSE = nil 2 | 3 | # Load Rails rakefile extensions 4 | Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext } 5 | 6 | # Load any custom rakefile extensions 7 | Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext } 8 | Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext } 9 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/about.yml: -------------------------------------------------------------------------------- 1 | # an empty YAML file - any content in here seems to get parsed as a string -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb: -------------------------------------------------------------------------------- 1 | # intentionally empty -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb: -------------------------------------------------------------------------------- 1 | # intentionally empty -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/eager/zoo.rb: -------------------------------------------------------------------------------- 1 | class Zoo 2 | include ReptileHouse 3 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/eager/zoo/reptile_house.rb: -------------------------------------------------------------------------------- 1 | module Zoo::ReptileHouse 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/environment_with_constant.rb: -------------------------------------------------------------------------------- 1 | $initialize_test_set_from_env = 'success' 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_class/templates/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/lib/generators/missing_class/templates/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_generator/templates/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/lib/generators/missing_generator/templates/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_templates/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/lib/generators/missing_templates/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb: -------------------------------------------------------------------------------- 1 | class WorkingGenerator < Rails::Generator::NamedBase 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_a.rb: -------------------------------------------------------------------------------- 1 | class MetalA < Rails::Rack::Metal 2 | def self.call(env) 3 | [200, { "Content-Type" => "text/html"}, ["Hi"]] 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/multiplemetals/app/metal/metal_b.rb: -------------------------------------------------------------------------------- 1 | class MetalB < Rails::Rack::Metal 2 | def self.call(env) 3 | [200, { "Content-Type" => "text/html"}, ["Hi"]] 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb: -------------------------------------------------------------------------------- 1 | class LegacyRoutes < Rails::Rack::Metal 2 | def self.call(env) 3 | [301, { "Location" => "http://example.com"}, []] 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/singlemetal/app/metal/foo_metal.rb: -------------------------------------------------------------------------------- 1 | class FooMetal < Rails::Rack::Metal 2 | def self.call(env) 3 | [200, { "Content-Type" => "text/html"}, ["Hi"]] 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_a.rb: -------------------------------------------------------------------------------- 1 | module Folder 2 | class MetalA < Rails::Rack::Metal 3 | def self.call(env) 4 | [200, { "Content-Type" => "text/html"}, ["Hi"]] 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/metal/subfolders/app/metal/Folder/metal_b.rb: -------------------------------------------------------------------------------- 1 | module Folder 2 | class MetalB < Rails::Rack::Metal 3 | def self.call(env) 4 | [200, { "Content-Type" => "text/html"}, ["Hi"]] 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/alternate/a/generators/a_generator/a_generator.rb: -------------------------------------------------------------------------------- 1 | class AGenerator < Rails::Generator::Base 2 | def manifest 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/alternate/a/lib/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/plugins/alternate/a/lib/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/acts/acts_as_chunky_bacon/lib/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/plugins/default/acts/acts_as_chunky_bacon/lib/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/empty/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/plugins/default/empty/.gitignore -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/gemlike/init.rb: -------------------------------------------------------------------------------- 1 | raise 'This init.rb should not be evaluated because rails/init.rb exists' 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/gemlike/lib/gemlike.rb: -------------------------------------------------------------------------------- 1 | module Gemlike 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/gemlike/rails/init.rb: -------------------------------------------------------------------------------- 1 | # I have access to my directory and the Rails config. 2 | raise 'directory expected but undefined in init.rb' unless defined? directory 3 | raise 'config expected but undefined in init.rb' unless defined? config 4 | 5 | # My lib/ dir must be in the load path. 6 | require 'gemlike' 7 | raise 'missing mixin from my lib/ dir' unless defined? Gemlike 8 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binarylogic/authlogic_example/9b22672cd64fb31b405c000e207b2cae281baa58/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/about.yml: -------------------------------------------------------------------------------- 1 | author: Plugin Author 2 | version: 1.0.0 -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/generators/stubby_generator/stubby_generator.rb: -------------------------------------------------------------------------------- 1 | class StubbyGenerator < Rails::Generator::Base 2 | def manifest 3 | end 4 | end 5 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb: -------------------------------------------------------------------------------- 1 | module StubbyMixin 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/engines/engine/app/controllers/engine_controller.rb: -------------------------------------------------------------------------------- 1 | class EngineController 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/engines/engine/app/metal/engine_metal.rb: -------------------------------------------------------------------------------- 1 | class EngineMetal 2 | def self.call(env) 3 | if env["PATH_INFO"] =~ /^\/metal/ 4 | [200, {"Content-Type" => "text/html"}, ["Engine metal"]] 5 | else 6 | [404, {"Content-Type" => "text/html"}, ["Not Found"]] 7 | end 8 | end 9 | end 10 | 11 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/engines/engine/app/models/engine_model.rb: -------------------------------------------------------------------------------- 1 | class EngineModel 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/engines/engine/config/routes.rb: -------------------------------------------------------------------------------- 1 | ActionController::Routing::Routes.draw do |map| 2 | map.connect '/engine', :controller => "engine" 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/engines/engine/init.rb: -------------------------------------------------------------------------------- 1 | # My app/models dir must be in the load path. 2 | require 'engine_model' 3 | raise LoadError, 'missing model from my app/models dir' unless defined?(EngineModel) 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/public/foo/bar.html: -------------------------------------------------------------------------------- 1 | /foo/bar.html -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/public/foo/index.html: -------------------------------------------------------------------------------- 1 | /foo/index.html -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/public/index.html: -------------------------------------------------------------------------------- 1 | /index.html -------------------------------------------------------------------------------- /vendor/rails/railties/test/mocks/routes.rb: -------------------------------------------------------------------------------- 1 | module ActionController 2 | module Routing 3 | class Routes 4 | end 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-a-0.4.0/lib/dummy-gem-a.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_A_VERSION="0.4.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.4.0/lib/dummy-gem-b.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_B_VERSION="0.4.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-b-0.6.0/lib/dummy-gem-b.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_B_VERSION="0.6.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.4.0/lib/dummy-gem-c.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_C_VERSION="0.4.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-c-0.6.0/lib/dummy-gem-c.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_C_VERSION="0.6.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-d-1.0.0/lib/dummy-gem-d.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_D_VERSION="1.0.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-e-1.0.0/lib/dummy-gem-e.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_E_VERSION="1.0.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-f-1.0.0/lib/dummy-gem-f.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_F_VERSION="1.0.0" 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/vendor/gems/dummy-gem-g-1.0.0/lib/dummy-gem-g.rb: -------------------------------------------------------------------------------- 1 | DUMMY_GEM_G_VERSION="1.0.0" 2 | --------------------------------------------------------------------------------