├── public ├── favicon.ico ├── javascripts │ ├── jquery.js │ └── application.js ├── images │ ├── rails.png │ └── sake.gif └── robots.txt ├── test ├── models ├── controllers ├── fixtures │ └── tasks │ │ ├── version.task │ │ ├── spec.task │ │ ├── testing.task │ │ ├── production.task │ │ ├── gems_find.task │ │ ├── pastie_patch.task │ │ └── yaml_to_spec.task └── functional │ └── favorites_controller_test.rb ├── vendor ├── plugins │ ├── cache_fu │ │ ├── CHANGELOG │ │ ├── lib │ │ │ └── acts_as_cached │ │ │ │ ├── cache_methods.rb │ │ │ │ └── recipes.rb │ │ └── README │ ├── will_paginate │ │ ├── .gitignore │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── user.rb │ │ │ │ ├── admin.rb │ │ │ │ ├── projects.yml │ │ │ │ ├── reply.rb │ │ │ │ ├── topic.rb │ │ │ │ ├── developers_projects.yml │ │ │ │ └── developer.rb │ │ │ ├── console │ │ │ ├── lib │ │ │ │ ├── html_inner_text.rb │ │ │ │ └── load_fixtures.rb │ │ │ └── database.yml │ │ └── init.rb │ ├── acts_as_sphinx │ │ ├── init.rb │ │ ├── install.rb │ │ └── README │ ├── attachment_fu │ │ ├── test │ │ │ ├── fixtures │ │ │ │ └── files │ │ │ │ │ ├── foo.txt │ │ │ │ │ ├── rails.png │ │ │ │ │ └── fake │ │ │ │ │ └── rails.png │ │ │ └── database.yml │ │ ├── .gitignore │ │ ├── install.rb │ │ └── amazon_s3.yml.tpl │ ├── bj │ │ ├── uninstall.rb │ │ ├── HISTORY │ │ ├── lib │ │ │ ├── bj │ │ │ │ └── errors.rb │ │ │ ├── main │ │ │ │ └── softspoken.rb │ │ │ └── orderedautohash.rb │ │ ├── tasks │ │ │ └── bj_tasks.rake │ │ └── test │ │ │ └── bj_test.rb │ ├── fixture_scenarios │ │ ├── install.rb │ │ ├── uninstall.rb │ │ ├── History.txt │ │ ├── init.rb │ │ └── test │ │ │ └── fixture_scenarios_test.rb │ ├── simply_versioned │ │ ├── init.rb │ │ ├── install.rb │ │ ├── uninstall.rb │ │ ├── rdoc │ │ │ └── created.rid │ │ ├── tasks │ │ │ └── simply_versioned_tasks.rake │ │ └── generators │ │ │ └── simply_versioned_migration │ │ │ └── simply_versioned_migration_generator.rb │ ├── exception_logger │ │ ├── uninstall.rb │ │ ├── install.rb │ │ ├── init.rb │ │ ├── views │ │ │ └── logged_exceptions │ │ │ │ ├── destroy.rjs │ │ │ │ ├── destroy_all.rjs │ │ │ │ ├── show.rjs │ │ │ │ ├── query.rjs │ │ │ │ └── _feed.rhtml │ │ ├── tasks │ │ │ └── exception_logger_tasks.rake │ │ └── test │ │ │ └── exception_logger_test.rb │ ├── form_test_helper │ │ ├── uninstall.rb │ │ ├── install.rb │ │ ├── TODO │ │ ├── test │ │ │ └── fixtures │ │ │ │ └── controllers │ │ │ │ ├── other_controller.rb │ │ │ │ └── admin │ │ │ │ └── namespaced_controller.rb │ │ ├── tasks │ │ │ └── form_test_helper_tasks.rake │ │ └── init.rb │ ├── association_pagination │ │ ├── init.rb │ │ └── lib │ │ │ └── association_pagination.rb │ ├── validates_email_veracity_of │ │ ├── init.rb │ │ └── test │ │ │ ├── rails_root │ │ │ ├── config │ │ │ │ ├── environments │ │ │ │ │ ├── mysql.rb │ │ │ │ │ ├── sqlite.rb │ │ │ │ │ ├── postgresql.rb │ │ │ │ │ └── sqlite3.rb │ │ │ │ └── environment.rb │ │ │ ├── app │ │ │ │ ├── models │ │ │ │ │ ├── email.rb │ │ │ │ │ ├── email_mx_only.rb │ │ │ │ │ ├── email_timeout.rb │ │ │ │ │ ├── email_skip_remote.rb │ │ │ │ │ ├── email_fail_on_timeout.rb │ │ │ │ │ └── email_invalid_domains.rb │ │ │ │ ├── helpers │ │ │ │ │ └── application_helper.rb │ │ │ │ └── controllers │ │ │ │ │ └── application.rb │ │ │ ├── script │ │ │ │ ├── console │ │ │ │ └── runner │ │ │ ├── vendor │ │ │ │ └── plugins │ │ │ │ │ └── phone_validation │ │ │ │ │ └── init.rb │ │ │ ├── validates_email_veracity_of_test.sqlite3.db │ │ │ ├── db │ │ │ │ └── migrate │ │ │ │ │ └── 001_create_emails.rb │ │ │ └── Rakefile │ │ │ └── fixtures │ │ │ └── email.yml │ ├── restful_authentication │ │ ├── install.rb │ │ └── generators │ │ │ └── authenticated │ │ │ ├── USAGE │ │ │ └── templates │ │ │ ├── helper.rb │ │ │ ├── model_helper.rb │ │ │ ├── activation.html.erb │ │ │ ├── signup_notification.html.erb │ │ │ └── observer.rb │ ├── hubahuba │ │ ├── init.rb │ │ └── lib │ │ │ ├── string.rb │ │ │ ├── enumerable.rb │ │ │ └── rails.rb │ ├── auto_migrations │ │ ├── init.rb │ │ ├── test │ │ │ └── auto_migrations_test.rb │ │ └── tasks │ │ │ └── auto_migrations_tasks.rake │ ├── fixture_scenarios_builder │ │ ├── install.rb │ │ ├── init.rb │ │ ├── lib │ │ │ └── fixture_scenarios_hack.rb │ │ └── tasks │ │ │ └── fixture_scenarios_builder_tasks.rake │ ├── test_spec_on_rails │ │ ├── test │ │ │ └── test_helper.rb │ │ ├── CHANGELOG │ │ └── lib │ │ │ └── test │ │ │ └── spec │ │ │ ├── rails │ │ │ ├── test_status.rb │ │ │ ├── test_template.rb │ │ │ ├── test_layout.rb │ │ │ └── should_validate.rb │ │ │ └── rails.rb │ └── request_timer │ │ └── init.rb ├── rails │ ├── railties │ │ ├── html │ │ │ ├── favicon.ico │ │ │ ├── images │ │ │ │ └── rails.png │ │ │ ├── javascripts │ │ │ │ └── application.js │ │ │ └── robots.txt │ │ ├── configs │ │ │ ├── empty.log │ │ │ ├── initializers │ │ │ │ ├── mime_types.rb │ │ │ │ └── inflections.rb │ │ │ └── databases │ │ │ │ └── sqlite2.yml │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── plugins │ │ │ │ │ ├── default │ │ │ │ │ │ ├── plugin_with_no_lib_dir │ │ │ │ │ │ │ └── init.rb │ │ │ │ │ │ └── stubby │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── stubby_mixin.rb │ │ │ │ │ │ │ ├── generators │ │ │ │ │ │ │ └── stubby_generator │ │ │ │ │ │ │ │ └── stubby_generator.rb │ │ │ │ │ │ │ └── init.rb │ │ │ │ │ └── alternate │ │ │ │ │ │ └── a │ │ │ │ │ │ └── generators │ │ │ │ │ │ └── a_generator │ │ │ │ │ │ └── a_generator.rb │ │ │ │ ├── lib │ │ │ │ │ └── generators │ │ │ │ │ │ ├── missing_class │ │ │ │ │ │ └── missing_class_generator.rb │ │ │ │ │ │ └── working │ │ │ │ │ │ └── working_generator.rb │ │ │ │ └── environment_with_constant.rb │ │ │ └── mocks │ │ │ │ └── routes.rb │ │ ├── lib │ │ │ ├── commands │ │ │ │ ├── about.rb │ │ │ │ ├── update.rb │ │ │ │ ├── performance │ │ │ │ │ └── request.rb │ │ │ │ ├── destroy.rb │ │ │ │ └── generate.rb │ │ │ ├── rails_generator │ │ │ │ ├── generators │ │ │ │ │ ├── components │ │ │ │ │ │ ├── mailer │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── view.rhtml │ │ │ │ │ │ │ │ ├── fixture.rhtml │ │ │ │ │ │ │ │ ├── view.erb │ │ │ │ │ │ │ │ ├── fixture.erb │ │ │ │ │ │ │ │ └── mailer.rb │ │ │ │ │ │ ├── plugin │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── init.rb │ │ │ │ │ │ │ │ ├── plugin.rb │ │ │ │ │ │ │ │ ├── install.rb │ │ │ │ │ │ │ │ ├── uninstall.rb │ │ │ │ │ │ │ │ ├── tasks.rake │ │ │ │ │ │ │ │ ├── USAGE │ │ │ │ │ │ │ │ ├── unit_test.rb │ │ │ │ │ │ │ │ ├── generator.rb │ │ │ │ │ │ │ │ └── README │ │ │ │ │ │ ├── controller │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ ├── view.html.erb │ │ │ │ │ │ │ │ ├── controller.rb │ │ │ │ │ │ │ │ └── functional_test.rb │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── model.rb │ │ │ │ │ │ │ │ ├── unit_test.rb │ │ │ │ │ │ │ │ └── migration.rb │ │ │ │ │ │ ├── resource │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ ├── controller.rb │ │ │ │ │ │ │ │ └── functional_test.rb │ │ │ │ │ │ ├── scaffold │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── helper.rb │ │ │ │ │ │ │ │ └── view_show.html.erb │ │ │ │ │ │ ├── observer │ │ │ │ │ │ │ └── templates │ │ │ │ │ │ │ │ ├── observer.rb │ │ │ │ │ │ │ │ └── unit_test.rb │ │ │ │ │ │ ├── integration_test │ │ │ │ │ │ │ ├── templates │ │ │ │ │ │ │ │ └── integration_test.rb │ │ │ │ │ │ │ └── USAGE │ │ │ │ │ │ └── session_migration │ │ │ │ │ │ │ └── USAGE │ │ │ │ │ └── applications │ │ │ │ │ │ └── app │ │ │ │ │ │ └── USAGE │ │ │ │ └── scripts │ │ │ │ │ ├── generate.rb │ │ │ │ │ └── update.rb │ │ │ ├── railties_path.rb │ │ │ ├── rails │ │ │ │ └── version.rb │ │ │ ├── tasks │ │ │ │ ├── log.rake │ │ │ │ ├── rails.rb │ │ │ │ └── misc.rake │ │ │ └── console_sandbox.rb │ │ ├── builtin │ │ │ └── rails_info │ │ │ │ ├── rails │ │ │ │ ├── info_helper.rb │ │ │ │ └── info_controller.rb │ │ │ │ └── rails_info_controller.rb │ │ ├── bin │ │ │ ├── about │ │ │ ├── console │ │ │ ├── destroy │ │ │ ├── plugin │ │ │ ├── runner │ │ │ ├── server │ │ │ ├── generate │ │ │ ├── process │ │ │ │ ├── reaper │ │ │ │ ├── spawner │ │ │ │ └── inspector │ │ │ └── performance │ │ │ │ ├── profiler │ │ │ │ ├── request │ │ │ │ └── benchmarker │ │ ├── helpers │ │ │ ├── application_helper.rb │ │ │ └── application.rb │ │ ├── doc │ │ │ └── README_FOR_APP │ │ └── fresh_rakefile │ ├── activerecord │ │ ├── .gitignore │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── all │ │ │ │ │ ├── tasks.yml │ │ │ │ │ ├── developers.yml │ │ │ │ │ └── people.csv │ │ │ │ ├── .gitignore │ │ │ │ ├── naked │ │ │ │ │ ├── csv │ │ │ │ │ │ └── accounts.csv │ │ │ │ │ └── yml │ │ │ │ │ │ ├── accounts.yml │ │ │ │ │ │ ├── courses.yml │ │ │ │ │ │ └── companies.yml │ │ │ │ ├── fk_test_has_pk.yml │ │ │ │ ├── minimalistics.yml │ │ │ │ ├── fk_test_has_fk.yml │ │ │ │ ├── items.yml │ │ │ │ ├── warehouse-things.yml │ │ │ │ ├── legacy_things.yml │ │ │ │ ├── computers.yml │ │ │ │ ├── reserved_words │ │ │ │ │ ├── distinct.yml │ │ │ │ │ ├── select.yml │ │ │ │ │ ├── values.yml │ │ │ │ │ ├── group.yml │ │ │ │ │ └── distincts_selects.yml │ │ │ │ ├── author_addresses.yml │ │ │ │ ├── author_favorites.yml │ │ │ │ ├── vertices.yml │ │ │ │ ├── tags.yml │ │ │ │ ├── people.yml │ │ │ │ ├── ships.yml │ │ │ │ ├── courses.yml │ │ │ │ ├── movies.yml │ │ │ │ ├── mixed_case_monkeys.yml │ │ │ │ ├── owners.yml │ │ │ │ ├── books.yml │ │ │ │ ├── projects.yml │ │ │ │ ├── edges.yml │ │ │ │ ├── readers.yml │ │ │ │ ├── subscribers.yml │ │ │ │ ├── mateys.yml │ │ │ │ ├── authors.yml │ │ │ │ ├── price_estimates.yml │ │ │ │ ├── categories │ │ │ │ │ ├── subsubdir │ │ │ │ │ │ └── arbitrary_filename.yml │ │ │ │ │ └── special_categories.yml │ │ │ │ ├── funny_jokes.yml │ │ │ │ ├── categories_ordered.yml │ │ │ │ ├── treasures.yml │ │ │ │ ├── pets.yml │ │ │ │ ├── tasks.yml │ │ │ │ ├── entrants.yml │ │ │ │ ├── pirates.yml │ │ │ │ ├── categories.yml │ │ │ │ ├── parrots_pirates.yml │ │ │ │ ├── categorizations.yml │ │ │ │ ├── developers.yml │ │ │ │ ├── developers_projects.yml │ │ │ │ ├── categories_posts.yml │ │ │ │ ├── customers.yml │ │ │ │ ├── accounts.yml │ │ │ │ └── taggings.yml │ │ │ ├── schema │ │ │ │ ├── openbase.drop.sql │ │ │ │ ├── db22.drop.sql │ │ │ │ ├── sqlite2.drop.sql │ │ │ │ ├── postgresql2.drop.sql │ │ │ │ ├── openbase2.drop.sql │ │ │ │ ├── sybase2.drop.sql │ │ │ │ ├── frontbase2.drop.sql │ │ │ │ ├── firebird2.drop.sql │ │ │ │ ├── oracle2.drop.sql │ │ │ │ ├── postgresql2.sql │ │ │ │ ├── frontbase2.sql │ │ │ │ ├── db22.sql │ │ │ │ ├── sybase2.sql │ │ │ │ ├── sqlite2.sql │ │ │ │ ├── openbase2.sql │ │ │ │ ├── oracle2.sql │ │ │ │ ├── firebird2.sql │ │ │ │ └── schema2.rb │ │ │ ├── models │ │ │ │ ├── binary.rb │ │ │ │ ├── default.rb │ │ │ │ ├── task.rb │ │ │ │ ├── minimalistic.rb │ │ │ │ ├── course.rb │ │ │ │ ├── entrant.rb │ │ │ │ ├── ship.rb │ │ │ │ ├── joke.rb │ │ │ │ ├── keyboard.rb │ │ │ │ ├── legacy_thing.rb │ │ │ │ ├── pet.rb │ │ │ │ ├── owner.rb │ │ │ │ ├── reader.rb │ │ │ │ ├── column_name.rb │ │ │ │ ├── mixed_case_monkey.rb │ │ │ │ ├── movie.rb │ │ │ │ ├── computer.rb │ │ │ │ ├── price_estimate.rb │ │ │ │ ├── matey.rb │ │ │ │ ├── subject.rb │ │ │ │ ├── categorization.rb │ │ │ │ ├── auto_id.rb │ │ │ │ ├── subscriber.rb │ │ │ │ ├── warehouse_thing.rb │ │ │ │ ├── item.rb │ │ │ │ ├── book.rb │ │ │ │ ├── treasure.rb │ │ │ │ ├── order.rb │ │ │ │ ├── tag.rb │ │ │ │ ├── pirate.rb │ │ │ │ ├── edge.rb │ │ │ │ ├── person.rb │ │ │ │ ├── citation.rb │ │ │ │ ├── parrot.rb │ │ │ │ ├── vertex.rb │ │ │ │ └── tagging.rb │ │ │ ├── assets │ │ │ │ ├── example.log │ │ │ │ └── flowers.jpg │ │ │ ├── migrations │ │ │ │ ├── duplicate │ │ │ │ │ ├── 3_foo.rb │ │ │ │ │ ├── 1_people_have_last_names.rb │ │ │ │ │ ├── 2_we_need_reminders.rb │ │ │ │ │ └── 3_innocent_jointable.rb │ │ │ │ ├── missing │ │ │ │ │ ├── 1_people_have_last_names.rb │ │ │ │ │ ├── 1000_people_have_middle_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 │ │ │ ├── config.rb │ │ │ └── cases │ │ │ │ └── connection_test_firebird.rb │ │ ├── lib │ │ │ ├── activerecord.rb │ │ │ └── active_record │ │ │ │ └── version.rb │ │ └── examples │ │ │ └── associations.png │ ├── actionpack │ │ ├── test │ │ │ ├── fixtures │ │ │ │ ├── test │ │ │ │ │ ├── _partial.erb │ │ │ │ │ ├── _hello.builder │ │ │ │ │ ├── _partial.js.erb │ │ │ │ │ ├── _partial.html.erb │ │ │ │ │ ├── _partial_only.erb │ │ │ │ │ ├── hello_world.erb │ │ │ │ │ ├── _customer.erb │ │ │ │ │ ├── _form.erb │ │ │ │ │ ├── greeting.erb │ │ │ │ │ ├── formatted_html_erb.html.erb │ │ │ │ │ ├── formatted_xml_erb.builder │ │ │ │ │ ├── hello_world_with_layout_false.erb │ │ │ │ │ ├── greeting.js.rjs │ │ │ │ │ ├── _labelling_form.erb │ │ │ │ │ ├── _person.erb │ │ │ │ │ ├── render_file_with_ivar.erb │ │ │ │ │ ├── render_file_with_locals.erb │ │ │ │ │ ├── formatted_xml_erb.html.erb │ │ │ │ │ ├── formatted_xml_erb.xml.erb │ │ │ │ │ ├── _customer_greeting.erb │ │ │ │ │ ├── _hash_greeting.erb │ │ │ │ │ ├── _partial_for_use_in_layout.html.erb │ │ │ │ │ ├── render_to_string_test.erb │ │ │ │ │ ├── _layout_for_partial.html.erb │ │ │ │ │ ├── dot.directory │ │ │ │ │ │ └── render_file_with_ivar.erb │ │ │ │ │ ├── _customer_counter.erb │ │ │ │ │ ├── action_talk_to_layout.erb │ │ │ │ │ ├── capturing.erb │ │ │ │ │ ├── _hash_object.erb │ │ │ │ │ ├── content_for.erb │ │ │ │ │ ├── hello_world_from_rxml.builder │ │ │ │ │ ├── block_content_for.erb │ │ │ │ │ ├── content_for_with_parameter.erb │ │ │ │ │ ├── delete_with_js.rjs │ │ │ │ │ ├── erb_content_for.erb │ │ │ │ │ ├── hello.builder │ │ │ │ │ ├── hello_world_container.builder │ │ │ │ │ ├── content_for_concatenated.erb │ │ │ │ │ ├── non_erb_block_content_for.builder │ │ │ │ │ ├── list.erb │ │ │ │ │ ├── using_layout_around_block.html.erb │ │ │ │ │ ├── calling_partial_with_layout.html.erb │ │ │ │ │ ├── potential_conflicts.erb │ │ │ │ │ ├── hello_xml_world.builder │ │ │ │ │ ├── enum_rjs_test.rjs │ │ │ │ │ └── update_element_with_capture.erb │ │ │ │ ├── public │ │ │ │ │ ├── javascripts │ │ │ │ │ │ ├── application.js │ │ │ │ │ │ ├── bank.js │ │ │ │ │ │ └── robber.js │ │ │ │ │ ├── 404.html │ │ │ │ │ ├── 500.html │ │ │ │ │ ├── stylesheets │ │ │ │ │ │ ├── bank.css │ │ │ │ │ │ └── robber.css │ │ │ │ │ └── images │ │ │ │ │ │ └── rails.png │ │ │ │ ├── topics │ │ │ │ │ └── _topic.html.erb │ │ │ │ ├── layout_tests │ │ │ │ │ ├── views │ │ │ │ │ │ └── hello.rhtml │ │ │ │ │ ├── alt │ │ │ │ │ │ └── hello.rhtml │ │ │ │ │ └── layouts │ │ │ │ │ │ ├── item.rhtml │ │ │ │ │ │ ├── third_party_template_library.mab │ │ │ │ │ │ ├── layout_test.rhtml │ │ │ │ │ │ ├── multiple_extensions.html.erb │ │ │ │ │ │ └── controller_name_space │ │ │ │ │ │ └── nested.rhtml │ │ │ │ ├── post_test │ │ │ │ │ ├── post │ │ │ │ │ │ ├── index.html.erb │ │ │ │ │ │ └── index.iphone.erb │ │ │ │ │ ├── super_post │ │ │ │ │ │ ├── index.html.erb │ │ │ │ │ │ └── index.iphone.erb │ │ │ │ │ └── layouts │ │ │ │ │ │ ├── post.html.erb │ │ │ │ │ │ └── super_post.iphone.erb │ │ │ │ ├── fun │ │ │ │ │ └── games │ │ │ │ │ │ └── hello_world.erb │ │ │ │ ├── override2 │ │ │ │ │ └── layouts │ │ │ │ │ │ └── test │ │ │ │ │ │ └── sub.erb │ │ │ │ ├── respond_to │ │ │ │ │ ├── using_defaults.html.erb │ │ │ │ │ ├── using_defaults.xml.builder │ │ │ │ │ ├── using_defaults_with_type_list.html.erb │ │ │ │ │ ├── custom_constant_handling_without_block.mobile.erb │ │ │ │ │ ├── using_defaults.js.rjs │ │ │ │ │ ├── all_types_with_layout.html.erb │ │ │ │ │ ├── using_defaults_with_type_list.xml.builder │ │ │ │ │ ├── all_types_with_layout.js.rjs │ │ │ │ │ ├── iphone_with_html_response_type.html.erb │ │ │ │ │ ├── layouts │ │ │ │ │ │ ├── standard.html.erb │ │ │ │ │ │ ├── missing.html.erb │ │ │ │ │ │ └── standard.iphone.erb │ │ │ │ │ ├── using_defaults_with_type_list.js.rjs │ │ │ │ │ └── iphone_with_html_response_type.iphone.erb │ │ │ │ ├── scope │ │ │ │ │ └── test │ │ │ │ │ │ └── modgreet.erb │ │ │ │ ├── addresses │ │ │ │ │ └── list.erb │ │ │ │ ├── override │ │ │ │ │ └── test │ │ │ │ │ │ └── hello_world.erb │ │ │ │ ├── content_type │ │ │ │ │ ├── render_default_for_rhtml.rhtml │ │ │ │ │ ├── render_default_for_rjs.rjs │ │ │ │ │ ├── render_default_for_rxml.rxml │ │ │ │ │ └── render_default_content_types_for_respond_to.rhtml │ │ │ │ ├── customers │ │ │ │ │ └── _customer.html.erb │ │ │ │ ├── layouts │ │ │ │ │ ├── yield.erb │ │ │ │ │ ├── builder.builder │ │ │ │ │ ├── standard.erb │ │ │ │ │ ├── talk_from_action.erb │ │ │ │ │ ├── partial_with_layout.erb │ │ │ │ │ └── block_with_layout.erb │ │ │ │ ├── helpers │ │ │ │ │ ├── fun │ │ │ │ │ │ ├── pdf_helper.rb │ │ │ │ │ │ └── games_helper.rb │ │ │ │ │ └── abc_helper.rb │ │ │ │ ├── functional_caching │ │ │ │ │ ├── _partial.erb │ │ │ │ │ ├── html_fragment_cached_with_partial.html.erb │ │ │ │ │ ├── fragment_cached.html.erb │ │ │ │ │ └── js_fragment_cached_with_partial.js.rjs │ │ │ │ ├── topic.rb │ │ │ │ ├── project.rb │ │ │ │ ├── multipart │ │ │ │ │ ├── single_parameter │ │ │ │ │ ├── bracketed_param │ │ │ │ │ ├── binary_file │ │ │ │ │ ├── mixed_files │ │ │ │ │ ├── mona_lisa.jpg │ │ │ │ │ └── text_file │ │ │ │ ├── projects.yml │ │ │ │ ├── reply.rb │ │ │ │ ├── company.rb │ │ │ │ ├── developer.rb │ │ │ │ ├── developers_projects.yml │ │ │ │ ├── replies.yml │ │ │ │ ├── developers.yml │ │ │ │ └── companies.yml │ │ │ ├── controller │ │ │ │ ├── controller_fixtures │ │ │ │ │ ├── app │ │ │ │ │ │ └── controllers │ │ │ │ │ │ │ ├── user_controller.rb │ │ │ │ │ │ │ └── admin │ │ │ │ │ │ │ └── user_controller.rb │ │ │ │ │ └── vendor │ │ │ │ │ │ └── plugins │ │ │ │ │ │ └── bad_plugin │ │ │ │ │ │ └── lib │ │ │ │ │ │ └── plugin_controller.rb │ │ │ │ └── fake_models.rb │ │ │ ├── testing_sandbox.rb │ │ │ └── adv_attr_test.rb │ │ └── lib │ │ │ ├── actionpack.rb │ │ │ ├── action_controller │ │ │ ├── templates │ │ │ │ └── rescues │ │ │ │ │ ├── unknown_action.erb │ │ │ │ │ ├── missing_template.erb │ │ │ │ │ ├── routing_error.erb │ │ │ │ │ └── diagnostics.erb │ │ │ ├── session │ │ │ │ └── mem_cache_store.rb │ │ │ ├── vendor │ │ │ │ └── html-scanner │ │ │ │ │ └── html │ │ │ │ │ └── version.rb │ │ │ └── cgi_ext.rb │ │ │ └── action_pack │ │ │ └── version.rb │ ├── activesupport │ │ ├── test │ │ │ ├── dependencies │ │ │ │ ├── conflict.rb │ │ │ │ ├── service_two.rb │ │ │ │ ├── requires_nonexistent0.rb │ │ │ │ ├── requires_nonexistent1.rb │ │ │ │ ├── cross_site_depender.rb │ │ │ │ ├── check_warnings.rb │ │ │ │ ├── service_one.rb │ │ │ │ ├── mutual_one.rb │ │ │ │ ├── mutual_two.rb │ │ │ │ └── raises_exception.rb │ │ │ ├── autoloading_fixtures │ │ │ │ ├── e.rb │ │ │ │ ├── a │ │ │ │ │ ├── b.rb │ │ │ │ │ └── c │ │ │ │ │ │ ├── d.rb │ │ │ │ │ │ └── e │ │ │ │ │ │ └── f.rb │ │ │ │ ├── conflict.rb │ │ │ │ ├── application.rb │ │ │ │ ├── cross_site_dependency.rb │ │ │ │ ├── raises_name_error.rb │ │ │ │ ├── class_folder │ │ │ │ │ ├── inline_class.rb │ │ │ │ │ ├── class_folder_subclass.rb │ │ │ │ │ └── nested_class.rb │ │ │ │ ├── module_folder │ │ │ │ │ ├── inline_class.rb │ │ │ │ │ ├── nested_sibling.rb │ │ │ │ │ └── nested_class.rb │ │ │ │ ├── module_with_custom_const_missing │ │ │ │ │ └── a │ │ │ │ │ │ └── b.rb │ │ │ │ ├── class_folder.rb │ │ │ │ ├── multiple_constant_file.rb │ │ │ │ ├── raises_no_method_error.rb │ │ │ │ └── counting_loader.rb │ │ │ └── core_ext │ │ │ │ ├── symbol_test.rb │ │ │ │ ├── pathname_test.rb │ │ │ │ ├── proc_test.rb │ │ │ │ ├── bigdecimal.rb │ │ │ │ └── base64_ext_test.rb │ │ └── lib │ │ │ ├── activesupport.rb │ │ │ └── active_support │ │ │ ├── core_ext │ │ │ ├── test.rb │ │ │ ├── bigdecimal.rb │ │ │ ├── float.rb │ │ │ ├── cgi.rb │ │ │ ├── base64.rb │ │ │ ├── pathname.rb │ │ │ ├── object.rb │ │ │ ├── benchmark.rb │ │ │ ├── class.rb │ │ │ ├── kernel.rb │ │ │ ├── integer.rb │ │ │ ├── string │ │ │ │ └── xchar.rb │ │ │ ├── module │ │ │ │ ├── loading.rb │ │ │ │ └── inclusion.rb │ │ │ ├── array │ │ │ │ └── random_access.rb │ │ │ ├── range │ │ │ │ └── overlaps.rb │ │ │ ├── date │ │ │ │ └── behavior.rb │ │ │ ├── time │ │ │ │ └── behavior.rb │ │ │ ├── proc.rb │ │ │ ├── numeric.rb │ │ │ ├── date.rb │ │ │ ├── kernel │ │ │ │ └── agnostics.rb │ │ │ ├── pathname │ │ │ │ └── clean_within.rb │ │ │ ├── module.rb │ │ │ ├── object │ │ │ │ └── conversions.rb │ │ │ ├── base64 │ │ │ │ └── encoding.rb │ │ │ └── cgi │ │ │ │ └── escape_skipping_slashes.rb │ │ │ ├── json │ │ │ ├── encoders │ │ │ │ ├── numeric.rb │ │ │ │ ├── regexp.rb │ │ │ │ ├── nil_class.rb │ │ │ │ ├── true_class.rb │ │ │ │ ├── false_class.rb │ │ │ │ ├── date.rb │ │ │ │ ├── symbol.rb │ │ │ │ ├── date_time.rb │ │ │ │ ├── time.rb │ │ │ │ ├── object.rb │ │ │ │ └── enumerable.rb │ │ │ └── variable.rb │ │ │ ├── values │ │ │ └── unicode_tables.dat │ │ │ ├── core_ext.rb │ │ │ ├── version.rb │ │ │ ├── testing │ │ │ └── default.rb │ │ │ ├── multibyte.rb │ │ │ ├── cache │ │ │ └── drb_store.rb │ │ │ ├── test_case.rb │ │ │ ├── multibyte │ │ │ └── handlers │ │ │ │ └── passthru_handler.rb │ │ │ ├── vendor │ │ │ └── builder-2.1.2 │ │ │ │ └── builder.rb │ │ │ └── base64.rb │ ├── actionmailer │ │ ├── lib │ │ │ ├── actionmailer.rb │ │ │ └── action_mailer │ │ │ │ ├── vendor │ │ │ │ └── tmail-1.2.2 │ │ │ │ │ ├── tmail │ │ │ │ │ ├── loader.rb │ │ │ │ │ ├── mbox.rb │ │ │ │ │ ├── main.rb │ │ │ │ │ └── index.rb │ │ │ │ │ └── tmail.rb │ │ │ │ ├── version.rb │ │ │ │ ├── utils.rb │ │ │ │ └── vendor.rb │ │ └── test │ │ │ └── fixtures │ │ │ ├── first_mailer │ │ │ └── share.erb │ │ │ ├── second_mailer │ │ │ └── share.erb │ │ │ ├── test_mailer │ │ │ ├── _subtemplate.text.plain.erb │ │ │ ├── rxml_template.rxml │ │ │ ├── rxml_template.builder │ │ │ ├── signed_up.erb │ │ │ ├── implicitly_multipart_example.text.yaml.erb │ │ │ ├── included_subtemplate.text.plain.erb │ │ │ ├── implicitly_multipart_example.ignored.erb │ │ │ ├── implicitly_multipart_example.rhtml.bak │ │ │ ├── custom_templating_extension.text.html.haml │ │ │ ├── custom_templating_extension.text.plain.haml │ │ │ ├── implicitly_multipart_example.text.plain.erb │ │ │ ├── signed_up_with_url.erb │ │ │ └── implicitly_multipart_example.text.html.erb │ │ │ ├── templates │ │ │ └── signed_up.erb │ │ │ ├── helper_mailer │ │ │ ├── use_example_helper.erb │ │ │ ├── use_helper.erb │ │ │ ├── use_helper_method.erb │ │ │ └── use_mail_helper.erb │ │ │ ├── path.with.dots │ │ │ └── funky_path_mailer │ │ │ │ └── multipart_with_template_path_with_dots.erb │ │ │ ├── raw_base64_decoded_string │ │ │ └── helpers │ │ │ └── example_helper.rb │ ├── activeresource │ │ ├── lib │ │ │ ├── activeresource.rb │ │ │ └── active_resource │ │ │ │ ├── version.rb │ │ │ │ └── formats │ │ │ │ └── json_format.rb │ │ └── test │ │ │ ├── fixtures │ │ │ ├── person.rb │ │ │ ├── street_address.rb │ │ │ └── beast.rb │ │ │ └── abstract_unit.rb │ ├── activemodel │ │ ├── lib │ │ │ └── active_model │ │ │ │ ├── base.rb │ │ │ │ ├── validations.rb │ │ │ │ └── callbacks.rb │ │ ├── Rakefile │ │ ├── CHANGES │ │ └── spec │ │ │ └── spec_helper.rb │ └── cleanlogs.sh └── gems │ └── test-spec-0.3.0 │ ├── ROADMAP │ ├── TODO │ └── test │ └── spec_testspec_order.rb ├── app ├── helpers │ ├── users_helper.rb │ ├── tasks_helper.rb │ ├── sessions_helper.rb │ └── application_helper.rb ├── views │ ├── tasks │ │ ├── index.html.erb │ │ └── show.html.erb │ └── sessions │ │ └── new.html.erb └── controllers │ ├── favorites_controller.rb │ └── application.rb ├── db ├── development.sqlite3 └── migrate │ ├── 004_add_favorite_tasks_table.rb │ ├── 001_create_tasks.rb │ └── 003_simply_versioned_migration.rb ├── script ├── about ├── plugin ├── runner ├── server ├── console ├── destroy ├── generate ├── process │ ├── reaper │ ├── spawner │ └── inspector └── performance │ ├── profiler │ ├── request │ └── benchmarker ├── config ├── initializers │ ├── mime_types.rb │ └── inflections.rb ├── routes.rb ├── database.yml └── environments │ └── production.rb ├── lib ├── tasks │ ├── bootstrap.rake │ └── environment.rake └── authenticated_test_helper.rb ├── .gitignore ├── Rakefile └── doc └── ideas.txt /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models: -------------------------------------------------------------------------------- 1 | unit -------------------------------------------------------------------------------- /test/controllers: -------------------------------------------------------------------------------- 1 | functional -------------------------------------------------------------------------------- /test/fixtures/tasks/version.task: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/CHANGELOG: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/html/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/empty.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/javascripts/jquery.js: -------------------------------------------------------------------------------- 1 | jquery-1.2.3.min.js -------------------------------------------------------------------------------- /vendor/rails/activerecord/.gitignore: -------------------------------------------------------------------------------- 1 | debug.log -------------------------------------------------------------------------------- /app/helpers/users_helper.rb: -------------------------------------------------------------------------------- 1 | module UsersHelper 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/tasks.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/tasks_helper.rb: -------------------------------------------------------------------------------- 1 | module TasksHelper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/.gitignore: -------------------------------------------------------------------------------- 1 | /pkg 2 | /doc 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/developers.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/all/people.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/helpers/sessions_helper.rb: -------------------------------------------------------------------------------- 1 | module SessionsHelper 2 | end -------------------------------------------------------------------------------- /vendor/plugins/acts_as_sphinx/init.rb: -------------------------------------------------------------------------------- 1 | require "acts_as_sphinx" -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/foo.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /vendor/plugins/bj/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.erb: -------------------------------------------------------------------------------- 1 | invalid -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/actionpack.rb: -------------------------------------------------------------------------------- 1 | require 'action_pack' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_hello.builder: -------------------------------------------------------------------------------- 1 | xm.hello -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.js.erb: -------------------------------------------------------------------------------- 1 | partial js -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 1 -------------------------------------------------------------------------------- /vendor/plugins/acts_as_sphinx/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/init.rb: -------------------------------------------------------------------------------- 1 | require 'simply_versioned' 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/install.rb: -------------------------------------------------------------------------------- 1 | # Install hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/actionmailer.rb: -------------------------------------------------------------------------------- 1 | require 'action_mailer' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial.html.erb: -------------------------------------------------------------------------------- 1 | partial html -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_partial_only.erb: -------------------------------------------------------------------------------- 1 | only partial -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/lib/activerecord.rb: -------------------------------------------------------------------------------- 1 | require 'active_record' 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml: -------------------------------------------------------------------------------- 1 | qwerty 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/openbase.drop.sql: -------------------------------------------------------------------------------- 1 | DROP ALL 2 | go -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/e.rb: -------------------------------------------------------------------------------- 1 | class E 2 | end -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/uninstall.rb: -------------------------------------------------------------------------------- 1 | # Uninstall hook code here 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb: -------------------------------------------------------------------------------- 1 | first mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/404.html: -------------------------------------------------------------------------------- 1 | 404 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/500.html: -------------------------------------------------------------------------------- 1 | 500 error fixture 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js: -------------------------------------------------------------------------------- 1 | // bank js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js: -------------------------------------------------------------------------------- 1 | // robber js -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb: -------------------------------------------------------------------------------- 1 | <%= topic.title %> -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/db22.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sqlite2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /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/conflict.rb: -------------------------------------------------------------------------------- 1 | Conflict = 2 -------------------------------------------------------------------------------- /vendor/plugins/association_pagination/init.rb: -------------------------------------------------------------------------------- 1 | require 'association_pagination' 2 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/.gitignore: -------------------------------------------------------------------------------- 1 | test/amazon_s3.yml 2 | test/debug.log 3 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/init.rb: -------------------------------------------------------------------------------- 1 | require 'validation_extensions' -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb: -------------------------------------------------------------------------------- 1 | second mail 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml: -------------------------------------------------------------------------------- 1 | hello.rhtml -------------------------------------------------------------------------------- /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/public/stylesheets/bank.css: -------------------------------------------------------------------------------- 1 | /* bank.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css: -------------------------------------------------------------------------------- 1 | /* robber.css */ -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_customer.erb: -------------------------------------------------------------------------------- 1 | Hello: <%= customer.name %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_form.erb: -------------------------------------------------------------------------------- 1 | <%= form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.erb: -------------------------------------------------------------------------------- 1 |
This is grand!
2 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/minimalistics.yml: -------------------------------------------------------------------------------- 1 | first: 2 | id: 1 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/postgresql2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses; 2 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/activeresource.rb: -------------------------------------------------------------------------------- 1 | require 'active_resource' 2 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb: -------------------------------------------------------------------------------- 1 | class A::C::D 2 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/dependencies/service_two.rb: -------------------------------------------------------------------------------- 1 | class ServiceTwo 2 | end -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/rdoc/created.rid: -------------------------------------------------------------------------------- 1 | Sun, 30 Dec 2007 11:52:57 +0000 2 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/mysql.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/sqlite.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb: -------------------------------------------------------------------------------- 1 | let's go! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb: -------------------------------------------------------------------------------- 1 | Living in a nested world -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml: -------------------------------------------------------------------------------- 1 | alt/hello.rhtml 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb: -------------------------------------------------------------------------------- 1 | layout: <%= yield %> -------------------------------------------------------------------------------- /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/respond_to/using_defaults.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb: -------------------------------------------------------------------------------- 1 |Beautiful modules!
-------------------------------------------------------------------------------- /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/hello_world_with_layout_false.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/binary.rb: -------------------------------------------------------------------------------- 1 | class Binary < ActiveRecord::Base 2 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/openbase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses 2 | go 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sybase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses 2 | go 3 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb: -------------------------------------------------------------------------------- 1 | class A::C::E::F 2 | end -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/ROADMAP: -------------------------------------------------------------------------------- 1 | Version 1.0 (February 2006):: first stable release. 2 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/postgresql.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environments/sqlite3.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/addresses/list.erb: -------------------------------------------------------------------------------- 1 | We only need to get this far! 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml: -------------------------------------------------------------------------------- 1 | item.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb: -------------------------------------------------------------------------------- 1 | Hello overridden world! -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/frontbase2.drop.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE courses CASCADE; 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/commands/about.rb: -------------------------------------------------------------------------------- 1 | require 'environment' 2 | puts Rails::Info 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db/development.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/db/development.sqlite3 -------------------------------------------------------------------------------- /public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/public/images/rails.png -------------------------------------------------------------------------------- /public/images/sake.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/public/images/sake.gif -------------------------------------------------------------------------------- /vendor/plugins/bj/HISTORY: -------------------------------------------------------------------------------- 1 | 2 | 2007-12-18T14:19:22.86-07:00 3 | - corrected install libs 4 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/user.rb: -------------------------------------------------------------------------------- 1 | class User < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab: -------------------------------------------------------------------------------- 1 | Mab -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder: -------------------------------------------------------------------------------- 1 | xml.p "Hello world!" -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /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/items.yml: -------------------------------------------------------------------------------- 1 | dvd: 2 | id: 1 3 | name: Godfather 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/warehouse-things.yml: -------------------------------------------------------------------------------- 1 | one: 2 | id: 1 3 | value: 1000 -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/default.rb: -------------------------------------------------------------------------------- 1 | class Default < ActiveRecord::Base 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/task.rb: -------------------------------------------------------------------------------- 1 | class Task < ActiveRecord::Base 2 | 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/application.rb: -------------------------------------------------------------------------------- 1 | ApplicationController = 10 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/builtin/rails_info/rails/info_helper.rb: -------------------------------------------------------------------------------- 1 | module Rails::InfoHelper 2 | end 3 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder: -------------------------------------------------------------------------------- 1 | xml.instruct! 2 | xml.test -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/respond_to/using_defaults_with_type_list.html.erb: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb: -------------------------------------------------------------------------------- 1 | <%= labelling_form.label :title %> 2 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/_person.erb: -------------------------------------------------------------------------------- 1 | Second: <%= name %> 2 | Third: <%= @name %> 3 | -------------------------------------------------------------------------------- /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/activemodel/lib/active_model/base.rb: -------------------------------------------------------------------------------- 1 | module ActiveModel 2 | class Base 3 | end 4 | end -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml: -------------------------------------------------------------------------------- 1 | # i wonder what will happen here 2 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/railties_path.rb: -------------------------------------------------------------------------------- 1 | RAILTIES_PATH = File.join(File.dirname(__FILE__), '..') 2 | -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/TODO: -------------------------------------------------------------------------------- 1 | - see ROADMAP 2 | - better handling of .should outside of specify(?) 3 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/install.rb: -------------------------------------------------------------------------------- 1 | puts IO.read(File.join(File.dirname(__FILE__), 'README')) -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/loader.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/mailbox' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/mbox.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/mailbox' 2 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb: -------------------------------------------------------------------------------- 1 | Hello there, 2 | 3 | Mr. <%= @recipient %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml: -------------------------------------------------------------------------------- 1 | layout_test.rhtml <%= yield %> -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb: -------------------------------------------------------------------------------- 1 | Mobile -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs: -------------------------------------------------------------------------------- 1 | page[:body].visual_effect :highlight -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb: -------------------------------------------------------------------------------- 1 |<%=h @exception.message %>
3 | -------------------------------------------------------------------------------- /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/js_fragment_cached_with_partial.js.rjs: -------------------------------------------------------------------------------- 1 | page.replace_html 'notices', :partial => 'partial' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb: -------------------------------------------------------------------------------- 1 |<%=h @exception.message %>
3 | -------------------------------------------------------------------------------- /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/multipart/single_parameter: -------------------------------------------------------------------------------- 1 | --AaB03x 2 | Content-Disposition: form-data; name="foo" 3 | 4 | bar 5 | --AaB03x-- 6 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/examples/associations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/activerecord/examples/associations.png -------------------------------------------------------------------------------- /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/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/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/schema/sybase2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id int NOT NULL PRIMARY KEY, 3 | name varchar(255) NOT NULL 4 | ) 5 | go 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb: -------------------------------------------------------------------------------- 1 | require 'bigdecimal' 2 | require 'active_support/core_ext/bigdecimal/conversions' 3 | -------------------------------------------------------------------------------- /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_no_method_error.rb: -------------------------------------------------------------------------------- 1 | class RaisesNoMethodError 2 | self.foobar_method_doesnt_exist 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb: -------------------------------------------------------------------------------- 1 | <%= class_name %>#<%= action %> 2 | 3 | Find me in <%= path %> 4 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /script/performance/benchmarker: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/benchmarker' 4 | -------------------------------------------------------------------------------- /test/fixtures/tasks/spec.task: -------------------------------------------------------------------------------- 1 | desc 'Show specs when testing' 2 | task 'spec' do 3 | ENV["TESTOPTS"] = "--runner=s" 4 | Rake::Task[:test].invoke 5 | end 6 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/fixtures/email.yml: -------------------------------------------------------------------------------- 1 | fake: 2 | address: test@fakefakefake.com 3 | real: 4 | address: wesley.moxam@savvica.com 5 | -------------------------------------------------------------------------------- /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/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/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/models/price_estimate.rb: -------------------------------------------------------------------------------- 1 | class PriceEstimate < ActiveRecord::Base 2 | belongs_to :estimate_of, :polymorphic => true 3 | end 4 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/sqlite2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE 'courses' ( 2 | 'id' INTEGER NOT NULL PRIMARY KEY, 3 | 'name' VARCHAR(255) NOT NULL 4 | ); 5 | -------------------------------------------------------------------------------- /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/regexp.rb: -------------------------------------------------------------------------------- 1 | class Regexp 2 | def to_json(options = nil) #:nodoc: 3 | inspect 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/reaper: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/reaper' 4 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/spawner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/spawner' 4 | -------------------------------------------------------------------------------- /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/observer/templates/observer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Observer < ActiveRecord::Observer 2 | end 3 | -------------------------------------------------------------------------------- /test/fixtures/tasks/testing.task: -------------------------------------------------------------------------------- 1 | desc 'Runs the following task in the test environment' 2 | task 'testing' do 3 | RAILS_ENV = ENV["RAILS_ENV"] = "test" 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/attachment_fu/test/fixtures/files/rails.png -------------------------------------------------------------------------------- /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/test_mailer/custom_templating_extension.text.html.haml: -------------------------------------------------------------------------------- 1 | %p Hello there, 2 | 3 | %p 4 | Mr. 5 | = @recipient 6 | from haml -------------------------------------------------------------------------------- /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/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/subject.rb: -------------------------------------------------------------------------------- 1 | # used for OracleSynonymTest, see test/synonym_test_oci.rb 2 | # 3 | class Subject < ActiveRecord::Base 4 | end 5 | -------------------------------------------------------------------------------- /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/true_class.rb: -------------------------------------------------------------------------------- 1 | class TrueClass 2 | def to_json(options = nil) #:nodoc: 3 | 'true' 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/railties/bin/process/inspector: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/process/inspector' 4 | -------------------------------------------------------------------------------- /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/plugins/cache_fu/lib/acts_as_cached/cache_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/cache_fu/lib/acts_as_cached/cache_methods.rb -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/tasks/exception_logger_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :exception_logger do 3 | # # Task goes here 4 | # end -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/tasks/form_test_helper_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :form_test_helper do 3 | # # Task goes here 4 | # end -------------------------------------------------------------------------------- /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.text.plain.erb: -------------------------------------------------------------------------------- 1 | Plain text to <%= @recipient %>. 2 | Plain text to <%= @recipient %>. 3 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/binary_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/binary_file -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mixed_files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/mixed_files -------------------------------------------------------------------------------- /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/non_erb_block_content_for.builder: -------------------------------------------------------------------------------- 1 | content_for :title do 2 | 'Putting stuff in the title!' 3 | end 4 | xml << "\nGreat stuff!" -------------------------------------------------------------------------------- /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/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/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/performance/request: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../../config/boot' 3 | require 'commands/performance/request' 4 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/plugins/attachment_fu/test/fixtures/files/fake/rails.png -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/show.rjs: -------------------------------------------------------------------------------- 1 | page[:showpage].replace_html :partial => "show" 2 | page[:showpage].visual_effect :blind_down, :duration => 0.25 -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios/init.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit/testcase' 2 | require 'test/unit/testsuite' 3 | require 'active_record/fixtures' 4 | 5 | require 'fixture_scenarios' -------------------------------------------------------------------------------- /vendor/plugins/simply_versioned/tasks/simply_versioned_tasks.rake: -------------------------------------------------------------------------------- 1 | # desc "Explaining what the task does" 2 | # task :simply_versioned do 3 | # # Task goes here 4 | # end 5 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/models/email.rb: -------------------------------------------------------------------------------- 1 | class Email < ActiveRecord::Base 2 | 3 | validates_email_veracity_of :address 4 | 5 | end -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/script/console: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/console' -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/script/runner: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require File.dirname(__FILE__) + '/../config/boot' 3 | require 'commands/runner' -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg -------------------------------------------------------------------------------- /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/public/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/test/fixtures/public/images/rails.png -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/fixtures/test/list.erb: -------------------------------------------------------------------------------- 1 | <%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %> 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/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/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/lib/rails_generator/generators/components/controller/templates/view.html.erb: -------------------------------------------------------------------------------- 1 |Find me in <%= path %>
3 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Mime::Type.register "text/richtext", :rtf 2 | Mime::Type.register_alias "text/plain", :ruby 3 | Mime::Type.register_alias "text/plain", :rb 4 | -------------------------------------------------------------------------------- /test/fixtures/tasks/production.task: -------------------------------------------------------------------------------- 1 | desc 'Runs the following task in the production environment' 2 | task 'production' do 3 | RAILS_ENV = ENV["RAILS_ENV"] = 'production' 4 | end 5 | -------------------------------------------------------------------------------- /vendor/plugins/exception_logger/views/logged_exceptions/query.rjs: -------------------------------------------------------------------------------- 1 | page[:exceptions].replace :partial => "exceptions" 2 | page[:showpage].hide 3 | page[:feed].replace :partial => 'feed' -------------------------------------------------------------------------------- /vendor/plugins/form_test_helper/test/fixtures/controllers/admin/namespaced_controller.rb: -------------------------------------------------------------------------------- 1 | module Admin 2 | class NamespacedController < TestController 3 | 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/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/actionmailer/test/fixtures/raw_base64_decoded_string: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionmailer/test/fixtures/raw_base64_decoded_string -------------------------------------------------------------------------------- /vendor/rails/activemodel/Rakefile: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | $LOAD_PATH << File.join(File.dirname(__FILE__), 'vendor', 'rspec', 'lib') 3 | require 'rake' 4 | require 'spec/rake/spectask' -------------------------------------------------------------------------------- /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/models/categorization.rb: -------------------------------------------------------------------------------- 1 | class Categorization < ActiveRecord::Base 2 | belongs_to :post 3 | belongs_to :category 4 | belongs_to :author 5 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/date.rb: -------------------------------------------------------------------------------- 1 | class Date 2 | def to_json(options = nil) #:nodoc: 3 | %("#{strftime("%Y/%m/%d")}") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb: -------------------------------------------------------------------------------- 1 | class ClassFolder::ClassFolderSubclass < ClassFolder 2 | ConstantInClassFolder 3 | end 4 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/reply.rb: -------------------------------------------------------------------------------- 1 | class Reply < ActiveRecord::Base 2 | belongs_to :topic, :include => [:replies] 3 | 4 | validates_presence_of :content 5 | end 6 | -------------------------------------------------------------------------------- /vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/version' 2 | require 'tmail/mail' 3 | require 'tmail/mailbox' 4 | require 'tmail/core_extensions' 5 | -------------------------------------------------------------------------------- /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/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/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/subscriber.rb: -------------------------------------------------------------------------------- 1 | class Subscriber < ActiveRecord::Base 2 | set_primary_key 'nick' 3 | end 4 | 5 | class SpecialSubscriber < Subscriber 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/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/actionmailer/lib/action_mailer/vendor/tmail-1.2.2/tmail/main.rb: -------------------------------------------------------------------------------- 1 | require 'tmail/version' 2 | require 'tmail/mail' 3 | require 'tmail/mailbox' 4 | require 'tmail/core_extensions' 5 | -------------------------------------------------------------------------------- /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/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/schema/openbase2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE courses ( 2 | id integer UNIQUE INDEX DEFAULT _rowid, 3 | name text 4 | ) 5 | go 6 | CREATE PRIMARY KEY courses (id) 7 | go -------------------------------------------------------------------------------- /public/javascripts/application.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | /* $('#favorite_task').ajaxForm(function(res) { 3 | $('#favorite_task').find(':input').val(res.respondText) 4 | }) 5 | */ 6 | }) 7 | -------------------------------------------------------------------------------- /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/actionpack/lib/action_controller/session/mem_cache_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb -------------------------------------------------------------------------------- /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/values/unicode_tables.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/defunkt/sakerb/master/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat -------------------------------------------------------------------------------- /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/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/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/activesupport/lib/active_support/json/encoders/date_time.rb: -------------------------------------------------------------------------------- 1 | class DateTime 2 | def to_json(options = nil) #:nodoc: 3 | %("#{strftime("%Y/%m/%d %H:%M:%S %z")}") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /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/plugins/bj/test/bj_test.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit' 2 | 3 | class BjTest < Test::Unit::TestCase 4 | # Replace this with your real tests. 5 | def test_this_plugin 6 | flunk 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/topic.rb: -------------------------------------------------------------------------------- 1 | class Topic < ActiveRecord::Base 2 | has_many :replies, :dependent => :destroy, :order => 'replies.created_at DESC' 3 | belongs_to :project 4 | end 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/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/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/schema/oracle2.sql: -------------------------------------------------------------------------------- 1 | create table courses ( 2 | id int not null primary key, 3 | name varchar(255) not null 4 | ); 5 | 6 | create sequence courses_seq minvalue 10000; 7 | -------------------------------------------------------------------------------- /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/actionpack/test/fixtures/reply.rb: -------------------------------------------------------------------------------- 1 | class Reply < ActiveRecord::Base 2 | belongs_to :topic, :include => [:replies] 3 | belongs_to :developer 4 | 5 | validates_presence_of :content 6 | end 7 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/views/tasks/index.html.erb: -------------------------------------------------------------------------------- 1 |For security purposes, this information is only available to local requests.
', :status => 500 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /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/plugins/simply_versioned/generators/simply_versioned_migration/simply_versioned_migration_generator.rb: -------------------------------------------------------------------------------- 1 | class SimplyVersionedMigrationGenerator < Rails::Generator::Base 2 | def manifest 3 | record do |m| 4 | m.migration_template 'migration.rb', 'db/migrate' 5 | end 6 | end 7 | 8 | def file_name 9 | "simply_versioned_migration" 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/fixtures/developer.rb: -------------------------------------------------------------------------------- 1 | class Developer < User 2 | has_and_belongs_to_many :projects, :include => :topics, :order => 'projects.name' 3 | 4 | def self.with_poor_ones(&block) 5 | with_scope :find => { :conditions => ['salary <= ?', 80000], :order => 'salary' } do 6 | yield 7 | end 8 | end 9 | 10 | def self.per_page() 10 end 11 | end 12 | -------------------------------------------------------------------------------- /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/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/activesupport/lib/active_support/core_ext/range/overlaps.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Range #:nodoc: 4 | # Check if Ranges overlap. 5 | module Overlaps 6 | def overlaps?(other) 7 | include?(other.first) || other.include?(first) 8 | end 9 | end 10 | end 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /test/fixtures/tasks/gems_find.task: -------------------------------------------------------------------------------- 1 | desc 'Return path to a gem in cache; e.g. sake gems:find activerecord | xargs mate' 2 | task 'gems:find' do 3 | if ARGV.last then 4 | gem_path = Gem.source_index.find_name(ARGV.last).last.full_gem_path 5 | else 6 | gem_path = Gem.source_index.find_name("sources").last.full_gem_path.split("sources").first 7 | end 8 | print(gem_path) 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/parrot.rb: -------------------------------------------------------------------------------- 1 | class Parrot < ActiveRecord::Base 2 | set_inheritance_column :parrot_sti_class 3 | has_and_belongs_to_many :pirates 4 | has_and_belongs_to_many :treasures 5 | has_many :loots, :as => :looter 6 | end 7 | 8 | class LiveParrot < Parrot 9 | end 10 | 11 | class DeadParrot < Parrot 12 | belongs_to :killer, :class_name => 'Pirate' 13 | end 14 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb: -------------------------------------------------------------------------------- 1 | require "#{File.dirname(__FILE__)}<%= '/..' * class_nesting_depth %>/../test_helper" 2 | 3 | class <%= class_name %>Test < ActionController::IntegrationTest 4 | # fixtures :your, :models 5 | 6 | # Replace this with your real tests. 7 | def test_truth 8 | assert true 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/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/actionmailer/lib/action_mailer/vendor.rb: -------------------------------------------------------------------------------- 1 | # Prefer gems to the bundled libs. 2 | require 'rubygems' 3 | 4 | begin 5 | gem 'tmail', '~> 1.2.2' 6 | rescue Gem::LoadError 7 | $:.unshift "#{File.dirname(__FILE__)}/vendor/tmail-1.2.2" 8 | end 9 | 10 | begin 11 | gem 'text-format', '>= 0.6.3' 12 | rescue Gem::LoadError 13 | $:.unshift "#{File.dirname(__FILE__)}/vendor/text-format-0.6.3" 14 | end 15 | -------------------------------------------------------------------------------- /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/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/activesupport/lib/active_support/cache/drb_store.rb: -------------------------------------------------------------------------------- 1 | require 'drb' 2 | 3 | module ActiveSupport 4 | module Cache 5 | class DRbStore < MemoryStore #:nodoc: 6 | attr_reader :address 7 | 8 | def initialize(address = 'druby://localhost:9192') 9 | super() 10 | @address = address 11 | @data = DRbObject.new(nil, address) 12 | end 13 | end 14 | end 15 | end -------------------------------------------------------------------------------- /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/activesupport/lib/active_support/core_ext/date/behavior.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Date #:nodoc: 4 | module Behavior 5 | # Enable more predictable duck-typing on Date-like classes. See 6 | # Object#acts_like?. 7 | def acts_like_date? 8 | true 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /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/railties/test/fixtures/plugins/default/stubby/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 'stubby_mixin' 7 | raise 'missing mixin from my lib/ dir' unless defined? StubbyMixin 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/test_case.rb: -------------------------------------------------------------------------------- 1 | require 'test/unit/testcase' 2 | require 'active_support/testing/setup_and_teardown' 3 | require 'active_support/testing/default' 4 | 5 | # TODO: move to core_ext 6 | class Test::Unit::TestCase #:nodoc: 7 | include ActiveSupport::Testing::SetupAndTeardown 8 | end 9 | 10 | module ActiveSupport 11 | class TestCase < Test::Unit::TestCase 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /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 %> 11 | -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new inflection rules using the following format 4 | # (all these examples are active by default): 5 | # Inflector.inflections do |inflect| 6 | # inflect.plural /^(ox)$/i, '\1en' 7 | # inflect.singular /^(ox)en/i, '\1' 8 | # inflect.irregular 'person', 'people' 9 | # inflect.uncountable %w( fish sheep ) 10 | # end 11 | -------------------------------------------------------------------------------- /db/migrate/001_create_tasks.rb: -------------------------------------------------------------------------------- 1 | class CreateTasks < ActiveRecord::Migration 2 | def self.up 3 | create_table :tasks do |t| 4 | t.string :name 5 | t.text :body 6 | t.integer :views, :default => 0 7 | t.text :description 8 | t.integer :user_id 9 | t.boolean :approved 10 | 11 | t.timestamps 12 | end 13 | end 14 | 15 | def self.down 16 | drop_table :tasks 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /lib/authenticated_test_helper.rb: -------------------------------------------------------------------------------- 1 | module AuthenticatedTestHelper 2 | # Sets the current user in the session from the user fixtures. 3 | def login_as(user) 4 | @request.session[:user_id] = user ? users(user).id : nil 5 | end 6 | 7 | def authorize_as(user) 8 | @request.env["HTTP_AUTHORIZATION"] = user ? ActionController::HttpAuthentication::Basic.encode_credentials(users(user).login, 'test') : nil 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/hubahuba/lib/rails.rb: -------------------------------------------------------------------------------- 1 | module Rails 2 | def self.environment 3 | ENV['RAILS_ENV'].to_s.downcase 4 | end 5 | 6 | def self.development? 7 | environment == 'development' 8 | end 9 | 10 | def self.production? 11 | environment == 'production' 12 | end 13 | 14 | def self.test? 15 | environment == 'test' 16 | end 17 | 18 | def self.none? 19 | environment.empty? 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/config/environment.rb: -------------------------------------------------------------------------------- 1 | require File.join(File.dirname(__FILE__), 'boot') 2 | 3 | Rails::Initializer.run do |config| 4 | config.log_level = :debug 5 | config.cache_classes = false 6 | config.whiny_nils = true 7 | config.breakpoint_server = true 8 | config.load_paths << "#{File.dirname(__FILE__)}/../../../lib/" 9 | end 10 | 11 | Dependencies.log_activity = true 12 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/lib/html_inner_text.rb: -------------------------------------------------------------------------------- 1 | require 'action_controller/test_process' 2 | 3 | module HTML 4 | class Node 5 | def inner_text 6 | children.map(&:inner_text).join('') 7 | end 8 | end 9 | 10 | class Text 11 | def inner_text 12 | self.to_s 13 | end 14 | end 15 | 16 | class Tag 17 | def inner_text 18 | childless?? '' : super 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /vendor/plugins/validates_email_veracity_of/test/rails_root/app/controllers/application.rb: -------------------------------------------------------------------------------- 1 | # Filters added to this controller apply to all controllers in the application. 2 | # Likewise, all the methods added will be available for all controllers. 3 | 4 | class ApplicationController < ActionController::Base 5 | # Pick a unique cookie name to distinguish our session data from others' 6 | session :session_key => '_rail_root_session_id' 7 | end 8 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb: -------------------------------------------------------------------------------- 1 | # Chars uses this handler when $KCODE is not set to 'UTF8'. Because this handler doesn't define any methods all call 2 | # will be forwarded to String. 3 | class ActiveSupport::Multibyte::Handlers::PassthruHandler #:nodoc: 4 | 5 | # Return the original byteoffset 6 | def self.translate_offset(string, byte_offset) #:nodoc: 7 | byte_offset 8 | end 9 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | The 'rails' command creates a new Rails application with a default 3 | directory structure and configuration at the path you specify. 4 | 5 | Example: 6 | rails ~/Code/Ruby/weblog 7 | 8 | This generates a skeletal Rails installation in ~/Code/Ruby/weblog. 9 | See the README in the newly created application to get going. 10 | -------------------------------------------------------------------------------- /test/fixtures/tasks/pastie_patch.task: -------------------------------------------------------------------------------- 1 | desc 'Apply a patch directly from Pastie' 2 | task 'pastie:patch' do 3 | require("open-uri") 4 | pastie_url = "http://pastie.caboo.se/%s.txt" 5 | patch_id = ENV["PASTE"].gsub(/\D/, "") 6 | patch = open((pastie_url % patch_id)).read 7 | File.open("patch.diff", "w+") { |f| f.puts(patch) } 8 | `patch -p0 < patch.diff && rm patch.diff` 9 | puts("Patched with pastie ##{patch_id}.") 10 | end 11 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/test_layout.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | class TestLayout < TestDummy 3 | 4 | def should_equal(expected, message=nil) 5 | layout = @response.layout.gsub(/layouts\//, '') 6 | assert_equal layout, expected, message 7 | end 8 | alias :should_be :should_equal 9 | 10 | def to_s 11 | @response.rendered_file 12 | end 13 | 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/proc.rb: -------------------------------------------------------------------------------- 1 | class Proc #:nodoc: 2 | def bind(object) 3 | block, time = self, Time.now 4 | (class << object; self end).class_eval do 5 | method_name = "__bind_#{time.to_i}_#{time.usec}" 6 | define_method(method_name, &block) 7 | method = instance_method(method_name) 8 | remove_method(method_name) 9 | method 10 | end.bind(object) 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %> < ActionMailer::Base 2 | <% for action in actions -%> 3 | 4 | def <%= action %>(sent_at = Time.now) 5 | @subject = '<%= class_name %>#<%= action %>' 6 | @body = {} 7 | @recipients = '' 8 | @from = '' 9 | @sent_on = sent_at 10 | @headers = {} 11 | end 12 | <% end -%> 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/vertex.rb: -------------------------------------------------------------------------------- 1 | # This class models a vertex in a directed graph. 2 | class Vertex < ActiveRecord::Base 3 | has_many :sink_edges, :class_name => 'Edge', :foreign_key => 'source_id' 4 | has_many :sinks, :through => :sink_edges 5 | 6 | has_and_belongs_to_many :sources, 7 | :class_name => 'Vertex', :join_table => 'edges', 8 | :foreign_key => 'sink_id', :association_foreign_key => 'source_id' 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/schema/schema2.rb: -------------------------------------------------------------------------------- 1 | ActiveRecord::Schema.define do 2 | 3 | # adapter name is checked because we are under a transition of 4 | # moving the sql files under activerecord/test/fixtures/db_definitions 5 | # to this file, schema.rb. 6 | if adapter_name == "MySQL" 7 | Course.connection.create_table :courses, :force => true do |t| 8 | t.column :name, :string, :null => false 9 | end 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/numeric/time' 2 | require 'active_support/core_ext/numeric/bytes' 3 | require 'active_support/core_ext/numeric/conversions' 4 | 5 | class Numeric #:nodoc: 6 | include ActiveSupport::CoreExtensions::Numeric::Time 7 | include ActiveSupport::CoreExtensions::Numeric::Bytes 8 | include ActiveSupport::CoreExtensions::Numeric::Conversions 9 | end 10 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/test/core_ext/bigdecimal.rb: -------------------------------------------------------------------------------- 1 | require 'abstract_unit' 2 | 3 | class BigDecimalTest < Test::Unit::TestCase 4 | def test_to_yaml 5 | assert_equal("--- 100000.30020320320000000000000000000000000000001\n", BigDecimal.new('100000.30020320320000000000000000000000000000001').to_yaml) 6 | assert_equal("--- .Inf\n", BigDecimal.new('Infinity').to_yaml) 7 | assert_equal("--- .NaN\n", BigDecimal.new('NaN').to_yaml) 8 | end 9 | end -------------------------------------------------------------------------------- /test/fixtures/tasks/yaml_to_spec.task: -------------------------------------------------------------------------------- 1 | desc 'Converts a YAML file into a test/spec skeleton' 2 | task 'yaml_to_spec' do 3 | require("yaml") 4 | puts(YAML.load_file((ENV["FILE"] or ((not puts("Pass in FILE argument.")) and exit))).inject("") do |t, (c, s)| 5 | (t + if s then 6 | (("context \"#{c}\" do" + (s.map { |d| "\n xspecify \"#{d}\" do\n end\n" } * "")) + "end\n\n") 7 | else 8 | "" 9 | end) 10 | end.strip) 11 | end 12 | -------------------------------------------------------------------------------- /vendor/plugins/auto_migrations/tasks/auto_migrations_tasks.rake: -------------------------------------------------------------------------------- 1 | namespace :db do 2 | namespace :auto do 3 | desc "Use schema.rb to auto-migrate" 4 | task :migrate => :environment do 5 | AutoMigrations.run 6 | end 7 | end 8 | 9 | namespace :schema do 10 | desc "Create migration from schema.rb" 11 | task :to_migration => :environment do 12 | AutoMigrations.schema_to_migration 13 | end 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /vendor/plugins/fixture_scenarios_builder/lib/fixture_scenarios_hack.rb: -------------------------------------------------------------------------------- 1 | class Test::Unit::TestCase 2 | def self.scenario_with_builder(*args) 3 | # try to build ruby driven scenarios 4 | if File.exists? scenarios_rb = File.join(fixture_path, 'scenarios.rb') 5 | require scenarios_rb 6 | end 7 | scenario_without_builder(*args) 8 | end 9 | 10 | class << self 11 | alias_method_chain :scenario, :builder 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb: -------------------------------------------------------------------------------- 1 |<%=h @exception.message %>3 | <% unless @exception.failures.empty? %>
4 |
<%=h route.inspect.gsub('\\', '') %> failed because <%=h reason.downcase %>14 | <%= current_task.body %> 15 |16 | -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails 2 | VERSION = "0.1" 3 | end 4 | 5 | require 'test/spec' 6 | 7 | %w( 8 | test_spec_ext 9 | test_unit_ext 10 | 11 | test_dummy 12 | dummy_response 13 | test_status 14 | test_template 15 | 16 | should_redirect 17 | should_select 18 | should_validate 19 | 20 | use_controller 21 | 22 | ).each do |file| 23 | require "test/spec/rails/#{file}" 24 | end 25 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Stubs out a new integration test. Pass the name of the test, either 3 | CamelCased or under_scored, as an argument. The new test class is 4 | generated in test/integration/testname_test.rb 5 | 6 | Example: 7 | `./script/generate integration_test GeneralStories` creates a GeneralStories 8 | integration test in test/integration/general_stories_test.rb 9 | -------------------------------------------------------------------------------- /app/views/sessions/new.html.erb: -------------------------------------------------------------------------------- 1 | <% form_tag session_path do -%> 2 |
3 | <%= text_field_tag 'login' %>
6 | <%= password_field_tag 'password' %>
<%= submit_tag 'Log in' %>
14 | <% end -%> 15 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | #-- 4 | # Copyright 2004 by Jim Weirich (jim@weirichhouse.org). 5 | # All rights reserved. 6 | 7 | # Permission is granted for use, copying, modification, distribution, 8 | # and distribution of modified versions of this work as long as the 9 | # above copyright notice is included. 10 | #++ 11 | 12 | require 'builder/xmlmarkup' 13 | require 'builder/xmlevents' 14 | -------------------------------------------------------------------------------- /vendor/plugins/cache_fu/README: -------------------------------------------------------------------------------- 1 | == cache_fu 2 | 3 | A rewrite of acts_as_cached. 4 | 5 | == Changes from acts_as_cached 1 6 | 7 | - You can no longer set a 'ttl' method on a class. Instead, 8 | pass :ttl to acts_as_cached: 9 | >> acts_as_cached :ttl => 15.minutes 10 | 11 | - The is_cached? method is aliased as cached? 12 | 13 | - set_cache on an instance can take a ttl 14 | >> @story.set_cache(15.days) 15 | 16 | 17 | Chris Wanstrath [ chris[at]ozmm[dot]org ] 18 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Makes backticks behave (somewhat more) similarly on all platforms. 3 | # On win32 `nonexistent_command` raises Errno::ENOENT; on Unix, the 4 | # spawned shell prints a message to stderr and sets $?. We emulate 5 | # Unix on the former but not the latter. 6 | def `(command) #:nodoc: 7 | super 8 | rescue Errno::ENOENT => e 9 | STDERR.puts "#$0: #{e}" 10 | end 11 | end -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- 1 | development: 2 | adapter: mysql 3 | encoding: utf8 4 | database: sakerb_development 5 | username: root 6 | password: 7 | host: localhost 8 | 9 | test: 10 | adapter: mysql 11 | encoding: utf8 12 | database: sakerb_test 13 | username: root 14 | password: 15 | host: localhost 16 | 17 | production: 18 | adapter: mysql 19 | encoding: utf8 20 | database: sakerb_production 21 | username: root 22 | password: 23 | host: localhost 24 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/models/tagging.rb: -------------------------------------------------------------------------------- 1 | # test that attr_readonly isn't called on the :taggable polymorphic association 2 | module Taggable 3 | end 4 | 5 | class Tagging < ActiveRecord::Base 6 | belongs_to :tag, :include => :tagging 7 | belongs_to :super_tag, :class_name => 'Tag', :foreign_key => 'super_tag_id' 8 | belongs_to :invalid_tag, :class_name => 'Tag', :foreign_key => 'tag_id' 9 | belongs_to :taggable, :polymorphic => true, :counter_cache => true 10 | end -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- 1 | config.cache_classes = true 2 | config.action_controller.consider_all_requests_local = false 3 | config.action_controller.perform_caching = true 4 | config.action_view.cache_template_loading = true 5 | config.action_mailer.raise_delivery_errors = false 6 | # config.action_controller.asset_host = "http://assets.example.com" 7 | 8 | ENV['RAILS_ASSET_ID'] = File.read(RAILS_ROOT + '/.git/refs/heads/deploy').chomp 9 | -------------------------------------------------------------------------------- /vendor/plugins/bj/lib/orderedautohash.rb: -------------------------------------------------------------------------------- 1 | # 2 | # auto vivifying ordered hash that dumps as yaml nicely 3 | # 4 | require 'orderedhash' unless defined? OrderedHash 5 | 6 | class AutoOrderedHash < OrderedHash 7 | def initialize(*args) 8 | super(*args){|a,k| a[k] = __class__.new(*args)} 9 | end 10 | def class # for nice yaml 11 | Hash 12 | end 13 | def __class__ 14 | AutoOrderedHash 15 | end 16 | end # class AutoOrderedHash 17 | 18 | OrderedAutoHash = AutoOrderedHash 19 | -------------------------------------------------------------------------------- /vendor/plugins/restful_authentication/generators/authenticated/templates/observer.rb: -------------------------------------------------------------------------------- 1 | class <%= class_name %>Observer < ActiveRecord::Observer 2 | def after_create(<%= file_name %>) 3 | <%= class_name %>Mailer.deliver_signup_notification(<%= file_name %>) 4 | end 5 | 6 | def after_save(<%= file_name %>) 7 | <% if options[:include_activation] %> 8 | <%= class_name %>Mailer.deliver_activation(<%= file_name %>) if <%= file_name %>.pending? 9 | <% end %> 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /lib/tasks/environment.rake: -------------------------------------------------------------------------------- 1 | %w( development production ).each do |env| 2 | desc "Runs the following task in the #{env} environment" 3 | task env do 4 | RAILS_ENV = ENV['RAILS_ENV'] = env 5 | end 6 | end 7 | 8 | desc "Runs the following task in the test environment" 9 | task :testing do 10 | RAILS_ENV = ENV['RAILS_ENV'] = 'test' 11 | end 12 | 13 | task :dev do 14 | Rake::Task["development"].invoke 15 | end 16 | 17 | task :prod do 18 | Rake::Task["production"].invoke 19 | end 20 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/lib/load_fixtures.rb: -------------------------------------------------------------------------------- 1 | dirname = File.dirname(__FILE__) 2 | require File.join(dirname, '..', 'boot') 3 | require File.join(dirname, 'activerecord_test_connector') 4 | 5 | # setup the connection 6 | ActiveRecordTestConnector.setup 7 | 8 | # load all fixtures 9 | fixture_path = File.join(dirname, '..', 'fixtures') 10 | Fixtures.create_fixtures(fixture_path, ActiveRecord::Base.connection.tables) 11 | 12 | require 'will_paginate' 13 | WillPaginate.enable_activerecord 14 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/accounts.yml: -------------------------------------------------------------------------------- 1 | signals37: 2 | id: 1 3 | firm_id: 1 4 | credit_limit: 50 5 | 6 | unknown: 7 | id: 2 8 | credit_limit: 50 9 | 10 | rails_core_account: 11 | id: 3 12 | firm_id: 6 13 | credit_limit: 50 14 | 15 | last_account: 16 | id: 4 17 | firm_id: 2 18 | credit_limit: 60 19 | 20 | rails_core_account_2: 21 | id: 5 22 | firm_id: 6 23 | credit_limit: 55 24 | 25 | odegy_account: 26 | id: 6 27 | firm_id: 9 28 | credit_limit: 53 29 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Pathname #:nodoc: 4 | module CleanWithin 5 | # Clean the paths contained in the provided string. 6 | def clean_within(string) 7 | string.gsub(%r{[\w. ]+(/[\w. ]+)+(\.rb)?(\b|$)}) do |path| 8 | new(path).cleanpath 9 | end 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE: -------------------------------------------------------------------------------- 1 | Description: 2 | Creates a migration to add the sessions table used by the Active Record 3 | session store. Pass the migration name, either CamelCased or under_scored, 4 | as an argument. 5 | 6 | Example: 7 | `./script/generate session_migration CreateSessionTable` 8 | 9 | With 4 existing migrations, this creates the AddSessionTable migration 10 | in db/migrate/005_add_session_table.rb 11 | -------------------------------------------------------------------------------- /vendor/plugins/will_paginate/test/database.yml: -------------------------------------------------------------------------------- 1 | sqlite3: 2 | database: ":memory:" 3 | adapter: sqlite3 4 | timeout: 500 5 | 6 | sqlite2: 7 | database: ":memory:" 8 | adapter: sqlite2 9 | 10 | mysql: 11 | adapter: mysql 12 | username: rails 13 | password: mislav 14 | encoding: utf8 15 | database: will_paginate_unittest 16 | 17 | postgres: 18 | adapter: postgresql 19 | username: mislav 20 | password: mislav 21 | database: will_paginate_unittest 22 | min_messages: warning 23 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/base64.rb: -------------------------------------------------------------------------------- 1 | begin 2 | require 'base64' 3 | rescue LoadError 4 | end 5 | 6 | module ActiveSupport 7 | if defined? ::Base64 8 | Base64 = ::Base64 9 | else 10 | # Ruby 1.9 doesn't provide base64, so we wrap this here 11 | module Base64 12 | 13 | def self.encode64(data) 14 | [data].pack("m") 15 | end 16 | 17 | def self.decode64(data) 18 | data.unpack("m").first 19 | end 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /db/migrate/003_simply_versioned_migration.rb: -------------------------------------------------------------------------------- 1 | class SimplyVersionedMigration < ActiveRecord::Migration 2 | 3 | def self.up 4 | create_table :versions do |t| 5 | t.integer :versionable_id 6 | t.string :versionable_type 7 | t.integer :number 8 | t.text :yaml 9 | t.datetime :created_at 10 | end 11 | 12 | add_index :versions, [:versionable_id, :versionable_type] 13 | end 14 | 15 | def self.down 16 | drop_table :versions 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /vendor/plugins/attachment_fu/test/database.yml: -------------------------------------------------------------------------------- 1 | sqlite: 2 | :adapter: sqlite 3 | :dbfile: attachment_fu_plugin.sqlite.db 4 | sqlite3: 5 | :adapter: sqlite3 6 | :dbfile: attachment_fu_plugin.sqlite3.db 7 | postgresql: 8 | :adapter: postgresql 9 | :username: postgres 10 | :password: postgres 11 | :database: attachment_fu_plugin_test 12 | :min_messages: ERROR 13 | mysql: 14 | :adapter: mysql 15 | :host: localhost 16 | :username: rails 17 | :password: 18 | :database: attachment_fu_plugin_test -------------------------------------------------------------------------------- /vendor/rails/activemodel/spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | ENV['LOG_NAME'] = 'spec' 2 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'vendor', 'rspec', 'lib') 3 | $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib') 4 | require 'active_model' 5 | begin 6 | require 'spec' 7 | rescue LoadError 8 | require 'rubygems' 9 | require 'spec' 10 | end 11 | 12 | begin 13 | require 'ruby-debug' 14 | Debugger.start 15 | rescue LoadError 16 | # you do not know the ways of ruby-debug yet, what a shame 17 | end -------------------------------------------------------------------------------- /vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb: -------------------------------------------------------------------------------- 1 | class <%= migration_name %> < ActiveRecord::Migration 2 | def self.up 3 | create_table :<%= table_name %> do |t| 4 | <% for attribute in attributes -%> 5 | t.<%= attribute.type %> :<%= attribute.name %> 6 | <% end -%> 7 | <% unless options[:skip_timestamps] %> 8 | t.timestamps 9 | <% end -%> 10 | end 11 | end 12 | 13 | def self.down 14 | drop_table :<%= table_name %> 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /vendor/rails/activeresource/lib/active_resource/formats/json_format.rb: -------------------------------------------------------------------------------- 1 | module ActiveResource 2 | module Formats 3 | module JsonFormat 4 | extend self 5 | 6 | def extension 7 | "json" 8 | end 9 | 10 | def mime_type 11 | "application/json" 12 | end 13 | 14 | def encode(hash) 15 | hash.to_json 16 | end 17 | 18 | def decode(json) 19 | ActiveSupport::JSON.decode(json) 20 | end 21 | end 22 | end 23 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/module.rb: -------------------------------------------------------------------------------- 1 | require 'active_support/core_ext/module/inclusion' 2 | require 'active_support/core_ext/module/attribute_accessors' 3 | require 'active_support/core_ext/module/attr_internal' 4 | require 'active_support/core_ext/module/attr_accessor_with_default' 5 | require 'active_support/core_ext/module/delegation' 6 | require 'active_support/core_ext/module/introspection' 7 | require 'active_support/core_ext/module/loading' 8 | require 'active_support/core_ext/module/aliasing' 9 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb: -------------------------------------------------------------------------------- 1 | module Enumerable 2 | # Returns a JSON string representing the enumerable. Any +options+ 3 | # given will be passed on to its elements. For example: 4 | # 5 | # users = User.find(:all) 6 | # users.to_json(:only => :name) 7 | # 8 | # will pass the :only => :name option to each user. 9 | def to_json(options = {}) #:nodoc: 10 | "[#{map { |value| ActiveSupport::JSON.encode(value, options) } * ', '}]" 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /vendor/gems/test-spec-0.3.0/test/spec_testspec_order.rb: -------------------------------------------------------------------------------- 1 | require 'test/spec' 2 | 3 | $foo = 0 4 | 5 | context "Context First" do 6 | specify "runs before Second" do 7 | $foo.should.equal 0 8 | $foo += 1 9 | end 10 | end 11 | 12 | context "Context Second" do 13 | specify "runs before Last" do 14 | $foo.should.equal 1 15 | $foo += 1 16 | end 17 | end 18 | 19 | context "Context Last" do 20 | specify "runs last" do 21 | $foo.should.equal 2 22 | $foo += 1 23 | end 24 | end 25 | 26 | 27 | -------------------------------------------------------------------------------- /vendor/rails/activerecord/test/fixtures/taggings.yml: -------------------------------------------------------------------------------- 1 | welcome_general: 2 | id: 1 3 | tag_id: 1 4 | super_tag_id: 2 5 | taggable_id: 1 6 | taggable_type: Post 7 | 8 | thinking_general: 9 | id: 2 10 | tag_id: 1 11 | taggable_id: 2 12 | taggable_type: Post 13 | 14 | fake: 15 | id: 3 16 | tag_id: 1 17 | taggable_id: 1 18 | taggable_type: FakeModel 19 | 20 | godfather: 21 | id: 4 22 | tag_id: 1 23 | taggable_id: 1 24 | taggable_type: Item 25 | 26 | orphaned: 27 | id: 5 28 | tag_id: 1 29 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb: -------------------------------------------------------------------------------- 1 | class Object 2 | # Alias of to_s. 3 | def to_param 4 | to_s 5 | end 6 | 7 | # Converts an object into a string suitable for use as a URL query string, using the given key as the 8 | # param name. 9 | # 10 | # Note: This method is defined as a default implementation for all Objects for Hash#to_query to work. 11 | def to_query(key) 12 | "#{CGI.escape(key.to_s)}=#{CGI.escape(to_param.to_s)}" 13 | end 14 | end -------------------------------------------------------------------------------- /vendor/plugins/test_spec_on_rails/lib/test/spec/rails/should_validate.rb: -------------------------------------------------------------------------------- 1 | module Test::Spec::Rails::ShouldValidate 2 | def validate 3 | assert_valid @object 4 | end 5 | alias :validated :validate 6 | end 7 | 8 | module Test::Spec::Rails::ShouldNotValidate 9 | def validate 10 | assert !@object.valid? 11 | end 12 | alias :validated :validate 13 | end 14 | 15 | Test::Spec::Should.send(:include, Test::Spec::Rails::ShouldValidate) 16 | Test::Spec::ShouldNot.send(:include, Test::Spec::Rails::ShouldNotValidate) 17 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/test/adv_attr_test.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/abstract_unit' 2 | require 'action_mailer/adv_attr_accessor' 3 | 4 | class AdvAttrTest < Test::Unit::TestCase 5 | class Person 6 | include ActionMailer::AdvAttrAccessor 7 | adv_attr_accessor :name 8 | end 9 | 10 | def test_adv_attr 11 | bob = Person.new 12 | assert_nil bob.name 13 | bob.name 'Bob' 14 | assert_equal 'Bob', bob.name 15 | 16 | assert_raise(ArgumentError) {bob.name 'x', 'y'} 17 | end 18 | 19 | 20 | end -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module Base64 #:nodoc: 4 | module Encoding 5 | # Encodes the value as base64 without the newline breaks. This makes the base64 encoding readily usable as URL parameters 6 | # or memcache keys without further processing. 7 | def encode64s(value) 8 | encode64(value).gsub(/\n/, '') 9 | end 10 | end 11 | end 12 | end 13 | end 14 | -------------------------------------------------------------------------------- /vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb: -------------------------------------------------------------------------------- 1 | module ActiveSupport #:nodoc: 2 | module CoreExtensions #:nodoc: 3 | module CGI #:nodoc: 4 | module EscapeSkippingSlashes #:nodoc: 5 | def escape_skipping_slashes(str) 6 | str = str.join('/') if str.respond_to? :join 7 | str.gsub(/([^ \/a-zA-Z0-9_.-])/n) do 8 | "%#{$1.unpack('H2').first.upcase}" 9 | end.tr(' ', '+') 10 | end 11 | end 12 | end 13 | end 14 | end 15 | -------------------------------------------------------------------------------- /vendor/rails/railties/helpers/application.rb: -------------------------------------------------------------------------------- 1 | # Filters added to this controller apply to all controllers in the application. 2 | # Likewise, all the methods added will be available for all controllers. 3 | 4 | class ApplicationController < ActionController::Base 5 | helper :all # include all helpers, all the time 6 | 7 | # See ActionController::RequestForgeryProtection for details 8 | # Uncomment the :secret if you're not using the cookie session store 9 | protect_from_forgery # :secret => '<%= app_secret %>' 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/railties/lib/tasks/misc.rake: -------------------------------------------------------------------------------- 1 | task :default => :test 2 | task :environment do 3 | require(File.join(RAILS_ROOT, 'config', 'environment')) 4 | end 5 | 6 | require 'rails_generator/secret_key_generator' 7 | desc 'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions. Pass a unique identifier to the generator using ID="some unique identifier" for greater security.' 8 | task :secret do 9 | puts Rails::SecretKeyGenerator.new(ENV['ID']).generate_secret 10 | end 11 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/cgi_ext.rb: -------------------------------------------------------------------------------- 1 | require 'action_controller/cgi_ext/stdinput' 2 | require 'action_controller/cgi_ext/query_extension' 3 | require 'action_controller/cgi_ext/cookie' 4 | require 'action_controller/cgi_ext/session' 5 | 6 | class CGI #:nodoc: 7 | include ActionController::CgiExt::Stdinput 8 | 9 | class << self 10 | alias :escapeHTML_fail_on_nil :escapeHTML 11 | 12 | def escapeHTML(string) 13 | escapeHTML_fail_on_nil(string) unless string.nil? 14 | end 15 | end 16 | end 17 | -------------------------------------------------------------------------------- /vendor/rails/railties/configs/databases/sqlite2.yml: -------------------------------------------------------------------------------- 1 | # SQLite version 2.x 2 | # gem install sqlite-ruby 3 | development: 4 | adapter: sqlite 5 | database: db/development.sqlite2 6 | 7 | # Warning: The database defined as 'test' will be erased and 8 | # re-generated from your development database when you run 'rake'. 9 | # Do not set this db to the same as development or production. 10 | test: 11 | adapter: sqlite 12 | database: db/test.sqlite2 13 | 14 | production: 15 | adapter: sqlite 16 | database: db/production.sqlite2 17 | -------------------------------------------------------------------------------- /vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb: -------------------------------------------------------------------------------- 1 |<%=h @exception.clean_message %>8 | 9 | <%= render_file(@rescues_path + "/_trace.erb", false) %> 10 | 11 | <%= render_file(@rescues_path + "/_request_and_response.erb", false) %> 12 | --------------------------------------------------------------------------------