├── guides
├── .document
├── source
│ └── kindle
│ │ └── copyright.html.erb
└── assets
│ └── images
│ ├── fxn.png
│ ├── bullet.gif
│ ├── csrf.png
│ ├── habtm.png
│ ├── radar.png
│ ├── favicon.ico
│ ├── has_many.png
│ ├── has_one.png
│ ├── icons
│ ├── up.png
│ ├── home.png
│ ├── next.png
│ ├── note.png
│ ├── prev.png
│ ├── tip.png
│ ├── caution.png
│ ├── example.png
│ ├── warning.png
│ ├── callouts
│ │ ├── 1.png
│ │ ├── 2.png
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.png
│ │ ├── 6.png
│ │ ├── 7.png
│ │ ├── 8.png
│ │ ├── 9.png
│ │ ├── 10.png
│ │ ├── 11.png
│ │ ├── 12.png
│ │ ├── 13.png
│ │ ├── 14.png
│ │ └── 15.png
│ └── important.png
│ ├── tab_grey.gif
│ ├── tab_info.gif
│ ├── tab_note.gif
│ ├── tab_red.gif
│ ├── vijaydev.jpg
│ ├── akshaysurve.jpg
│ ├── belongs_to.png
│ ├── book_icon.gif
│ ├── edge_badge.png
│ ├── footer_tile.gif
│ ├── grey_bullet.gif
│ ├── header_tile.gif
│ ├── nav_arrow.gif
│ ├── oscardelben.jpg
│ ├── polymorphic.png
│ ├── tab_yellow.gif
│ ├── tab_yellow.png
│ ├── chapters_icon.gif
│ ├── check_bullet.gif
│ ├── feature_tile.gif
│ ├── has_many_through.png
│ ├── has_one_through.png
│ ├── header_backdrop.png
│ ├── rails4_features.png
│ ├── rails_logo_remix.gif
│ ├── session_fixation.png
│ ├── credits_pic_blank.gif
│ ├── rails_guides_logo.gif
│ ├── i18n
│ ├── demo_html_safe.png
│ ├── demo_translated_en.png
│ ├── demo_untranslated.png
│ ├── demo_localized_pirate.png
│ ├── demo_translated_pirate.png
│ └── demo_translation_missing.png
│ ├── getting_started
│ ├── challenge.png
│ ├── new_article.png
│ ├── confirm_dialog.png
│ ├── rails_welcome.png
│ ├── form_with_errors.png
│ ├── article_with_comments.png
│ ├── show_action_for_articles.png
│ ├── index_action_with_edit_link.png
│ ├── routing_error_no_controller.png
│ ├── routing_error_no_route_matches.png
│ ├── template_is_missing_articles_new.png
│ ├── unknown_action_new_for_articles.png
│ ├── unknown_action_create_for_articles.png
│ └── forbidden_attributes_for_new_article.png
│ └── rails_guides_kindle_cover.jpg
├── actionview
├── test
│ ├── tmp
│ │ └── .gitkeep
│ ├── fixtures
│ │ ├── shared.html.erb
│ │ ├── test
│ │ │ ├── _two.html.erb
│ │ │ ├── _partial.erb
│ │ │ ├── _partial.js.erb
│ │ │ ├── hello
│ │ │ │ └── hello.erb
│ │ │ ├── hello_world.erb
│ │ │ ├── _changing_priority.html.erb
│ │ │ ├── _changing_priority.json.erb
│ │ │ ├── _json_change_priority.json.erb
│ │ │ ├── _partial.html.erb
│ │ │ ├── _partial_only.erb
│ │ │ ├── dont_pick_me
│ │ │ ├── hello_world.da.html.erb
│ │ │ ├── hello_world.erb~
│ │ │ ├── template.erb
│ │ │ ├── _raise.html.erb
│ │ │ ├── hello_world.html+phone.erb
│ │ │ ├── hello_world.pt-BR.html.erb
│ │ │ ├── malformed
│ │ │ │ ├── malformed~
│ │ │ │ ├── malformed.erb~
│ │ │ │ ├── malformed.en.html.erb~
│ │ │ │ └── malformed.html.erb~
│ │ │ ├── _200.html.erb
│ │ │ ├── _counter.html.erb
│ │ │ ├── _from_helper.erb
│ │ │ ├── _second_json_partial.json.erb
│ │ │ ├── _utf8_partial.html.erb
│ │ │ ├── basic.html.erb
│ │ │ ├── greeting.xml.erb
│ │ │ ├── nil_return.erb
│ │ │ ├── hello_world.text+phone.erb
│ │ │ ├── _b_layout_for_partial.html.erb
│ │ │ ├── _object_inspector.erb
│ │ │ ├── _one.html.erb
│ │ │ ├── one.html.erb
│ │ │ ├── render_file_with_ivar.erb
│ │ │ ├── _customer.erb
│ │ │ ├── _directory
│ │ │ │ └── _partial_with_locales.html.erb
│ │ │ ├── render_file_with_locals.erb
│ │ │ ├── render_file_with_locals_and_default.erb
│ │ │ ├── _customer_greeting.erb
│ │ │ ├── _partial_for_use_in_layout.html.erb
│ │ │ ├── sub_template_raise.html.erb
│ │ │ ├── _partial_name_local_variable.erb
│ │ │ ├── _partial_with_only_html_version.html.erb
│ │ │ ├── dot.directory
│ │ │ │ └── render_file_with_ivar.erb
│ │ │ ├── _layout_for_partial.html.erb
│ │ │ ├── _utf8_partial_magic.html.erb
│ │ │ ├── _first_json_partial.json.erb
│ │ │ ├── _partial_with_partial.erb
│ │ │ ├── _customer_with_var.erb
│ │ │ ├── _layout_for_block_with_args.html.erb
│ │ │ ├── _local_inspector.html.erb
│ │ │ ├── hello_world_with_partial.html.erb
│ │ │ ├── html_template.html.erb
│ │ │ ├── _b_layout_for_partial_with_object.html.erb
│ │ │ ├── streaming_buster.erb
│ │ │ ├── _b_layout_for_partial_with_object_counter.html.erb
│ │ │ ├── hello.builder
│ │ │ ├── layout_render_file.erb
│ │ │ ├── layout_render_object.erb
│ │ │ ├── nested_streaming.erb
│ │ │ ├── _content_tag_nested_in_content_tag.erb
│ │ │ ├── _layout_with_partial_and_yield.html.erb
│ │ │ ├── streaming.erb
│ │ │ ├── _label_with_block.erb
│ │ │ ├── list.erb
│ │ │ ├── render_partial_inside_directory.html.erb
│ │ │ ├── calling_partial_with_layout.html.erb
│ │ │ ├── utf8.html.erb
│ │ │ ├── _partial_with_layout.erb
│ │ │ ├── nested_layout.erb
│ │ │ ├── render_two_partials.html.erb
│ │ │ ├── _partial_shortcut_with_block_content.html.erb
│ │ │ ├── change_priority.html.erb
│ │ │ ├── utf8_magic.html.erb
│ │ │ ├── _partial_with_layout_block_content.erb
│ │ │ ├── _partial_with_layout_block_partial.erb
│ │ │ └── utf8_magic_with_bare_partial.html.erb
│ │ ├── actionpack
│ │ │ ├── hello.html
│ │ │ ├── shared.html.erb
│ │ │ ├── test
│ │ │ │ ├── _hello.builder
│ │ │ │ ├── _partial.erb
│ │ │ │ ├── _partial.js.erb
│ │ │ │ ├── hello,world.erb
│ │ │ │ ├── hello
│ │ │ │ │ └── hello.erb
│ │ │ │ ├── hello_world.erb
│ │ │ │ ├── _changing_priority.html.erb
│ │ │ │ ├── _changing_priority.json.erb
│ │ │ │ ├── _json_change_priority.json.erb
│ │ │ │ ├── _partial.html.erb
│ │ │ │ ├── _partial_only.erb
│ │ │ │ ├── hyphen-ated.erb
│ │ │ │ ├── _counter.html.erb
│ │ │ │ ├── _form.erb
│ │ │ │ ├── _partial_only_html.html
│ │ │ │ ├── _second_json_partial.json.erb
│ │ │ │ ├── formatted_xml_erb.builder
│ │ │ │ ├── greeting.xml.erb
│ │ │ │ ├── proper_block_detection.erb
│ │ │ │ ├── formatted_html_erb.html.erb
│ │ │ │ ├── greeting.html.erb
│ │ │ │ ├── hello_world_with_layout_false.erb
│ │ │ │ ├── _partial_html_erb.html.erb
│ │ │ │ ├── _customer.erb
│ │ │ │ ├── _labelling_form.erb
│ │ │ │ ├── _person.erb
│ │ │ │ ├── formatted_xml_erb.xml.erb
│ │ │ │ ├── implicit_content_type.atom.builder
│ │ │ │ ├── render_file_from_template.html.erb
│ │ │ │ ├── render_file_with_ivar.erb
│ │ │ │ ├── render_file_with_locals.erb
│ │ │ │ ├── render_file_with_locals_and_default.erb
│ │ │ │ ├── _directory
│ │ │ │ │ └── _partial_with_locales.html.erb
│ │ │ │ ├── formatted_xml_erb.html.erb
│ │ │ │ ├── render_implicit_html_template_from_xhr_request.html.erb
│ │ │ │ ├── render_implicit_js_template_without_layout.js.erb
│ │ │ │ ├── render_to_string_test.erb
│ │ │ │ ├── _customer_counter_with_as.erb
│ │ │ │ ├── _customer_greeting.erb
│ │ │ │ ├── _hash_greeting.erb
│ │ │ │ ├── _partial_for_use_in_layout.html.erb
│ │ │ │ ├── _partial_name_local_variable.erb
│ │ │ │ ├── dot.directory
│ │ │ │ │ └── render_file_with_ivar.erb
│ │ │ │ ├── render_implicit_html_template_from_xhr_request.da.html.erb
│ │ │ │ ├── with_partial.text.erb
│ │ │ │ ├── _layout_for_partial.html.erb
│ │ │ │ ├── hello_world_from_rxml.builder
│ │ │ │ ├── _customer_counter.erb
│ │ │ │ ├── _first_json_partial.json.erb
│ │ │ │ ├── _customer_with_var.erb
│ │ │ │ ├── _partial_with_partial.erb
│ │ │ │ ├── action_talk_to_layout.erb
│ │ │ │ ├── capturing.erb
│ │ │ │ ├── hello_world_with_partial.html.erb
│ │ │ │ ├── with_partial.html.erb
│ │ │ │ ├── content_for.erb
│ │ │ │ ├── html_template.html.erb
│ │ │ │ ├── with_xml_template.html.erb
│ │ │ │ ├── _hash_object.erb
│ │ │ │ ├── with_html_partial.html.erb
│ │ │ │ ├── content_for_with_parameter.erb
│ │ │ │ ├── hello.builder
│ │ │ │ ├── hello_world_container.builder
│ │ │ │ ├── content_for_concatenated.erb
│ │ │ │ ├── list.erb
│ │ │ │ ├── non_erb_block_content_for.builder
│ │ │ │ ├── render_partial_inside_directory.html.erb
│ │ │ │ ├── using_layout_around_block.html.erb
│ │ │ │ ├── calling_partial_with_layout.html.erb
│ │ │ │ ├── potential_conflicts.erb
│ │ │ │ ├── render_two_partials.html.erb
│ │ │ │ ├── change_priority.html.erb
│ │ │ │ └── _customer_iteration_with_as.erb
│ │ │ ├── layout_tests
│ │ │ │ ├── alt
│ │ │ │ │ └── layouts
│ │ │ │ │ │ └── alt.erb
│ │ │ │ ├── views
│ │ │ │ │ ├── hello.erb
│ │ │ │ │ └── goodbye.erb
│ │ │ │ └── layouts
│ │ │ │ │ ├── item.erb
│ │ │ │ │ ├── layout_test.erb
│ │ │ │ │ ├── multiple_extensions.html.erb
│ │ │ │ │ ├── third_party_template_library.mab
│ │ │ │ │ ├── controller_name_space
│ │ │ │ │ └── nested.erb
│ │ │ │ │ └── symlinked
│ │ │ │ │ └── symlinked_layout.erb
│ │ │ ├── layouts
│ │ │ │ ├── _yield_only.erb
│ │ │ │ ├── xhr.html.erb
│ │ │ │ ├── _yield_with_params.erb
│ │ │ │ ├── builder.builder
│ │ │ │ ├── standard.html.erb
│ │ │ │ ├── yield.erb
│ │ │ │ ├── _customers.erb
│ │ │ │ ├── _partial_and_yield.erb
│ │ │ │ ├── talk_from_action.erb
│ │ │ │ ├── with_html_partial.html.erb
│ │ │ │ ├── yield_with_render_inline_inside.erb
│ │ │ │ ├── yield_with_render_partial_inside.erb
│ │ │ │ ├── _column.html.erb
│ │ │ │ └── streaming.erb
│ │ │ ├── fun
│ │ │ │ └── games
│ │ │ │ │ ├── _form.erb
│ │ │ │ │ └── hello_world.erb
│ │ │ ├── quiz
│ │ │ │ └── questions
│ │ │ │ │ └── _question.html.erb
│ │ │ ├── customers
│ │ │ │ └── _customer.html.erb
│ │ │ ├── bad_customers
│ │ │ │ └── _bad_customer.html.erb
│ │ │ └── good_customers
│ │ │ │ └── _good_customer.html.erb
│ │ ├── digestor
│ │ │ ├── events
│ │ │ │ └── _event.html.erb
│ │ │ ├── messages
│ │ │ │ ├── _form.html.erb
│ │ │ │ ├── _header.html.erb
│ │ │ │ ├── actions
│ │ │ │ │ └── _move.html.erb
│ │ │ │ ├── _message.html.erb
│ │ │ │ └── index.html.erb
│ │ │ ├── level
│ │ │ │ ├── below
│ │ │ │ │ ├── _header.html.erb
│ │ │ │ │ └── index.html.erb
│ │ │ │ ├── recursion.html.erb
│ │ │ │ └── _recursion.html.erb
│ │ │ └── comments
│ │ │ │ ├── _comment.html.erb
│ │ │ │ └── _comments.html.erb
│ │ ├── public
│ │ │ ├── .gitignore
│ │ │ ├── elsewhere
│ │ │ │ ├── cools.js
│ │ │ │ └── file.css
│ │ │ ├── javascripts
│ │ │ │ ├── bank.js
│ │ │ │ ├── effects.js
│ │ │ │ ├── robber.js
│ │ │ │ ├── controls.js
│ │ │ │ ├── dragdrop.js
│ │ │ │ ├── prototype.js
│ │ │ │ ├── application.js
│ │ │ │ ├── subdir
│ │ │ │ │ └── subdir.js
│ │ │ │ ├── version.1.0.js
│ │ │ │ └── common.javascript
│ │ │ ├── stylesheets
│ │ │ │ ├── bank.css
│ │ │ │ ├── robber.css
│ │ │ │ ├── random.styles
│ │ │ │ ├── subdir
│ │ │ │ │ └── subdir.css
│ │ │ │ └── version.1.0.css
│ │ │ └── foo
│ │ │ │ └── baz.css
│ │ ├── plain_text.raw
│ │ ├── replies
│ │ │ └── _reply.erb
│ │ ├── comments
│ │ │ ├── empty.html.erb
│ │ │ ├── empty.html.builder
│ │ │ ├── empty.xml.erb
│ │ │ └── empty.de.html.erb
│ │ ├── games
│ │ │ └── _game.erb
│ │ ├── layouts
│ │ │ ├── _yield_only.erb
│ │ │ ├── _yield_with_params.erb
│ │ │ ├── yield.erb
│ │ │ ├── _customers.erb
│ │ │ ├── _partial_and_yield.erb
│ │ │ ├── yield_with_render_inline_inside.erb
│ │ │ ├── _column.html.erb
│ │ │ ├── yield_with_render_partial_inside.erb
│ │ │ └── streaming.erb
│ │ ├── mascots
│ │ │ └── _mascot.html.erb
│ │ ├── projects
│ │ │ └── _project.erb
│ │ ├── topics
│ │ │ └── _topic.html.erb
│ │ ├── _top_level_partial_only.erb
│ │ ├── custom_pattern
│ │ │ ├── html
│ │ │ │ ├── another.erb
│ │ │ │ └── path.erb
│ │ │ └── another.html.erb
│ │ ├── developers
│ │ │ └── _developer.erb
│ │ ├── fun
│ │ │ ├── games
│ │ │ │ ├── _game.erb
│ │ │ │ └── hello_world.erb
│ │ │ └── serious
│ │ │ │ └── games
│ │ │ │ └── _game.erb
│ │ ├── layout_tests
│ │ │ └── alt
│ │ │ │ └── hello.erb
│ │ ├── _top_level_partial.html.erb
│ │ ├── override
│ │ │ └── test
│ │ │ │ └── hello_world.erb
│ │ ├── override2
│ │ │ └── layouts
│ │ │ │ └── test
│ │ │ │ └── sub.erb
│ │ ├── respond_to
│ │ │ └── using_defaults_with_all.html.erb
│ │ ├── translations
│ │ │ └── templates
│ │ │ │ ├── found.erb
│ │ │ │ ├── array.erb
│ │ │ │ ├── missing.erb
│ │ │ │ └── default.erb
│ │ ├── customers
│ │ │ ├── _customer.html.erb
│ │ │ └── _customer.xml.erb
│ │ ├── helpers
│ │ │ ├── abc_helper.rb
│ │ │ └── helpery_test_helper.rb
│ │ ├── mascot.rb
│ │ ├── plain_text_with_characters.raw
│ │ ├── mascots.yml
│ │ ├── with_format.json.erb
│ │ ├── ruby_template.ruby
│ │ ├── topic.rb
│ │ ├── project.rb
│ │ ├── good_customers
│ │ │ └── _good_customer.html.erb
│ │ ├── helpers_missing
│ │ │ └── invalid_require_helper.rb
│ │ ├── projects.yml
│ │ ├── multipart
│ │ │ ├── single_utf8_param
│ │ │ └── bracketed_utf8_param
│ │ ├── reply.rb
│ │ └── developer.rb
│ └── actionpack
│ │ └── abstract
│ │ └── views
│ │ ├── index.erb
│ │ ├── naked_render.erb
│ │ ├── abstract_controller
│ │ └── testing
│ │ │ ├── me3
│ │ │ ├── index.erb
│ │ │ └── formatted.html.erb
│ │ │ ├── me4
│ │ │ └── index.erb
│ │ │ └── me5
│ │ │ └── index.erb
│ │ ├── action_with_ivars.erb
│ │ ├── helper_test.erb
│ │ └── layouts
│ │ ├── application.erb
│ │ └── abstract_controller
│ │ └── testing
│ │ └── me4.erb
└── lib
│ └── action_view
│ └── helpers
│ └── tags
│ ├── tel_field.rb
│ ├── url_field.rb
│ ├── email_field.rb
│ ├── hidden_field.rb
│ ├── range_field.rb
│ ├── time_select.rb
│ └── datetime_select.rb
├── railties
├── .gitignore
├── lib
│ └── rails
│ │ ├── generators
│ │ ├── rails
│ │ │ ├── app
│ │ │ │ └── templates
│ │ │ │ │ ├── public
│ │ │ │ │ └── favicon.ico
│ │ │ │ │ ├── app
│ │ │ │ │ └── helpers
│ │ │ │ │ │ └── application_helper.rb
│ │ │ │ │ ├── bin
│ │ │ │ │ ├── rake
│ │ │ │ │ ├── bundle
│ │ │ │ │ └── rails
│ │ │ │ │ ├── config
│ │ │ │ │ ├── boot.rb
│ │ │ │ │ ├── initializers
│ │ │ │ │ │ └── cookies_serializer.rb
│ │ │ │ │ └── environment.rb
│ │ │ │ │ └── config.ru
│ │ │ ├── generator
│ │ │ │ └── templates
│ │ │ │ │ ├── templates
│ │ │ │ │ └── .empty_directory
│ │ │ │ │ ├── %file_name%_generator.rb.tt
│ │ │ │ │ └── USAGE.tt
│ │ │ ├── plugin
│ │ │ │ └── templates
│ │ │ │ │ ├── app
│ │ │ │ │ ├── mailers
│ │ │ │ │ │ └── .empty_directory
│ │ │ │ │ ├── models
│ │ │ │ │ │ └── .empty_directory
│ │ │ │ │ ├── helpers
│ │ │ │ │ │ └── %name%
│ │ │ │ │ │ │ └── application_helper.rb.tt
│ │ │ │ │ └── controllers
│ │ │ │ │ │ └── %name%
│ │ │ │ │ │ └── application_controller.rb.tt
│ │ │ │ │ ├── README.rdoc
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── %name%
│ │ │ │ │ │ ├── version.rb
│ │ │ │ │ │ └── engine.rb
│ │ │ │ │ ├── %name%.rb
│ │ │ │ │ └── tasks
│ │ │ │ │ │ └── %name%_tasks.rake
│ │ │ │ │ ├── rails
│ │ │ │ │ └── routes.rb
│ │ │ │ │ └── config
│ │ │ │ │ └── routes.rb
│ │ │ ├── helper
│ │ │ │ └── templates
│ │ │ │ │ └── helper.rb
│ │ │ ├── assets
│ │ │ │ └── templates
│ │ │ │ │ ├── stylesheet.css
│ │ │ │ │ └── javascript.js
│ │ │ └── task
│ │ │ │ └── templates
│ │ │ │ └── task.rb
│ │ ├── erb
│ │ │ ├── mailer
│ │ │ │ └── templates
│ │ │ │ │ ├── layout.text.erb
│ │ │ │ │ ├── layout.html.erb
│ │ │ │ │ ├── view.text.erb
│ │ │ │ │ └── view.html.erb
│ │ │ └── controller
│ │ │ │ └── templates
│ │ │ │ └── view.html.erb
│ │ ├── test_unit
│ │ │ └── plugin
│ │ │ │ └── templates
│ │ │ │ ├── test_helper.rb
│ │ │ │ └── %file_name%_test.rb.tt
│ │ ├── css
│ │ │ └── assets
│ │ │ │ └── templates
│ │ │ │ └── stylesheet.css
│ │ ├── js
│ │ │ └── assets
│ │ │ │ └── templates
│ │ │ │ └── javascript.js
│ │ └── test_unit.rb
│ │ ├── templates
│ │ └── rails
│ │ │ └── info
│ │ │ └── properties.html.erb
│ │ ├── rack.rb
│ │ ├── rack
│ │ └── debugger.rb
│ │ ├── version.rb
│ │ └── welcome_controller.rb
└── test
│ └── fixtures
│ ├── lib
│ ├── template.rb
│ ├── generators
│ │ ├── usage_template
│ │ │ └── USAGE
│ │ ├── model_generator.rb
│ │ ├── fixjour_generator.rb
│ │ └── active_record
│ │ │ └── fixjour_generator.rb
│ ├── create_test_dummy_template.rb
│ └── rails
│ │ └── generators
│ │ └── foobar
│ │ └── foobar_generator.rb
│ └── about_yml_plugins
│ ├── bad_about_yml
│ ├── init.rb
│ └── about.yml
│ └── plugin_without_about_yml
│ └── init.rb
├── RAILS_VERSION
├── actionpack
├── test
│ ├── tmp
│ │ └── .gitignore
│ ├── fixtures
│ │ ├── shared.html.erb
│ │ ├── 公共
│ │ │ ├── bar.html
│ │ │ ├── foo
│ │ │ │ ├── bar.html
│ │ │ │ ├── index.html
│ │ │ │ ├── こんにちは.html
│ │ │ │ └── baz.css
│ │ │ ├── index.html
│ │ │ ├── bar
│ │ │ │ └── index.html
│ │ │ └── gzip
│ │ │ │ ├── foo.zoo.gz
│ │ │ │ └── application-a71b3024f80aea3181c09774ca17e712.js.gz
│ │ ├── multipart
│ │ │ ├── hello.txt
│ │ │ ├── binary_file
│ │ │ ├── mixed_files
│ │ │ ├── mona_lisa.jpg
│ │ │ ├── bracketed_param
│ │ │ ├── single_parameter
│ │ │ ├── single_utf8_param
│ │ │ ├── bracketed_utf8_param
│ │ │ └── none
│ │ ├── public
│ │ │ ├── bar.html
│ │ │ ├── index.html
│ │ │ ├── foo
│ │ │ │ ├── bar.html
│ │ │ │ ├── index.html
│ │ │ │ ├── こんにちは.html
│ │ │ │ └── baz.css
│ │ │ ├── 400.html
│ │ │ ├── 404.html
│ │ │ ├── 500.html
│ │ │ ├── bar
│ │ │ │ └── index.html
│ │ │ ├── 500.da.html
│ │ │ └── gzip
│ │ │ │ ├── foo.zoo.gz
│ │ │ │ └── application-a71b3024f80aea3181c09774ca17e712.js.gz
│ │ ├── test
│ │ │ ├── _partial.erb
│ │ │ ├── _partial.js.erb
│ │ │ ├── hello
│ │ │ │ └── hello.erb
│ │ │ ├── hello_world.erb
│ │ │ ├── _partial.html.erb
│ │ │ ├── formatted_xml_erb.builder
│ │ │ ├── implicit_content_type.atom.builder
│ │ │ ├── render_file_with_ivar.erb
│ │ │ ├── formatted_xml_erb.xml.erb
│ │ │ ├── render_file_with_locals.erb
│ │ │ ├── formatted_xml_erb.html.erb
│ │ │ ├── dot.directory
│ │ │ │ └── render_file_with_ivar.erb
│ │ │ ├── hello_world_with_partial.html.erb
│ │ │ └── hello_xml_world.builder
│ │ ├── localized
│ │ │ ├── hello_world.de.html
│ │ │ ├── hello_world.it.erb
│ │ │ └── hello_world.en.html
│ │ ├── layouts
│ │ │ ├── xhr.html.erb
│ │ │ ├── builder.builder
│ │ │ ├── yield.erb
│ │ │ ├── standard.html.erb
│ │ │ ├── _customers.erb
│ │ │ ├── talk_from_action.erb
│ │ │ └── with_html_partial.html.erb
│ │ ├── 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
│ │ ├── _top_level_partial_only.erb
│ │ ├── filter_test
│ │ │ └── implicit_actions
│ │ │ │ ├── edit.html.erb
│ │ │ │ └── show.html.erb
│ │ ├── respond_to
│ │ │ ├── using_defaults.html.erb
│ │ │ ├── using_defaults_with_all.html.erb
│ │ │ ├── variant_plus_none_for_format.html.erb
│ │ │ ├── using_defaults.xml.builder
│ │ │ ├── using_defaults_with_type_list.html.erb
│ │ │ ├── variant_any_implicit_render.html+phablet.erb
│ │ │ ├── variant_any_implicit_render.html+tablet.erb
│ │ │ ├── custom_constant_handling_without_block.mobile.erb
│ │ │ ├── variant_inline_syntax_without_block.html+phone.erb
│ │ │ ├── variant_with_implicit_rendering.html+mobile.erb
│ │ │ ├── all_types_with_layout.html.erb
│ │ │ ├── using_defaults_with_type_list.xml.builder
│ │ │ ├── iphone_with_html_response_type.html.erb
│ │ │ ├── layouts
│ │ │ │ ├── standard.html.erb
│ │ │ │ ├── standard.iphone.erb
│ │ │ │ └── missing.html.erb
│ │ │ └── iphone_with_html_response_type.iphone.erb
│ │ ├── old_content_type
│ │ │ ├── render_default_for_erb.erb
│ │ │ ├── render_default_for_builder.builder
│ │ │ └── render_default_content_types_for_respond_to.xml.erb
│ │ ├── helpers
│ │ │ ├── abc_helper.rb
│ │ │ ├── just_me_helper.rb
│ │ │ ├── me_too_helper.rb
│ │ │ └── fun
│ │ │ │ ├── pdf_helper.rb
│ │ │ │ └── games_helper.rb
│ │ ├── star_star_mime
│ │ │ └── index.js.erb
│ │ ├── ruby_template.ruby
│ │ ├── alternate_helpers
│ │ │ └── foo_helper.rb
│ │ ├── symlink_parent
│ │ │ └── symlinked_layout.erb
│ │ ├── functional_caching
│ │ │ ├── html_fragment_cached_with_partial.html.erb
│ │ │ ├── _partial.erb
│ │ │ ├── formatted_fragment_cached.html.erb
│ │ │ ├── fragment_cached.html.erb
│ │ │ ├── formatted_fragment_cached.xml.builder
│ │ │ ├── formatted_fragment_cached_with_variant.html+phone.erb
│ │ │ ├── fragment_cached_without_digest.html.erb
│ │ │ └── inline_fragment_cached.html.erb
│ │ ├── helpers_typo
│ │ │ └── admin
│ │ │ │ └── users_helper.rb
│ │ ├── bad_customers
│ │ │ └── _bad_customer.html.erb
│ │ ├── helpers1_pack
│ │ │ └── pack1_helper.rb
│ │ └── helpers2_pack
│ │ │ └── pack2_helper.rb
│ └── controller
│ │ └── controller_fixtures
│ │ ├── app
│ │ └── controllers
│ │ │ ├── user_controller.rb
│ │ │ └── admin
│ │ │ └── user_controller.rb
│ │ └── vendor
│ │ └── plugins
│ │ └── bad_plugin
│ │ └── lib
│ │ └── plugin_controller.rb
└── lib
│ └── action_dispatch
│ └── middleware
│ └── templates
│ └── rescues
│ ├── unknown_action.text.erb
│ ├── missing_template.text.erb
│ └── unknown_action.html.erb
├── activejob
├── .gitignore
├── test
│ ├── support
│ │ ├── delayed_job
│ │ │ └── delayed
│ │ │ │ └── serialization
│ │ │ │ └── test.rb
│ │ └── integration
│ │ │ └── adapters
│ │ │ └── sucker_punch.rb
│ ├── adapters
│ │ ├── inline.rb
│ │ ├── qu.rb
│ │ ├── resque.rb
│ │ ├── sidekiq.rb
│ │ ├── sneakers.rb
│ │ ├── backburner.rb
│ │ ├── que.rb
│ │ ├── sucker_punch.rb
│ │ ├── queue_classic.rb
│ │ └── test.rb
│ └── jobs
│ │ ├── gid_job.rb
│ │ ├── hello_job.rb
│ │ ├── nested_job.rb
│ │ └── logging_job.rb
└── lib
│ └── active_job
│ ├── test_case.rb
│ └── version.rb
├── activerecord
├── test
│ ├── assets
│ │ ├── test.txt
│ │ ├── example.log
│ │ └── flowers.jpg
│ ├── fixtures
│ │ ├── all
│ │ │ ├── people.yml
│ │ │ ├── tasks.yml
│ │ │ ├── developers.yml
│ │ │ └── admin
│ │ ├── .gitignore
│ │ ├── naked
│ │ │ └── yml
│ │ │ │ ├── accounts.yml
│ │ │ │ ├── courses.yml
│ │ │ │ └── companies.yml
│ │ ├── fk_test_has_pk.yml
│ │ ├── minimalistics.yml
│ │ ├── uuid_parents.yml
│ │ ├── teapots.yml
│ │ ├── admin
│ │ │ ├── accounts.yml
│ │ │ ├── randomly_named_a9.yml
│ │ │ ├── randomly_named_b0.yml
│ │ │ └── users.yml
│ │ ├── fk_test_has_fk.yml
│ │ ├── items.yml
│ │ ├── warehouse-things.yml
│ │ ├── to_be_linked
│ │ │ ├── accounts.yml
│ │ │ └── users.yml
│ │ ├── collections.yml
│ │ ├── legacy_things.yml
│ │ ├── uuid_children.yml
│ │ ├── dogs.yml
│ │ ├── men.yml
│ │ ├── colleges.yml
│ │ ├── variants.yml
│ │ ├── bulbs.yml
│ │ ├── friendships.yml
│ │ ├── products.yml
│ │ ├── reserved_words
│ │ │ ├── distinct.yml
│ │ │ ├── select.yml
│ │ │ └── values.yml
│ │ ├── author_favorites.yml
│ │ ├── author_addresses.yml
│ │ ├── vertices.yml
│ │ ├── organizations.yml
│ │ ├── zines.yml
│ │ ├── jobs.yml
│ │ ├── member_types.yml
│ │ ├── minivans.yml
│ │ ├── mixed_case_monkeys.yml
│ │ ├── movies.yml
│ │ ├── edges.yml
│ │ ├── dashboards.yml
│ │ ├── dog_lovers.yml
│ │ ├── ships.yml
│ │ ├── courses.yml
│ │ ├── projects.yml
│ │ ├── string_key_objects.yml
│ │ ├── cars.yml
│ │ ├── tags.yml
│ │ ├── member_details.yml
│ │ ├── essays.yml
│ │ ├── price_estimates.yml
│ │ ├── categories
│ │ │ └── subsubdir
│ │ │ │ └── arbitrary_filename.yml
│ │ ├── categories_ordered.yml
│ │ ├── funny_jokes.yml
│ │ ├── peoples_treasures.yml
│ │ ├── randomly_named_a9.yml
│ │ ├── speedometers.yml
│ │ ├── treasures.yml
│ │ ├── mateys.yml
│ │ ├── computers.yml
│ │ ├── owners.yml
│ │ ├── readers.yml
│ │ └── toys.yml
│ ├── migrations
│ │ ├── empty
│ │ │ └── .gitkeep
│ │ ├── magic
│ │ │ └── 1_currencies_have_symbols.rb
│ │ ├── to_copy2
│ │ │ ├── 1_create_articles.rb
│ │ │ └── 2_create_comments.rb
│ │ └── to_copy_with_timestamps2
│ │ │ ├── 20090101010101_create_articles.rb
│ │ │ └── 20090101010202_create_comments.rb
│ ├── .gitignore
│ └── models
│ │ ├── publisher.rb
│ │ ├── guid.rb
│ │ ├── binary.rb
│ │ ├── boolean.rb
│ │ ├── default.rb
│ │ ├── record.rb
│ │ ├── autoloadable
│ │ └── extra_firm.rb
│ │ ├── minimalistic.rb
│ │ ├── column.rb
│ │ ├── entrant.rb
│ │ ├── admin.rb
│ │ ├── admin
│ │ ├── account.rb
│ │ └── randomly_named_c1.rb
│ │ ├── event.rb
│ │ ├── member_type.rb
│ │ ├── uuid_child.rb
│ │ ├── keyboard.rb
│ │ ├── mixed_case_monkey.rb
│ │ ├── possession.rb
│ │ ├── task.rb
│ │ ├── uuid_parent.rb
│ │ ├── arunit2_model.rb
│ │ ├── chef.rb
│ │ ├── column_name.rb
│ │ ├── dashboard.rb
│ │ ├── legacy_thing.rb
│ │ ├── line_item.rb
│ │ ├── zine.rb
│ │ ├── cake_designer.rb
│ │ ├── drink_designer.rb
│ │ ├── string_key_object.rb
│ │ ├── department.rb
│ │ ├── user.rb
│ │ ├── computer.rb
│ │ ├── publisher
│ │ ├── magazine.rb
│ │ └── article.rb
│ │ ├── student.rb
│ │ ├── without_table.rb
│ │ ├── electron.rb
│ │ ├── matey.rb
│ │ ├── movie.rb
│ │ ├── rating.rb
│ │ ├── wheel.rb
│ │ ├── auto_id.rb
│ │ ├── liquid.rb
│ │ ├── traffic_light.rb
│ │ ├── citation.rb
│ │ ├── randomly_named_c1.rb
│ │ ├── treaty.rb
│ │ ├── aircraft.rb
│ │ ├── country.rb
│ │ ├── course.rb
│ │ ├── image.rb
│ │ ├── subscription.rb
│ │ ├── toy.rb
│ │ ├── warehouse_thing.rb
│ │ ├── molecule.rb
│ │ ├── engine.rb
│ │ ├── price_estimate.rb
│ │ ├── speedometer.rb
│ │ ├── personal_legacy_thing.rb
│ │ ├── item.rb
│ │ ├── joke.rb
│ │ ├── invoice.rb
│ │ └── essay.rb
├── examples
│ └── .gitignore
└── lib
│ └── active_record
│ ├── railties
│ └── console_sandbox.rb
│ └── type_caster.rb
├── actionmailer
├── test
│ ├── fixtures
│ │ ├── async_mailer
│ │ │ └── welcome.erb
│ │ ├── base_mailer
│ │ │ ├── welcome.erb
│ │ │ ├── attachment_with_hash.html.erb
│ │ │ ├── different_layout.html.erb
│ │ │ ├── welcome_with_headers.html.erb
│ │ │ ├── different_layout.text.erb
│ │ │ ├── html_only.html.erb
│ │ │ ├── plain_text_only.text.erb
│ │ │ ├── email_custom_layout.text.html.erb
│ │ │ ├── attachment_with_hash_default_encoding.html.erb
│ │ │ ├── attachment_with_content.erb
│ │ │ ├── implicit_multipart.html.erb
│ │ │ ├── implicit_multipart.text.erb
│ │ │ ├── implicit_with_locale.html.erb
│ │ │ ├── implicit_with_locale.text.erb
│ │ │ ├── implicit_with_locale.de.html.erb
│ │ │ ├── implicit_with_locale.en.html.erb
│ │ │ ├── implicit_with_locale.pl.text.erb
│ │ │ ├── email_with_translations.html.erb
│ │ │ ├── explicit_multipart_with_one_template.erb
│ │ │ ├── implicit_with_locale.de-AT.text.erb
│ │ │ ├── explicit_multipart_templates.html.erb
│ │ │ ├── explicit_multipart_templates.text.erb
│ │ │ ├── inline_attachment.text.erb
│ │ │ ├── without_mail_call.erb
│ │ │ └── inline_attachment.html.erb
│ │ ├── proc_mailer
│ │ │ └── welcome.html.erb
│ │ ├── test_helper_mailer
│ │ │ └── welcome
│ │ ├── auto_layout_mailer
│ │ │ ├── hello.html.erb
│ │ │ ├── multipart.html.erb
│ │ │ └── multipart.text.erb
│ │ ├── first_mailer
│ │ │ └── share.erb
│ │ ├── second_mailer
│ │ │ └── share.erb
│ │ ├── base_test
│ │ │ ├── after_action_mailer
│ │ │ │ └── welcome.html.erb
│ │ │ ├── before_action_mailer
│ │ │ │ └── welcome.html.erb
│ │ │ └── default_inline_attachment_mailer
│ │ │ │ └── welcome.html.erb
│ │ ├── test_mailer
│ │ │ ├── _subtemplate.text.erb
│ │ │ ├── rxml_template.rxml
│ │ │ ├── multipart_alternative.plain.erb
│ │ │ ├── implicitly_multipart_example.yaml.erb
│ │ │ ├── multipart_alternative.html.erb
│ │ │ ├── signed_up.html.erb
│ │ │ ├── included_subtemplate.text.erb
│ │ │ ├── implicitly_multipart_example.ignored.erb
│ │ │ ├── implicitly_multipart_example.rhtml.bak
│ │ │ ├── custom_templating_extension.html.haml
│ │ │ ├── custom_templating_extension.text.haml
│ │ │ └── implicitly_multipart_example.text.erb
│ │ ├── anonymous
│ │ │ └── welcome.erb
│ │ ├── layouts
│ │ │ ├── spam.html.erb
│ │ │ ├── different_layout.html.erb
│ │ │ ├── different_layout.text.erb
│ │ │ ├── auto_layout_mailer.html.erb
│ │ │ └── auto_layout_mailer.text.erb
│ │ ├── mail_delivery_test
│ │ │ └── delivery_mailer
│ │ │ │ └── welcome.html.erb
│ │ ├── nested_layout_mailer
│ │ │ └── signup.html.erb
│ │ ├── explicit_layout_mailer
│ │ │ ├── logout.html.erb
│ │ │ └── signup.html.erb
│ │ ├── another.path
│ │ │ └── base_mailer
│ │ │ │ └── welcome.erb
│ │ ├── asset_mailer
│ │ │ └── welcome.html.erb
│ │ ├── templates
│ │ │ └── signed_up.erb
│ │ ├── asset_host_mailer
│ │ │ └── email_with_asset.html.erb
│ │ ├── url_test_mailer
│ │ │ ├── exercise_url_for.erb
│ │ │ └── signed_up_with_url.erb
│ │ ├── path.with.dots
│ │ │ └── funky_path_mailer
│ │ │ │ └── multipart_with_template_path_with_dots.erb
│ │ ├── attachments
│ │ │ ├── foo.jpg
│ │ │ └── test.jpg
│ │ └── i18n_test_mailer
│ │ │ └── mail_with_i18n_subject.erb
│ └── mailers
│ │ └── asset_mailer.rb
└── lib
│ └── rails
│ └── generators
│ └── mailer
│ └── templates
│ └── application_mailer.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
│ │ └── raises_exception_without_blame_file.rb
│ ├── autoloading_fixtures
│ │ ├── conflict.rb
│ │ ├── e.rb
│ │ ├── a
│ │ │ ├── b.rb
│ │ │ └── c
│ │ │ │ ├── d.rb
│ │ │ │ └── e
│ │ │ │ └── f.rb
│ │ ├── typo.rb
│ │ ├── application.rb
│ │ ├── cross_site_dependency.rb
│ │ ├── should_not_be_required.rb
│ │ ├── circular2.rb
│ │ ├── load_path
│ │ │ └── loaded_constant.rb
│ │ ├── class_folder
│ │ │ ├── inline_class.rb
│ │ │ ├── nested_class.rb
│ │ │ └── class_folder_subclass.rb
│ │ ├── module_folder
│ │ │ ├── inline_class.rb
│ │ │ ├── nested_sibling.rb
│ │ │ └── nested_class.rb
│ │ ├── raises_name_error.rb
│ │ ├── html
│ │ │ └── some_class.rb
│ │ ├── module_with_custom_const_missing
│ │ │ └── a
│ │ │ │ └── b.rb
│ │ ├── class_folder.rb
│ │ ├── circular1.rb
│ │ ├── requires_constant.rb
│ │ ├── multiple_constant_file.rb
│ │ ├── raises_no_method_error.rb
│ │ ├── counting_loader.rb
│ │ └── loads_constant.rb
│ └── fixtures
│ │ ├── xml
│ │ ├── jdom_include.txt
│ │ ├── jdom_entities.txt
│ │ └── jdom_doctype.dtd
│ │ └── autoload
│ │ ├── another_class.rb
│ │ └── some_class.rb
└── lib
│ └── active_support
│ ├── core_ext
│ ├── file.rb
│ ├── big_decimal.rb
│ ├── object
│ │ └── to_param.rb
│ ├── regexp.rb
│ ├── string
│ │ ├── starts_ends_with.rb
│ │ └── behavior.rb
│ ├── date
│ │ └── zones.rb
│ ├── date_time
│ │ └── zones.rb
│ ├── numeric.rb
│ ├── integer.rb
│ ├── struct.rb
│ ├── time
│ │ └── marshal.rb
│ ├── kernel
│ │ └── debugger.rb
│ ├── class.rb
│ └── module
│ │ └── method_transplanting.rb
│ ├── json.rb
│ ├── testing
│ └── autorun.rb
│ ├── all.rb
│ ├── values
│ └── unicode_tables.dat
│ └── core_ext.rb
├── load_paths.rb
├── .yardopts
├── activemodel
├── test
│ ├── models
│ │ ├── sheep.rb
│ │ ├── project.rb
│ │ ├── account.rb
│ │ ├── helicopter.rb
│ │ ├── blog_post.rb
│ │ └── track_back.rb
│ ├── config.rb
│ └── validators
│ │ └── namespace
│ │ └── email_validator.rb
└── lib
│ └── active_model
│ └── test_case.rb
└── tools
└── console
/guides/.document:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/tmp/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/railties/.gitignore:
--------------------------------------------------------------------------------
1 | log/
2 |
--------------------------------------------------------------------------------
/RAILS_VERSION:
--------------------------------------------------------------------------------
1 | 5.0.0.alpha
2 |
--------------------------------------------------------------------------------
/actionpack/test/tmp/.gitignore:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/activejob/.gitignore:
--------------------------------------------------------------------------------
1 | test/dummy
2 |
--------------------------------------------------------------------------------
/activerecord/test/assets/test.txt:
--------------------------------------------------------------------------------
1 | %00
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/all/people.yml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/all/tasks.yml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/empty/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/shared.html.erb:
--------------------------------------------------------------------------------
1 | Elastica
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/bar.html:
--------------------------------------------------------------------------------
1 | /bar.html
--------------------------------------------------------------------------------
/actionview/test/fixtures/shared.html.erb:
--------------------------------------------------------------------------------
1 | Elastica
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_two.html.erb:
--------------------------------------------------------------------------------
1 | Hello
--------------------------------------------------------------------------------
/activerecord/test/.gitignore:
--------------------------------------------------------------------------------
1 | /config.yml
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite*
--------------------------------------------------------------------------------
/activerecord/test/fixtures/all/developers.yml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/hello.txt:
--------------------------------------------------------------------------------
1 | Hello
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/bar.html:
--------------------------------------------------------------------------------
1 | /bar.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/index.html:
--------------------------------------------------------------------------------
1 | /index.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/_partial.erb:
--------------------------------------------------------------------------------
1 | invalid
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/foo/bar.html:
--------------------------------------------------------------------------------
1 | /foo/bar.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/index.html:
--------------------------------------------------------------------------------
1 | /index.html
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial.erb:
--------------------------------------------------------------------------------
1 | invalid
--------------------------------------------------------------------------------
/activerecord/examples/.gitignore:
--------------------------------------------------------------------------------
1 | performance.sql
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/all/admin:
--------------------------------------------------------------------------------
1 | ../to_be_linked/
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/async_mailer/welcome.erb:
--------------------------------------------------------------------------------
1 | Welcome
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/welcome.erb:
--------------------------------------------------------------------------------
1 | Welcome
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/proc_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/foo/bar.html:
--------------------------------------------------------------------------------
1 | /foo/bar.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/_partial.js.erb:
--------------------------------------------------------------------------------
1 | partial js
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/hello/hello.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/hello_world.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/bar/index.html:
--------------------------------------------------------------------------------
1 | /bar/index.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/foo/index.html:
--------------------------------------------------------------------------------
1 | /foo/index.html
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/hello.html:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/events/_event.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/messages/_form.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/.gitignore:
--------------------------------------------------------------------------------
1 | absolute/*
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial.js.erb:
--------------------------------------------------------------------------------
1 | partial js
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello/hello.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/activerecord/test/fixtures/naked/yml/accounts.yml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/conflict.rb:
--------------------------------------------------------------------------------
1 | Conflict = 1
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_helper_mailer/welcome:
--------------------------------------------------------------------------------
1 | Welcome!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/localized/hello_world.de.html:
--------------------------------------------------------------------------------
1 | Guten Tag
--------------------------------------------------------------------------------
/actionpack/test/fixtures/localized/hello_world.it.erb:
--------------------------------------------------------------------------------
1 | Ciao Mondo
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/400.html:
--------------------------------------------------------------------------------
1 | 400 error fixture
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/404.html:
--------------------------------------------------------------------------------
1 | 404 error fixture
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/500.html:
--------------------------------------------------------------------------------
1 | 500 error fixture
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/bar/index.html:
--------------------------------------------------------------------------------
1 | /bar/index.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/foo/index.html:
--------------------------------------------------------------------------------
1 | /foo/index.html
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/_partial.html.erb:
--------------------------------------------------------------------------------
1 | partial html
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/shared.html.erb:
--------------------------------------------------------------------------------
1 | Elastica
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_hello.builder:
--------------------------------------------------------------------------------
1 | xm.hello
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial.erb:
--------------------------------------------------------------------------------
1 | invalid
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/level/below/_header.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/messages/_header.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/plain_text.raw:
--------------------------------------------------------------------------------
1 | <%= hello_world %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/elsewhere/cools.js:
--------------------------------------------------------------------------------
1 | // cools.js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/elsewhere/file.css:
--------------------------------------------------------------------------------
1 | /*file.css*/
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/bank.js:
--------------------------------------------------------------------------------
1 | // bank js
--------------------------------------------------------------------------------
/actionview/test/fixtures/replies/_reply.erb:
--------------------------------------------------------------------------------
1 | <%= reply.content %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_changing_priority.html.erb:
--------------------------------------------------------------------------------
1 | HTML
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_changing_priority.json.erb:
--------------------------------------------------------------------------------
1 | JSON
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_json_change_priority.json.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial.html.erb:
--------------------------------------------------------------------------------
1 | partial html
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_only.erb:
--------------------------------------------------------------------------------
1 | only partial
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/dont_pick_me:
--------------------------------------------------------------------------------
1 | non-template file
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.da.html.erb:
--------------------------------------------------------------------------------
1 | Hey verden
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.erb~:
--------------------------------------------------------------------------------
1 | Don't pick me!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/template.erb:
--------------------------------------------------------------------------------
1 | <%= template.path %>
--------------------------------------------------------------------------------
/activerecord/test/fixtures/naked/yml/courses.yml:
--------------------------------------------------------------------------------
1 | qwerty
2 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/conflict.rb:
--------------------------------------------------------------------------------
1 | Conflict = 2
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/e.rb:
--------------------------------------------------------------------------------
1 | class E
2 | end
--------------------------------------------------------------------------------
/activesupport/test/fixtures/xml/jdom_include.txt:
--------------------------------------------------------------------------------
1 | include me
2 |
--------------------------------------------------------------------------------
/guides/source/kindle/copyright.html.erb:
--------------------------------------------------------------------------------
1 | <%= render 'license' %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb:
--------------------------------------------------------------------------------
1 | Inside
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/attachment_with_hash.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/different_layout.html.erb:
--------------------------------------------------------------------------------
1 | HTML
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/welcome_with_headers.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/first_mailer/share.erb:
--------------------------------------------------------------------------------
1 | first mail
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/second_mailer/share.erb:
--------------------------------------------------------------------------------
1 | second mail
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/xhr.html.erb:
--------------------------------------------------------------------------------
1 | XHR!
2 | <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/localized/hello_world.en.html:
--------------------------------------------------------------------------------
1 | Hello World
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/post/index.html.erb:
--------------------------------------------------------------------------------
1 | Hello Firefox
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/post/index.iphone.erb:
--------------------------------------------------------------------------------
1 | Hello iPhone
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/alt/layouts/alt.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial.js.erb:
--------------------------------------------------------------------------------
1 | partial js
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello,world.erb:
--------------------------------------------------------------------------------
1 | Hello w*rld!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello/hello.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello_world.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/comments/empty.html.erb:
--------------------------------------------------------------------------------
1 |
No Comment
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/messages/actions/_move.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/games/_game.erb:
--------------------------------------------------------------------------------
1 | Just <%= game.name %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/_yield_only.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/mascots/_mascot.html.erb:
--------------------------------------------------------------------------------
1 | <%= mascot.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/projects/_project.erb:
--------------------------------------------------------------------------------
1 | <%= project.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/effects.js:
--------------------------------------------------------------------------------
1 | // effects js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/robber.js:
--------------------------------------------------------------------------------
1 | // robber js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/stylesheets/bank.css:
--------------------------------------------------------------------------------
1 | /* bank.css */
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_raise.html.erb:
--------------------------------------------------------------------------------
1 | <%= doesnt_exist %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.html+phone.erb:
--------------------------------------------------------------------------------
1 | Hello phone!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.pt-BR.html.erb:
--------------------------------------------------------------------------------
1 | Ola mundo
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/malformed/malformed~:
--------------------------------------------------------------------------------
1 | Don't render me!
--------------------------------------------------------------------------------
/actionview/test/fixtures/topics/_topic.html.erb:
--------------------------------------------------------------------------------
1 | <%= topic.title %>
--------------------------------------------------------------------------------
/activejob/test/support/delayed_job/delayed/serialization/test.rb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/fk_test_has_pk.yml:
--------------------------------------------------------------------------------
1 | first:
2 | pk_id: 1
--------------------------------------------------------------------------------
/activerecord/test/fixtures/minimalistics.yml:
--------------------------------------------------------------------------------
1 | first:
2 | id: 1
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/publisher.rb:
--------------------------------------------------------------------------------
1 | module Publisher
2 | end
3 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/a/b.rb:
--------------------------------------------------------------------------------
1 | class A::B
2 | end
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/typo.rb:
--------------------------------------------------------------------------------
1 | TypO = 1
2 |
3 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/template.rb:
--------------------------------------------------------------------------------
1 | say "It works from file!"
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/different_layout.text.erb:
--------------------------------------------------------------------------------
1 | PLAIN
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/html_only.html.erb:
--------------------------------------------------------------------------------
1 | Testing
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/plain_text_only.text.erb:
--------------------------------------------------------------------------------
1 | Testing
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_test/after_action_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/_subtemplate.text.erb:
--------------------------------------------------------------------------------
1 | let's go!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/_top_level_partial_only.erb:
--------------------------------------------------------------------------------
1 | top level partial
--------------------------------------------------------------------------------
/actionpack/test/fixtures/filter_test/implicit_actions/edit.html.erb:
--------------------------------------------------------------------------------
1 | edit
--------------------------------------------------------------------------------
/actionpack/test/fixtures/filter_test/implicit_actions/show.html.erb:
--------------------------------------------------------------------------------
1 | show
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/super_post/index.html.erb:
--------------------------------------------------------------------------------
1 | Super Firefox
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/using_defaults.html.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/formatted_xml_erb.builder:
--------------------------------------------------------------------------------
1 | xml.test 'failed'
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/foo/こんにちは.html:
--------------------------------------------------------------------------------
1 | means hello in Japanese
2 |
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/index.erb:
--------------------------------------------------------------------------------
1 | Hello from index.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/_top_level_partial_only.erb:
--------------------------------------------------------------------------------
1 | top level partial
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/views/hello.erb:
--------------------------------------------------------------------------------
1 | hello.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_changing_priority.html.erb:
--------------------------------------------------------------------------------
1 | HTML
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_changing_priority.json.erb:
--------------------------------------------------------------------------------
1 | JSON
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_json_change_priority.json.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial.html.erb:
--------------------------------------------------------------------------------
1 | partial html
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_only.erb:
--------------------------------------------------------------------------------
1 | only partial
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hyphen-ated.erb:
--------------------------------------------------------------------------------
1 | Hello world!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/comments/empty.html.builder:
--------------------------------------------------------------------------------
1 | xml.h1 'No Comment'
--------------------------------------------------------------------------------
/actionview/test/fixtures/comments/empty.xml.erb:
--------------------------------------------------------------------------------
1 | No Comment
--------------------------------------------------------------------------------
/actionview/test/fixtures/custom_pattern/html/another.erb:
--------------------------------------------------------------------------------
1 | Another template!
--------------------------------------------------------------------------------
/actionview/test/fixtures/developers/_developer.erb:
--------------------------------------------------------------------------------
1 | <%= developer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/fun/games/_game.erb:
--------------------------------------------------------------------------------
1 | Fun <%= game.name %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layout_tests/alt/hello.erb:
--------------------------------------------------------------------------------
1 | alt/hello.erb
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/controls.js:
--------------------------------------------------------------------------------
1 | // controls js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/dragdrop.js:
--------------------------------------------------------------------------------
1 | // dragdrop js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/prototype.js:
--------------------------------------------------------------------------------
1 | // prototype js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/stylesheets/robber.css:
--------------------------------------------------------------------------------
1 | /* robber.css */
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_200.html.erb:
--------------------------------------------------------------------------------
1 | Invalid partial
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_counter.html.erb:
--------------------------------------------------------------------------------
1 | <%= counter_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_from_helper.erb:
--------------------------------------------------------------------------------
1 | <%= render_from_helper %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_second_json_partial.json.erb:
--------------------------------------------------------------------------------
1 | Third level
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_utf8_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= "текст" %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/basic.html.erb:
--------------------------------------------------------------------------------
1 | Hello from basic.html.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/greeting.xml.erb:
--------------------------------------------------------------------------------
1 | This is grand!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/malformed/malformed.erb~:
--------------------------------------------------------------------------------
1 | Don't render me!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/nil_return.erb:
--------------------------------------------------------------------------------
1 | This is nil: <%== nil %>
2 |
--------------------------------------------------------------------------------
/activejob/test/adapters/inline.rb:
--------------------------------------------------------------------------------
1 | ActiveJob::Base.queue_adapter = :inline
--------------------------------------------------------------------------------
/activerecord/test/fixtures/uuid_parents.yml:
--------------------------------------------------------------------------------
1 | daddy:
2 | name: Daddy
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/guid.rb:
--------------------------------------------------------------------------------
1 | class Guid < ActiveRecord::Base
2 | end
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/a/c/d.rb:
--------------------------------------------------------------------------------
1 | class A::C::D
2 | end
--------------------------------------------------------------------------------
/activesupport/test/dependencies/service_two.rb:
--------------------------------------------------------------------------------
1 | class ServiceTwo
2 | end
--------------------------------------------------------------------------------
/activesupport/test/fixtures/xml/jdom_entities.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/anonymous/welcome.erb:
--------------------------------------------------------------------------------
1 | Anonymous mailer body
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_test/before_action_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/layouts/spam.html.erb:
--------------------------------------------------------------------------------
1 | Spammer layout <%= yield %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/mail_delivery_test/delivery_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/nested_layout_mailer/signup.html.erb:
--------------------------------------------------------------------------------
1 | We do not spam
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/super_post/index.iphone.erb:
--------------------------------------------------------------------------------
1 | Super iPhone
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/500.da.html:
--------------------------------------------------------------------------------
1 | 500 localized error fixture
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/foo/こんにちは.html:
--------------------------------------------------------------------------------
1 | means hello in Japanese
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/using_defaults_with_all.html.erb:
--------------------------------------------------------------------------------
1 | HTML!
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/variant_plus_none_for_format.html.erb:
--------------------------------------------------------------------------------
1 | none
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/foo/baz.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: #000;
3 | }
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/_top_level_partial.html.erb:
--------------------------------------------------------------------------------
1 | top level partial html
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/views/goodbye.erb:
--------------------------------------------------------------------------------
1 | hello.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/_yield_only.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/xhr.html.erb:
--------------------------------------------------------------------------------
1 | XHR!
2 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/comments/empty.de.html.erb:
--------------------------------------------------------------------------------
1 | Kein Kommentar
--------------------------------------------------------------------------------
/actionview/test/fixtures/custom_pattern/another.html.erb:
--------------------------------------------------------------------------------
1 | Hello custom patterns!
--------------------------------------------------------------------------------
/actionview/test/fixtures/custom_pattern/html/path.erb:
--------------------------------------------------------------------------------
1 | Hello custom patterns!
--------------------------------------------------------------------------------
/actionview/test/fixtures/fun/games/hello_world.erb:
--------------------------------------------------------------------------------
1 | Living in a nested world
--------------------------------------------------------------------------------
/actionview/test/fixtures/override/test/hello_world.erb:
--------------------------------------------------------------------------------
1 | Hello overridden world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/override2/layouts/test/sub.erb:
--------------------------------------------------------------------------------
1 | layout: <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/application.js:
--------------------------------------------------------------------------------
1 | // application js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/subdir/subdir.js:
--------------------------------------------------------------------------------
1 | // subdir js
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/version.1.0.js:
--------------------------------------------------------------------------------
1 | // version.1.0 js
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/stylesheets/random.styles:
--------------------------------------------------------------------------------
1 | /* random.styles */
--------------------------------------------------------------------------------
/actionview/test/fixtures/respond_to/using_defaults_with_all.html.erb:
--------------------------------------------------------------------------------
1 | HTML!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world.text+phone.erb:
--------------------------------------------------------------------------------
1 | Hello texty phone!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/malformed/malformed.en.html.erb~:
--------------------------------------------------------------------------------
1 | Don't render me!
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/malformed/malformed.html.erb~:
--------------------------------------------------------------------------------
1 | Don't render me!
--------------------------------------------------------------------------------
/actionview/test/fixtures/translations/templates/found.erb:
--------------------------------------------------------------------------------
1 | <%= t('.foo') %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/teapots.yml:
--------------------------------------------------------------------------------
1 | bob:
2 | id: 1
3 | name: Bob
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/binary.rb:
--------------------------------------------------------------------------------
1 | class Binary < ActiveRecord::Base
2 | end
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/a/c/e/f.rb:
--------------------------------------------------------------------------------
1 | class A::C::E::F
2 | end
--------------------------------------------------------------------------------
/load_paths.rb:
--------------------------------------------------------------------------------
1 | # bust gem prelude
2 | require 'bundler'
3 | Bundler.setup
4 |
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/generators/usage_template/USAGE:
--------------------------------------------------------------------------------
1 | :: <%= 1 + 1 %> ::
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/auto_layout_mailer/multipart.html.erb:
--------------------------------------------------------------------------------
1 | text/html multipart
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/email_custom_layout.text.html.erb:
--------------------------------------------------------------------------------
1 | body_text
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb:
--------------------------------------------------------------------------------
1 | You logged out
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb:
--------------------------------------------------------------------------------
1 | We do not spam
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/layouts/different_layout.html.erb:
--------------------------------------------------------------------------------
1 | HTML -- <%= yield %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/layouts/different_layout.text.erb:
--------------------------------------------------------------------------------
1 | PLAIN -- <%= yield %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/rxml_template.rxml:
--------------------------------------------------------------------------------
1 | xml.instruct!
2 | xml.test
--------------------------------------------------------------------------------
/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/foo/baz.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: #000;
3 | }
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/using_defaults.xml.builder:
--------------------------------------------------------------------------------
1 | xml.p "Hello world!"
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_counter.html.erb:
--------------------------------------------------------------------------------
1 | <%= counter_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_form.erb:
--------------------------------------------------------------------------------
1 | <%= form.label :title %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_only_html.html:
--------------------------------------------------------------------------------
1 | only html partial
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_second_json_partial.json.erb:
--------------------------------------------------------------------------------
1 | Third level
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/formatted_xml_erb.builder:
--------------------------------------------------------------------------------
1 | xml.test 'failed'
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/greeting.xml.erb:
--------------------------------------------------------------------------------
1 | This is grand!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/proper_block_detection.erb:
--------------------------------------------------------------------------------
1 | <%= @todo %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/comments/_comment.html.erb:
--------------------------------------------------------------------------------
1 | Great story, bro!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/fun/serious/games/_game.erb:
--------------------------------------------------------------------------------
1 | Serious <%= game.name %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/_yield_with_params.erb:
--------------------------------------------------------------------------------
1 | <%= yield 'Yield!' %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/foo/baz.css:
--------------------------------------------------------------------------------
1 | body {
2 | background: #000;
3 | }
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/javascripts/common.javascript:
--------------------------------------------------------------------------------
1 | // common.javascript
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/stylesheets/subdir/subdir.css:
--------------------------------------------------------------------------------
1 | /* subdir.css */
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/public/stylesheets/version.1.0.css:
--------------------------------------------------------------------------------
1 | /* version.1.0.css */
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_b_layout_for_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_object_inspector.erb:
--------------------------------------------------------------------------------
1 | <%= object_inspector.inspect -%>
--------------------------------------------------------------------------------
/actionview/test/fixtures/translations/templates/array.erb:
--------------------------------------------------------------------------------
1 | <%= t('.foo.bar') %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/admin/accounts.yml:
--------------------------------------------------------------------------------
1 | signals37:
2 | name: 37signals
3 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/fk_test_has_fk.yml:
--------------------------------------------------------------------------------
1 | first:
2 | id: 1
3 | fk_id: 1
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/items.yml:
--------------------------------------------------------------------------------
1 | dvd:
2 | id: 1
3 | name: Godfather
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/warehouse-things.yml:
--------------------------------------------------------------------------------
1 | one:
2 | id: 1
3 | value: 1000
--------------------------------------------------------------------------------
/activerecord/test/models/boolean.rb:
--------------------------------------------------------------------------------
1 | class Boolean < ActiveRecord::Base
2 | end
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/default.rb:
--------------------------------------------------------------------------------
1 | class Default < ActiveRecord::Base
2 | end
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/record.rb:
--------------------------------------------------------------------------------
1 | class Record < ActiveRecord::Base
2 | end
3 |
--------------------------------------------------------------------------------
/activesupport/test/fixtures/xml/jdom_doctype.dtd:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/generator/templates/templates/.empty_directory:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/app/mailers/.empty_directory:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/app/models/.empty_directory:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/railties/lib/rails/templates/rails/info/properties.html.erb:
--------------------------------------------------------------------------------
1 | <%= @info.html_safe %>
--------------------------------------------------------------------------------
/railties/test/fixtures/about_yml_plugins/bad_about_yml/init.rb:
--------------------------------------------------------------------------------
1 | # intentionally empty
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/another.path/base_mailer/welcome.erb:
--------------------------------------------------------------------------------
1 | Welcome from another path
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/asset_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 | <%= image_tag "dummy.png" %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.erb:
--------------------------------------------------------------------------------
1 | text/plain multipart
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/attachment_with_hash_default_encoding.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_test/default_inline_attachment_mailer/welcome.html.erb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/multipart_alternative.plain.erb:
--------------------------------------------------------------------------------
1 | foo: <%= @foo %>
--------------------------------------------------------------------------------
/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/variant_any_implicit_render.html+phablet.erb:
--------------------------------------------------------------------------------
1 | phablet
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/variant_any_implicit_render.html+tablet.erb:
--------------------------------------------------------------------------------
1 | tablet
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/implicit_content_type.atom.builder:
--------------------------------------------------------------------------------
1 | xml.atom do
2 | end
3 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/naked_render.erb:
--------------------------------------------------------------------------------
1 | Hello from naked_render.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/fun/games/_form.erb:
--------------------------------------------------------------------------------
1 | <%= form.label :title %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/fun/games/hello_world.erb:
--------------------------------------------------------------------------------
1 | Living in a nested world
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/item.erb:
--------------------------------------------------------------------------------
1 | item.erb <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/formatted_html_erb.html.erb:
--------------------------------------------------------------------------------
1 | formatted html erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/greeting.html.erb:
--------------------------------------------------------------------------------
1 | This is grand!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello_world_with_layout_false.erb:
--------------------------------------------------------------------------------
1 | Hello world!
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/level/recursion.html.erb:
--------------------------------------------------------------------------------
1 | <%= render 'recursion' %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_one.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "two" %> world
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/one.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/two" %> world
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/translations/templates/missing.erb:
--------------------------------------------------------------------------------
1 | <%= t('.missing') %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/naked/yml/companies.yml:
--------------------------------------------------------------------------------
1 | # i wonder what will happen here
2 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/application.rb:
--------------------------------------------------------------------------------
1 | ApplicationController = 10
2 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/erb/mailer/templates/layout.text.erb:
--------------------------------------------------------------------------------
1 | <%%= yield %>
2 |
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/generators/model_generator.rb:
--------------------------------------------------------------------------------
1 | raise "I should never be loaded"
--------------------------------------------------------------------------------
/.yardopts:
--------------------------------------------------------------------------------
1 | --exclude /templates/
2 | --quiet
3 | act*/lib/**/*.rb
4 | railties/lib/**/*.rb
5 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/attachment_with_content.erb:
--------------------------------------------------------------------------------
1 | Attachment with content
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_multipart.html.erb:
--------------------------------------------------------------------------------
1 | HTML Implicit Multipart
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_multipart.text.erb:
--------------------------------------------------------------------------------
1 | TEXT Implicit Multipart
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.html.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale HTML
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.text.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale TEXT
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb:
--------------------------------------------------------------------------------
1 | Hello from layout <%= yield %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/templates/signed_up.erb:
--------------------------------------------------------------------------------
1 | Hello there,
2 |
3 | Mr. <%= @recipient %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/builder.builder:
--------------------------------------------------------------------------------
1 | xml.wrapper do
2 | xml << yield
3 | end
--------------------------------------------------------------------------------
/actionpack/test/fixtures/old_content_type/render_default_for_erb.erb:
--------------------------------------------------------------------------------
1 | <%= 'hello world!' %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb:
--------------------------------------------------------------------------------
1 | Mobile
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/variant_inline_syntax_without_block.html+phone.erb:
--------------------------------------------------------------------------------
1 | phone
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/variant_with_implicit_rendering.html+mobile.erb:
--------------------------------------------------------------------------------
1 | mobile
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb:
--------------------------------------------------------------------------------
1 | passed formatted xml erb
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/render_file_with_locals.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/_yield_with_params.erb:
--------------------------------------------------------------------------------
1 | <%= yield 'Yield!' %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/quiz/questions/_question.html.erb:
--------------------------------------------------------------------------------
1 | <%= question.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/customers/_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %>: <%= customer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/level/_recursion.html.erb:
--------------------------------------------------------------------------------
1 | <%= render 'recursion' %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_customer.erb:
--------------------------------------------------------------------------------
1 | Hello: <%= customer.name rescue "Anonymous" %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_directory/_partial_with_locales.html.erb:
--------------------------------------------------------------------------------
1 | Hello <%= name %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/render_file_with_locals.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/render_file_with_locals_and_default.erb:
--------------------------------------------------------------------------------
1 | <%= secret ||= 'one' %>
--------------------------------------------------------------------------------
/activemodel/test/models/sheep.rb:
--------------------------------------------------------------------------------
1 | class Sheep
2 | extend ActiveModel::Naming
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/to_be_linked/accounts.yml:
--------------------------------------------------------------------------------
1 | signals37:
2 | name: 37signals
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/autoloadable/extra_firm.rb:
--------------------------------------------------------------------------------
1 | class ExtraFirm < Company
2 | end
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/minimalistic.rb:
--------------------------------------------------------------------------------
1 | class Minimalistic < ActiveRecord::Base
2 | end
3 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/requires_nonexistent0.rb:
--------------------------------------------------------------------------------
1 | require 'RMagickDontExistDude'
2 |
--------------------------------------------------------------------------------
/activesupport/test/fixtures/autoload/another_class.rb:
--------------------------------------------------------------------------------
1 | class Fixtures::AnotherClass
2 | end
--------------------------------------------------------------------------------
/activesupport/test/fixtures/autoload/some_class.rb:
--------------------------------------------------------------------------------
1 | class Fixtures::Autoload::SomeClass
2 | end
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/create_test_dummy_template.rb:
--------------------------------------------------------------------------------
1 | create_dummy_app("spec/dummy")
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb:
--------------------------------------------------------------------------------
1 | text/plain layout - <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers/abc_helper.rb:
--------------------------------------------------------------------------------
1 | module AbcHelper
2 | def bare_a() end
3 | end
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/yield.erb:
--------------------------------------------------------------------------------
1 | <%= yield :title %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/old_content_type/render_default_for_builder.builder:
--------------------------------------------------------------------------------
1 | xml.p "Hello world!"
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb:
--------------------------------------------------------------------------------
1 | HTML for all_types_with_layout
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder:
--------------------------------------------------------------------------------
1 | xml.p "Hello world!"
--------------------------------------------------------------------------------
/actionpack/test/fixtures/star_star_mime/index.js.erb:
--------------------------------------------------------------------------------
1 | function addition(a,b){ return a+b; }
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/formatted_xml_erb.html.erb:
--------------------------------------------------------------------------------
1 | passed formatted html erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_html_erb.html.erb:
--------------------------------------------------------------------------------
1 | <%= "partial.html.erb" %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/level/below/index.html.erb:
--------------------------------------------------------------------------------
1 | <%= render partial: "header" %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/messages/_message.html.erb:
--------------------------------------------------------------------------------
1 | THIS BE WHERE THEM MESSAGE GO, YO!
--------------------------------------------------------------------------------
/actionview/test/fixtures/helpers/abc_helper.rb:
--------------------------------------------------------------------------------
1 | module AbcHelper
2 | def bare_a() end
3 | end
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/yield.erb:
--------------------------------------------------------------------------------
1 | <%= yield :title %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_customer_greeting.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %>: <%= customer_greeting.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_for_use_in_layout.html.erb:
--------------------------------------------------------------------------------
1 | Inside from partial (<%= name %>)
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/sub_template_raise.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/raise" %>
--------------------------------------------------------------------------------
/activerecord/test/fixtures/collections.yml:
--------------------------------------------------------------------------------
1 | collection_1:
2 | id: 1
3 | name: Collection
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/legacy_things.yml:
--------------------------------------------------------------------------------
1 | obtuse:
2 | id: 1
3 | tps_report_number: 500
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/uuid_children.yml:
--------------------------------------------------------------------------------
1 | sonny:
2 | uuid_parent: daddy
3 | name: Sonny
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/cross_site_dependency.rb:
--------------------------------------------------------------------------------
1 | class CrossSiteDependency
2 | end
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/should_not_be_required.rb:
--------------------------------------------------------------------------------
1 | ShouldNotBeAutoloaded = 0
2 |
--------------------------------------------------------------------------------
/railties/test/fixtures/about_yml_plugins/plugin_without_about_yml/init.rb:
--------------------------------------------------------------------------------
1 | # intentionally empty
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb:
--------------------------------------------------------------------------------
1 | <%= image_tag "somelogo.png" %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.de.html.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale DE HTML
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.en.html.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale EN HTML
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.pl.text.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale PL TEXT
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.yaml.erb:
--------------------------------------------------------------------------------
1 | yaml to: <%= @recipient %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/multipart_alternative.html.erb:
--------------------------------------------------------------------------------
1 | foo <%= @foo %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/signed_up.html.erb:
--------------------------------------------------------------------------------
1 | Hello there,
2 |
3 | Mr. <%= @recipient %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/standard.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %><%= @variable_for_layout %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/layouts/post.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/customers/_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %>: <%= customer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/layout_test.erb:
--------------------------------------------------------------------------------
1 | layout_test.erb <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/builder.builder:
--------------------------------------------------------------------------------
1 | xml.wrapper do
2 | xml << yield
3 | end
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer.erb:
--------------------------------------------------------------------------------
1 | Hello: <%= customer.name rescue "Anonymous" %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_labelling_form.erb:
--------------------------------------------------------------------------------
1 | <%= labelling_form.label :title %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_person.erb:
--------------------------------------------------------------------------------
1 | Second: <%= name %>
2 | Third: <%= @name %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/formatted_xml_erb.xml.erb:
--------------------------------------------------------------------------------
1 | passed formatted xml erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/implicit_content_type.atom.builder:
--------------------------------------------------------------------------------
1 | xml.atom do
2 | end
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_file_from_template.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :file => @path %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_file_with_locals.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_file_with_locals_and_default.erb:
--------------------------------------------------------------------------------
1 | <%= secret ||= 'one' %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/mascot.rb:
--------------------------------------------------------------------------------
1 | class Mascot < ActiveRecord::Base
2 | belongs_to :company
3 | end
--------------------------------------------------------------------------------
/actionview/test/fixtures/plain_text_with_characters.raw:
--------------------------------------------------------------------------------
1 | Here are some characters: !@#$%^&*()-="'}{`
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_name_local_variable.erb:
--------------------------------------------------------------------------------
1 | <%= partial_name_local_variable %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_with_only_html_version.html.erb:
--------------------------------------------------------------------------------
1 | partial with only html version
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/dot.directory/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/activejob/test/adapters/qu.rb:
--------------------------------------------------------------------------------
1 | require 'qu-immediate'
2 |
3 | ActiveJob::Base.queue_adapter = :qu
4 |
--------------------------------------------------------------------------------
/activejob/test/adapters/resque.rb:
--------------------------------------------------------------------------------
1 | ActiveJob::Base.queue_adapter = :resque
2 | Resque.inline = true
3 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/dogs.yml:
--------------------------------------------------------------------------------
1 | sophie:
2 | id: 1
3 | trainer_id: 1
4 | dog_lover_id: 2
5 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/men.yml:
--------------------------------------------------------------------------------
1 | gordon:
2 | name: Gordon
3 |
4 | steve:
5 | name: Steve
6 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/file.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/file/atomic'
2 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/circular2.rb:
--------------------------------------------------------------------------------
1 | Circular1
2 |
3 | class Circular2
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/requires_nonexistent1.rb:
--------------------------------------------------------------------------------
1 | require_dependency 'requires_nonexistent0'
2 |
--------------------------------------------------------------------------------
/guides/assets/images/fxn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/fxn.png
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/email_with_translations.html.erb:
--------------------------------------------------------------------------------
1 | <%= t('.greet_user', name: 'lifo') %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/explicit_multipart_with_one_template.erb:
--------------------------------------------------------------------------------
1 | <%= self.formats.inspect %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/implicit_with_locale.de-AT.text.erb:
--------------------------------------------------------------------------------
1 | Implicit with locale DE-AT TEXT
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/url_test_mailer/exercise_url_for.erb:
--------------------------------------------------------------------------------
1 | <%= url_for(@options) %> <%= @url %>
2 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers/just_me_helper.rb:
--------------------------------------------------------------------------------
1 | module JustMeHelper
2 | def me() "mine!" end
3 | end
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers/me_too_helper.rb:
--------------------------------------------------------------------------------
1 | module MeTooHelper
2 | def me() "me too!" end
3 | end
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/_customers.erb:
--------------------------------------------------------------------------------
1 | <%= yield Struct.new(:name).new("David") %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb:
--------------------------------------------------------------------------------
1 | Hello future from <%= @type -%>!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/layouts/standard.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/abstract_controller/testing/me3/index.erb:
--------------------------------------------------------------------------------
1 | Hello from me3/index.erb
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/abstract_controller/testing/me4/index.erb:
--------------------------------------------------------------------------------
1 | Hello from me4/index.erb
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/abstract_controller/testing/me5/index.erb:
--------------------------------------------------------------------------------
1 | Hello from me5/index.erb
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/action_with_ivars.erb:
--------------------------------------------------------------------------------
1 | <%= @my_ivar %> from index_with_ivars.erb
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/helper_test.erb:
--------------------------------------------------------------------------------
1 | Hello <%= helpery_test %> : <%= included_method %>
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/layouts/application.erb:
--------------------------------------------------------------------------------
1 | Application Enter : <%= yield %> : Exit
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_directory/_partial_with_locales.html.erb:
--------------------------------------------------------------------------------
1 | Hello <%= name %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/formatted_xml_erb.html.erb:
--------------------------------------------------------------------------------
1 | passed formatted html erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_implicit_html_template_from_xhr_request.html.erb:
--------------------------------------------------------------------------------
1 | Hello HTML!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_implicit_js_template_without_layout.js.erb:
--------------------------------------------------------------------------------
1 | alert('hello');
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_to_string_test.erb:
--------------------------------------------------------------------------------
1 | The value of foo is: ::<%= @foo %>::
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/_customers.erb:
--------------------------------------------------------------------------------
1 | <%= yield Struct.new(:name).new("David") %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/mascots.yml:
--------------------------------------------------------------------------------
1 | upload_bird:
2 | id: 1
3 | company_id: 1
4 | name: The Upload Bird
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_layout_for_partial.html.erb:
--------------------------------------------------------------------------------
1 | Before (<%= name %>)
2 | <%= yield %>
3 | After
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_utf8_partial_magic.html.erb:
--------------------------------------------------------------------------------
1 | <%# encoding: utf-8 -%>
2 | <%= "текст" %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/translations/templates/default.erb:
--------------------------------------------------------------------------------
1 | <%= t('.missing', :default => :'.foo') %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/with_format.json.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'missing', :formats => [:json] %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/colleges.yml:
--------------------------------------------------------------------------------
1 | FIU:
2 | id: 1
3 | name: Florida International University
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/variants.yml:
--------------------------------------------------------------------------------
1 | variant_1:
2 | id: 1
3 | product_id: 1
4 | name: Variant
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/column.rb:
--------------------------------------------------------------------------------
1 | class Column < ActiveRecord::Base
2 | belongs_to :record
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/entrant.rb:
--------------------------------------------------------------------------------
1 | class Entrant < ActiveRecord::Base
2 | belongs_to :course
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/load_path/loaded_constant.rb:
--------------------------------------------------------------------------------
1 | module LoadedConstant
2 | end
3 |
4 |
--------------------------------------------------------------------------------
/guides/assets/images/bullet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/bullet.gif
--------------------------------------------------------------------------------
/guides/assets/images/csrf.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/csrf.png
--------------------------------------------------------------------------------
/guides/assets/images/habtm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/habtm.png
--------------------------------------------------------------------------------
/guides/assets/images/radar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/radar.png
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/explicit_multipart_templates.html.erb:
--------------------------------------------------------------------------------
1 | HTML Explicit Multipart Templates
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/explicit_multipart_templates.text.erb:
--------------------------------------------------------------------------------
1 | TEXT Explicit Multipart Templates
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/inline_attachment.text.erb:
--------------------------------------------------------------------------------
1 | Inline Image
2 |
3 | No image for you
4 |
5 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/without_mail_call.erb:
--------------------------------------------------------------------------------
1 | <% raise 'the template should not be rendered' %>
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.erb:
--------------------------------------------------------------------------------
1 | Hey Ho, <%= render partial: "subtemplate" %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb:
--------------------------------------------------------------------------------
1 | world
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/ruby_template.ruby:
--------------------------------------------------------------------------------
1 | body = ""
2 | body << ["Hello", "from", "Ruby", "code"].join(" ")
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/standard.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %><%= @variable_for_layout %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/yield.erb:
--------------------------------------------------------------------------------
1 | <%= yield :title %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer_counter_with_as.erb:
--------------------------------------------------------------------------------
1 | <%= client.name %><%= client_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer_greeting.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %>: <%= customer_greeting.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_hash_greeting.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %>: <%= hash_greeting[:first_name] %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_for_use_in_layout.html.erb:
--------------------------------------------------------------------------------
1 | Inside from partial (<%= name %>)
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_name_local_variable.erb:
--------------------------------------------------------------------------------
1 | <%= partial_name_local_variable %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/dot.directory/render_file_with_ivar.erb:
--------------------------------------------------------------------------------
1 | The secret is <%= @secret %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_implicit_html_template_from_xhr_request.da.html.erb:
--------------------------------------------------------------------------------
1 | Hey HTML!
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/with_partial.text.erb:
--------------------------------------------------------------------------------
1 | **<%= render :partial => "partial_only" %>**
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/messages/index.html.erb:
--------------------------------------------------------------------------------
1 | <%= render @messages %>
2 | <%= render @events %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/ruby_template.ruby:
--------------------------------------------------------------------------------
1 | body = ""
2 | body << ["Hello", "from", "Ruby", "code"].join(" ")
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_first_json_partial.json.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/second_json_partial" %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_with_partial.erb:
--------------------------------------------------------------------------------
1 | <%= render 'test/partial' %>
2 | partial with partial
3 |
--------------------------------------------------------------------------------
/activerecord/test/assets/example.log:
--------------------------------------------------------------------------------
1 | # Logfile created on Wed Oct 31 16:05:13 +0000 2007 by logger.rb/1.5.2.9
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/bulbs.yml:
--------------------------------------------------------------------------------
1 | defaulty:
2 | name: defaulty
3 |
4 | special:
5 | name: special
6 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/friendships.yml:
--------------------------------------------------------------------------------
1 | Connection 1:
2 | id: 1
3 | friend_id: 1
4 | follower_id: 2
5 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/products.yml:
--------------------------------------------------------------------------------
1 | product_1:
2 | id: 1
3 | collection_id: 1
4 | name: Product
5 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/reserved_words/distinct.yml:
--------------------------------------------------------------------------------
1 | distinct1:
2 | id: 1
3 |
4 | distinct2:
5 | id: 2
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/admin.rb:
--------------------------------------------------------------------------------
1 | module Admin
2 | def self.table_name_prefix
3 | 'admin_'
4 | end
5 | end
--------------------------------------------------------------------------------
/activerecord/test/models/admin/account.rb:
--------------------------------------------------------------------------------
1 | class Admin::Account < ActiveRecord::Base
2 | has_many :users
3 | end
--------------------------------------------------------------------------------
/activerecord/test/models/event.rb:
--------------------------------------------------------------------------------
1 | class Event < ActiveRecord::Base
2 | validates_uniqueness_of :title
3 | end
--------------------------------------------------------------------------------
/activerecord/test/models/member_type.rb:
--------------------------------------------------------------------------------
1 | class MemberType < ActiveRecord::Base
2 | has_many :members
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb:
--------------------------------------------------------------------------------
1 | class ClassFolder::InlineClass
2 | end
3 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb:
--------------------------------------------------------------------------------
1 | class ModuleFolder::InlineClass
2 | end
3 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb:
--------------------------------------------------------------------------------
1 | class ModuleFolder::NestedSibling
2 | end
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/raises_name_error.rb:
--------------------------------------------------------------------------------
1 | class RaisesNameError
2 | FooBarBaz
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/cross_site_depender.rb:
--------------------------------------------------------------------------------
1 | class CrossSiteDepender
2 | CrossSiteDependency
3 | end
--------------------------------------------------------------------------------
/guides/assets/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/favicon.ico
--------------------------------------------------------------------------------
/guides/assets/images/has_many.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/has_many.png
--------------------------------------------------------------------------------
/guides/assets/images/has_one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/has_one.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/up.png
--------------------------------------------------------------------------------
/guides/assets/images/tab_grey.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_grey.gif
--------------------------------------------------------------------------------
/guides/assets/images/tab_info.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_info.gif
--------------------------------------------------------------------------------
/guides/assets/images/tab_note.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_note.gif
--------------------------------------------------------------------------------
/guides/assets/images/tab_red.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_red.gif
--------------------------------------------------------------------------------
/guides/assets/images/vijaydev.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/vijaydev.jpg
--------------------------------------------------------------------------------
/actionpack/test/fixtures/alternate_helpers/foo_helper.rb:
--------------------------------------------------------------------------------
1 | module FooHelper
2 | redefine_method(:baz) {}
3 | end
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/talk_from_action.erb:
--------------------------------------------------------------------------------
1 | <%= @title || yield(:title) %>
2 | <%= yield -%>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb:
--------------------------------------------------------------------------------
1 | Hello iPhone future from <%= @type -%>!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/respond_to/layouts/missing.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb:
--------------------------------------------------------------------------------
1 | This is my layout
2 |
3 | <%= yield %>
4 |
5 | End.
6 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/hello_world_with_partial.html.erb:
--------------------------------------------------------------------------------
1 | Hello world!
2 | <%= render '/test/partial' %>
3 |
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/layouts/abstract_controller/testing/me4.erb:
--------------------------------------------------------------------------------
1 | Me4 Enter : <%= yield %> : Exit
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/_customers.erb:
--------------------------------------------------------------------------------
1 | <%= yield Struct.new(:name).new("David") %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_layout_for_partial.html.erb:
--------------------------------------------------------------------------------
1 | Before (<%= name %>)
2 | <%= yield %>
3 | After
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello_world_from_rxml.builder:
--------------------------------------------------------------------------------
1 | xml.html do
2 | xml.p "Hello"
3 | end
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/_partial_and_yield.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'test/partial' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_customer_with_var.erb:
--------------------------------------------------------------------------------
1 | <%= customer.name %> <%= customer.name %> <%= customer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_layout_for_block_with_args.html.erb:
--------------------------------------------------------------------------------
1 | Before
2 | <%= yield 'arg1', 'arg2' %>
3 | After
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_local_inspector.html.erb:
--------------------------------------------------------------------------------
1 | <%= local_assigns.keys.map {|k| k.to_s }.sort.join(",") -%>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello_world_with_partial.html.erb:
--------------------------------------------------------------------------------
1 | Hello world!
2 | <%= render '/test/partial' %>
3 |
--------------------------------------------------------------------------------
/activejob/test/adapters/sidekiq.rb:
--------------------------------------------------------------------------------
1 | require 'sidekiq/testing/inline'
2 | ActiveJob::Base.queue_adapter = :sidekiq
3 |
--------------------------------------------------------------------------------
/activerecord/test/assets/flowers.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/activerecord/test/assets/flowers.jpg
--------------------------------------------------------------------------------
/activerecord/test/fixtures/author_favorites.yml:
--------------------------------------------------------------------------------
1 | david_mary:
2 | id: 1
3 | author_id: 1
4 | favorite_author_id: 2
--------------------------------------------------------------------------------
/activerecord/test/models/uuid_child.rb:
--------------------------------------------------------------------------------
1 | class UuidChild < ActiveRecord::Base
2 | belongs_to :uuid_parent
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/big_decimal.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/big_decimal/conversions'
2 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/object/to_param.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/object/to_query'
2 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/html/some_class.rb:
--------------------------------------------------------------------------------
1 | module HTML
2 | class SomeClass
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/check_warnings.rb:
--------------------------------------------------------------------------------
1 | $check_warnings_load_count += 1
2 | $checked_verbose = $VERBOSE
3 |
--------------------------------------------------------------------------------
/guides/assets/images/akshaysurve.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/akshaysurve.jpg
--------------------------------------------------------------------------------
/guides/assets/images/belongs_to.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/belongs_to.png
--------------------------------------------------------------------------------
/guides/assets/images/book_icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/book_icon.gif
--------------------------------------------------------------------------------
/guides/assets/images/edge_badge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/edge_badge.png
--------------------------------------------------------------------------------
/guides/assets/images/footer_tile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/footer_tile.gif
--------------------------------------------------------------------------------
/guides/assets/images/grey_bullet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/grey_bullet.gif
--------------------------------------------------------------------------------
/guides/assets/images/header_tile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/header_tile.gif
--------------------------------------------------------------------------------
/guides/assets/images/icons/home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/home.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/next.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/note.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/prev.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/prev.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/tip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/tip.png
--------------------------------------------------------------------------------
/guides/assets/images/nav_arrow.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/nav_arrow.gif
--------------------------------------------------------------------------------
/guides/assets/images/oscardelben.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/oscardelben.jpg
--------------------------------------------------------------------------------
/guides/assets/images/polymorphic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/polymorphic.png
--------------------------------------------------------------------------------
/guides/assets/images/tab_yellow.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_yellow.gif
--------------------------------------------------------------------------------
/guides/assets/images/tab_yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/tab_yellow.png
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'partial' %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/layouts/with_html_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "partial_only_html" %><%= yield %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer_counter.erb:
--------------------------------------------------------------------------------
1 | <%= customer_counter.name %><%= customer_counter_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_first_json_partial.json.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/second_json_partial" %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/customers/_customer.xml.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %><%= customer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/html_template.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/first_json_partial", formats: :json %>
--------------------------------------------------------------------------------
/activejob/test/adapters/sneakers.rb:
--------------------------------------------------------------------------------
1 | require 'support/sneakers/inline'
2 | ActiveJob::Base.queue_adapter = :sneakers
3 |
--------------------------------------------------------------------------------
/activemodel/test/models/project.rb:
--------------------------------------------------------------------------------
1 | class Project
2 | include ActiveModel::DeprecatedMassAssignmentSecurity
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/author_addresses.yml:
--------------------------------------------------------------------------------
1 | david_address:
2 | id: 1
3 |
4 | david_address_extra:
5 | id: 2
6 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/vertices.yml:
--------------------------------------------------------------------------------
1 | <% (1..5).each do |id| %>
2 | vertex_<%= id %>:
3 | id: <%= id %>
4 | <% end %>
--------------------------------------------------------------------------------
/activerecord/test/models/keyboard.rb:
--------------------------------------------------------------------------------
1 | class Keyboard < ActiveRecord::Base
2 | self.primary_key = 'key_number'
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/mixed_case_monkey.rb:
--------------------------------------------------------------------------------
1 | class MixedCaseMonkey < ActiveRecord::Base
2 | belongs_to :man
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/possession.rb:
--------------------------------------------------------------------------------
1 | class Possession < ActiveRecord::Base
2 | self.table_name = 'having'
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/task.rb:
--------------------------------------------------------------------------------
1 | class Task < ActiveRecord::Base
2 | def updated_at
3 | ending
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/uuid_parent.rb:
--------------------------------------------------------------------------------
1 | class UuidParent < ActiveRecord::Base
2 | has_many :uuid_children
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb:
--------------------------------------------------------------------------------
1 | ModuleWithCustomConstMissing::A::B = "10"
--------------------------------------------------------------------------------
/guides/assets/images/chapters_icon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/chapters_icon.gif
--------------------------------------------------------------------------------
/guides/assets/images/check_bullet.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/check_bullet.gif
--------------------------------------------------------------------------------
/guides/assets/images/feature_tile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/feature_tile.gif
--------------------------------------------------------------------------------
/guides/assets/images/icons/caution.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/caution.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/example.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/warning.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb:
--------------------------------------------------------------------------------
1 | module ApplicationHelper
2 | end
3 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb:
--------------------------------------------------------------------------------
1 | Have some dots. Enjoy!
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/_partial.erb:
--------------------------------------------------------------------------------
1 | <% cache do %>
2 | Old fragment caching in a partial
3 | <% end %>
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers_typo/admin/users_helper.rb:
--------------------------------------------------------------------------------
1 | module Admin
2 | module UsersHelpeR
3 | end
4 | end
5 |
6 |
--------------------------------------------------------------------------------
/actionview/test/actionpack/abstract/views/abstract_controller/testing/me3/formatted.html.erb:
--------------------------------------------------------------------------------
1 | Hello from me3/formatted.html.erb
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/_partial_and_yield.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'test/partial' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/talk_from_action.erb:
--------------------------------------------------------------------------------
1 | <%= @title || yield(:title) %>
2 | <%= yield -%>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer_with_var.erb:
--------------------------------------------------------------------------------
1 | <%= customer.name %> <%= customer.name %> <%= customer.name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_partial_with_partial.erb:
--------------------------------------------------------------------------------
1 | <%= render 'test/partial' %>
2 | partial with partial
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/action_talk_to_layout.erb:
--------------------------------------------------------------------------------
1 | <% @title = "Talking to the layout" -%>
2 | Action was here!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/capturing.erb:
--------------------------------------------------------------------------------
1 | <% days = capture do %>
2 | Dreamy days
3 | <% end %>
4 | <%= days %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello_world_with_partial.html.erb:
--------------------------------------------------------------------------------
1 | Hello world!
2 | <%= render '/test/partial' %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/with_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "partial_only" %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/yield_with_render_inline_inside.erb:
--------------------------------------------------------------------------------
1 | <%= render :inline => 'welcome' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/topic.rb:
--------------------------------------------------------------------------------
1 | class Topic < ActiveRecord::Base
2 | has_many :replies, :dependent => :destroy
3 | end
4 |
--------------------------------------------------------------------------------
/activejob/test/adapters/backburner.rb:
--------------------------------------------------------------------------------
1 | require 'support/backburner/inline'
2 |
3 | ActiveJob::Base.queue_adapter = :backburner
--------------------------------------------------------------------------------
/activerecord/test/fixtures/organizations.yml:
--------------------------------------------------------------------------------
1 | nsa:
2 | name: No Such Agency
3 | discordians:
4 | name: Discordians
5 |
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/arunit2_model.rb:
--------------------------------------------------------------------------------
1 | class ARUnit2Model < ActiveRecord::Base
2 | self.abstract_class = true
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/chef.rb:
--------------------------------------------------------------------------------
1 | class Chef < ActiveRecord::Base
2 | belongs_to :employable, polymorphic: true
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/column_name.rb:
--------------------------------------------------------------------------------
1 | class ColumnName < ActiveRecord::Base
2 | self.table_name = "colnametests"
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/dashboard.rb:
--------------------------------------------------------------------------------
1 | class Dashboard < ActiveRecord::Base
2 | self.primary_key = :dashboard_id
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/legacy_thing.rb:
--------------------------------------------------------------------------------
1 | class LegacyThing < ActiveRecord::Base
2 | self.locking_column = :version
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/line_item.rb:
--------------------------------------------------------------------------------
1 | class LineItem < ActiveRecord::Base
2 | belongs_to :invoice, :touch => true
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/zine.rb:
--------------------------------------------------------------------------------
1 | class Zine < ActiveRecord::Base
2 | has_many :interests, :inverse_of => :zine
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/json.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/json/decoding'
2 | require 'active_support/json/encoding'
3 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/testing/autorun.rb:
--------------------------------------------------------------------------------
1 | gem 'minitest'
2 |
3 | require 'minitest'
4 |
5 | Minitest.autorun
6 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/class_folder.rb:
--------------------------------------------------------------------------------
1 | class ClassFolder
2 | ConstantInClassFolder = 'indeed'
3 | end
4 |
--------------------------------------------------------------------------------
/guides/assets/images/has_many_through.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/has_many_through.png
--------------------------------------------------------------------------------
/guides/assets/images/has_one_through.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/has_one_through.png
--------------------------------------------------------------------------------
/guides/assets/images/header_backdrop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/header_backdrop.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/1.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/2.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/3.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/4.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/5.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/6.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/7.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/8.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/9.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/important.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/important.png
--------------------------------------------------------------------------------
/guides/assets/images/rails4_features.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/rails4_features.png
--------------------------------------------------------------------------------
/guides/assets/images/rails_logo_remix.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/rails_logo_remix.gif
--------------------------------------------------------------------------------
/guides/assets/images/session_fixation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/session_fixation.png
--------------------------------------------------------------------------------
/railties/lib/rails/rack.rb:
--------------------------------------------------------------------------------
1 | module Rails
2 | module Rack
3 | autoload :Logger, "rails/rack/logger"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/generators/fixjour_generator.rb:
--------------------------------------------------------------------------------
1 | class FixjourGenerator < Rails::Generators::NamedBase
2 | end
3 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/gzip/foo.zoo.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/公共/gzip/foo.zoo.gz
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/multiple_extensions.html.erb:
--------------------------------------------------------------------------------
1 | multiple_extensions.html.erb <%= yield %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/third_party_template_library.mab:
--------------------------------------------------------------------------------
1 | layouts/third_party_template_library.mab
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/with_html_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "partial_only_html" %><%= yield %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/content_for.erb:
--------------------------------------------------------------------------------
1 | <% content_for :title do -%>Putting stuff in the title!<% end -%>Great stuff!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/html_template.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/first_json_partial", formats: :json %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/with_xml_template.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :template => "test/greeting", :formats => :xml %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/_column.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield :column %>
2 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/yield_with_render_partial_inside.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'test/partial' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_b_layout_for_partial_with_object.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/streaming_buster.erb:
--------------------------------------------------------------------------------
1 | <%= yield :foo -%>
2 | This won't look
3 | <% provide :unknown, " good." -%>
4 |
--------------------------------------------------------------------------------
/activejob/test/adapters/que.rb:
--------------------------------------------------------------------------------
1 | require 'support/que/inline'
2 |
3 | ActiveJob::Base.queue_adapter = :que
4 | Que.mode = :sync
5 |
--------------------------------------------------------------------------------
/activejob/test/adapters/sucker_punch.rb:
--------------------------------------------------------------------------------
1 | require 'sucker_punch/testing/inline'
2 | ActiveJob::Base.queue_adapter = :sucker_punch
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/cake_designer.rb:
--------------------------------------------------------------------------------
1 | class CakeDesigner < ActiveRecord::Base
2 | has_one :chef, as: :employable
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/drink_designer.rb:
--------------------------------------------------------------------------------
1 | class DrinkDesigner < ActiveRecord::Base
2 | has_one :chef, as: :employable
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/string_key_object.rb:
--------------------------------------------------------------------------------
1 | class StringKeyObject < ActiveRecord::Base
2 | self.primary_key = :id
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/circular1.rb:
--------------------------------------------------------------------------------
1 | silence_warnings do
2 | Circular2
3 | end
4 |
5 | class Circular1
6 | end
7 |
--------------------------------------------------------------------------------
/guides/assets/images/credits_pic_blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/credits_pic_blank.gif
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/10.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/11.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/12.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/13.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/14.png
--------------------------------------------------------------------------------
/guides/assets/images/icons/callouts/15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/icons/callouts/15.png
--------------------------------------------------------------------------------
/guides/assets/images/rails_guides_logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/rails_guides_logo.gif
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/README.rdoc:
--------------------------------------------------------------------------------
1 | = <%= camelized %>
2 |
3 | This project rocks and uses MIT-LICENSE.
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/attachments/foo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionmailer/test/fixtures/attachments/foo.jpg
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb:
--------------------------------------------------------------------------------
1 | Ignored when searching for implicitly multipart parts.
2 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.rhtml.bak:
--------------------------------------------------------------------------------
1 | Ignored when searching for implicitly multipart parts.
2 |
--------------------------------------------------------------------------------
/actionpack/lib/action_dispatch/middleware/templates/rescues/unknown_action.text.erb:
--------------------------------------------------------------------------------
1 | Unknown action
2 |
3 | <%= @exception.message %>
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers/fun/pdf_helper.rb:
--------------------------------------------------------------------------------
1 | module Fun
2 | module PdfHelper
3 | def foobar() 'baz' end
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/binary_file:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/multipart/binary_file
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/mixed_files:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/multipart/mixed_files
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/controller_name_space/nested.erb:
--------------------------------------------------------------------------------
1 | controller_name_space/nested.erb <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/yield_with_render_inline_inside.erb:
--------------------------------------------------------------------------------
1 | <%= render :inline => 'welcome' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_hash_object.erb:
--------------------------------------------------------------------------------
1 | <%= hash_object[:first_name] %>
2 | <%= hash_object[:first_name].reverse %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/with_html_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "partial_only_html" %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/project.rb:
--------------------------------------------------------------------------------
1 | class Project < ActiveRecord::Base
2 | has_and_belongs_to_many :developers, -> { uniq }
3 | end
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/hello.builder:
--------------------------------------------------------------------------------
1 | xml.html do
2 | xml.p "Hello #{@name}"
3 | xml << render(:file => "test/greeting")
4 | end
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/layout_render_file.erb:
--------------------------------------------------------------------------------
1 | <% content_for :title do %>title<% end -%>
2 | <%= render :file => 'layouts/yield' -%>
--------------------------------------------------------------------------------
/activejob/test/adapters/queue_classic.rb:
--------------------------------------------------------------------------------
1 | require 'support/queue_classic/inline'
2 | ActiveJob::Base.queue_adapter = :queue_classic
3 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/reserved_words/select.yml:
--------------------------------------------------------------------------------
1 | select1:
2 | id: 1
3 |
4 | select2:
5 | id: 2
6 |
7 | select3:
8 | id: 3
9 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/zines.yml:
--------------------------------------------------------------------------------
1 | staying_in:
2 | title: Staying in '08
3 |
4 | going_out:
5 | title: Outdoor Pursuits 2k+8
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/department.rb:
--------------------------------------------------------------------------------
1 | class Department < ActiveRecord::Base
2 | has_many :chefs
3 | belongs_to :hotel
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/user.rb:
--------------------------------------------------------------------------------
1 | class User < ActiveRecord::Base
2 | has_secure_token
3 | has_secure_token :auth_token
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb:
--------------------------------------------------------------------------------
1 | module ModuleFolder
2 | class NestedClass
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/requires_constant.rb:
--------------------------------------------------------------------------------
1 | require "loaded_constant"
2 |
3 | module RequiresConstant
4 | end
5 |
6 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/service_one.rb:
--------------------------------------------------------------------------------
1 | $loaded_service_one ||= 0
2 | $loaded_service_one += 1
3 |
4 | class ServiceOne
5 | end
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_html_safe.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_html_safe.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/erb/mailer/templates/layout.html.erb:
--------------------------------------------------------------------------------
1 |
2 |
3 | <%%= yield %>
4 |
5 |
6 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/lib/%name%/version.rb:
--------------------------------------------------------------------------------
1 | module <%= camelized %>
2 | VERSION = "0.0.1"
3 | end
4 |
--------------------------------------------------------------------------------
/railties/test/fixtures/about_yml_plugins/bad_about_yml/about.yml:
--------------------------------------------------------------------------------
1 | # an empty YAML file - any content in here seems to get parsed as a string
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/attachments/test.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionmailer/test/fixtures/attachments/test.jpg
--------------------------------------------------------------------------------
/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %>
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb:
--------------------------------------------------------------------------------
1 |
2 | <%= cache do %>ERB
<% end %>
3 |
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers1_pack/pack1_helper.rb:
--------------------------------------------------------------------------------
1 | module Pack1Helper
2 | def conflicting_helper
3 | "pack1"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers2_pack/pack2_helper.rb:
--------------------------------------------------------------------------------
1 | module Pack2Helper
2 | def conflicting_helper
3 | "pack2"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/mona_lisa.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/multipart/mona_lisa.jpg
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/gzip/foo.zoo.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/public/gzip/foo.zoo.gz
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/yield_with_render_partial_inside.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'test/partial' %>
2 | <%= yield %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/digestor/comments/_comments.html.erb:
--------------------------------------------------------------------------------
1 | <%= render partial: "comments/comment", collection: commentable.comments %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/helpers/helpery_test_helper.rb:
--------------------------------------------------------------------------------
1 | module HelperyTestHelper
2 | def helpery_test
3 | "Default"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/layout_render_object.erb:
--------------------------------------------------------------------------------
1 | <%= render :layout => "layouts/customers" do |customer| %><%= customer.name %><% end %>
--------------------------------------------------------------------------------
/activerecord/test/fixtures/jobs.yml:
--------------------------------------------------------------------------------
1 | unicyclist:
2 | id: 1
3 | ideal_reference_id: 2
4 | clown:
5 | id: 2
6 | magician:
7 | id: 3
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/member_types.yml:
--------------------------------------------------------------------------------
1 | founding:
2 | id: 1
3 | name: Founding
4 | provisional:
5 | id: 2
6 | name: Provisional
7 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/minivans.yml:
--------------------------------------------------------------------------------
1 | cool_first:
2 | minivan_id: m1
3 | name: my_minivan
4 | speedometer_id: s1
5 | color: blue
6 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/activerecord/test/models/computer.rb:
--------------------------------------------------------------------------------
1 | class Computer < ActiveRecord::Base
2 | belongs_to :developer, :foreign_key=>'developer'
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/all.rb:
--------------------------------------------------------------------------------
1 | require 'active_support'
2 | require 'active_support/time'
3 | require 'active_support/core_ext'
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/multiple_constant_file.rb:
--------------------------------------------------------------------------------
1 | MultipleConstantFile = 10
2 | SiblingConstant = MultipleConstantFile * 2
3 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/raises_no_method_error.rb:
--------------------------------------------------------------------------------
1 | class RaisesNoMethodError
2 | self.foobar_method_doesnt_exist
3 | end
4 |
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_translated_en.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_translated_en.png
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_untranslated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_untranslated.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/bin/rake:
--------------------------------------------------------------------------------
1 | require_relative '../config/boot'
2 | require 'rake'
3 | Rake.application.run
4 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/custom_templating_extension.html.haml:
--------------------------------------------------------------------------------
1 | %p Hello there,
2 |
3 | %p
4 | Mr.
5 | = @recipient
6 | from haml
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.haml:
--------------------------------------------------------------------------------
1 | %p Hello there,
2 |
3 | %p
4 | Mr.
5 | = @recipient
6 | from haml
--------------------------------------------------------------------------------
/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.text.erb:
--------------------------------------------------------------------------------
1 | Template is missing
2 |
3 | <%= @exception.message %>
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/helpers/fun/games_helper.rb:
--------------------------------------------------------------------------------
1 | module Fun
2 | module GamesHelper
3 | def stratego() "Iz guuut!" end
4 | end
5 | end
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/bracketed_param:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="foo[baz]"
3 |
4 | bar
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/single_parameter:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="foo"
3 |
4 | bar
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layout_tests/layouts/symlinked/symlinked_layout.erb:
--------------------------------------------------------------------------------
1 | This is my layout
2 |
3 | <%= yield %>
4 |
5 | End.
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/_column.html.erb:
--------------------------------------------------------------------------------
1 | <%= yield :column %>
2 | <%= yield %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/content_for_with_parameter.erb:
--------------------------------------------------------------------------------
1 | <% content_for :title, "Putting stuff in the title!" -%>
2 | Great stuff!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello.builder:
--------------------------------------------------------------------------------
1 | xml.html do
2 | xml.p "Hello #{@name}"
3 | xml << render(:file => "test/greeting")
4 | end
--------------------------------------------------------------------------------
/actionview/test/fixtures/good_customers/_good_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/nested_streaming.erb:
--------------------------------------------------------------------------------
1 | <%- content_for :header do -%>?<%- end -%>
2 | <%= render :template => "test/streaming" %>
3 | ?
--------------------------------------------------------------------------------
/activemodel/lib/active_model/test_case.rb:
--------------------------------------------------------------------------------
1 | module ActiveModel #:nodoc:
2 | class TestCase < ActiveSupport::TestCase #:nodoc:
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/mixed_case_monkeys.yml:
--------------------------------------------------------------------------------
1 | first:
2 | monkeyID: 1
3 | fleaCount: 42
4 | second:
5 | monkeyID: 2
6 | fleaCount: 43
7 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/movies.yml:
--------------------------------------------------------------------------------
1 | first:
2 | movieid: 1
3 | name: Terminator
4 |
5 | second:
6 | movieid: 2
7 | name: Gladiator
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/publisher/magazine.rb:
--------------------------------------------------------------------------------
1 | class Publisher::Magazine < ActiveRecord::Base
2 | has_and_belongs_to_many :articles
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/student.rb:
--------------------------------------------------------------------------------
1 | class Student < ActiveRecord::Base
2 | has_and_belongs_to_many :lessons
3 | belongs_to :college
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/without_table.rb:
--------------------------------------------------------------------------------
1 | class WithoutTable < ActiveRecord::Base
2 | default_scope -> { where(:published => true) }
3 | end
4 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/challenge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/challenge.png
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_localized_pirate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_localized_pirate.png
--------------------------------------------------------------------------------
/guides/assets/images/rails_guides_kindle_cover.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/rails_guides_kindle_cover.jpg
--------------------------------------------------------------------------------
/railties/lib/rails/generators/test_unit/plugin/templates/test_helper.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/testing/autorun'
2 | require 'active_support'
3 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/i18n_test_mailer/mail_with_i18n_subject.erb:
--------------------------------------------------------------------------------
1 | Hello there,
2 |
3 | Mr. <%= @recipient %>. Be greeted, new member!
4 |
5 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.erb:
--------------------------------------------------------------------------------
1 | Plain text to <%= @recipient %>.
2 | Plain text to <%= @recipient %>.
3 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb:
--------------------------------------------------------------------------------
1 | Hello
2 | <%= cache do %>This bit's fragment cached<% end %>
3 | <%= 'Ciao' %>
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/bad_customers/_bad_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %> bad customer: <%= bad_customer.name %><%= bad_customer_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/hello_world_container.builder:
--------------------------------------------------------------------------------
1 | xml.test do
2 | render :partial => 'hello', :locals => { :xm => xml }
3 | end
--------------------------------------------------------------------------------
/actionview/test/fixtures/helpers_missing/invalid_require_helper.rb:
--------------------------------------------------------------------------------
1 | require 'very_invalid_file_name'
2 |
3 | module InvalidRequireHelper
4 | end
5 |
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_content_tag_nested_in_content_tag.erb:
--------------------------------------------------------------------------------
1 | <%= content_tag 'p' do %>
2 | <%= content_tag 'b', 'Hello' %>
3 | <% end %>
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_layout_with_partial_and_yield.html.erb:
--------------------------------------------------------------------------------
1 | Before
2 | <%= render :partial => "test/partial" %>
3 | <%= yield %>
4 | After
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/electron.rb:
--------------------------------------------------------------------------------
1 | class Electron < ActiveRecord::Base
2 | belongs_to :molecule
3 |
4 | validates_presence_of :name
5 | end
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/matey.rb:
--------------------------------------------------------------------------------
1 | class Matey < ActiveRecord::Base
2 | belongs_to :pirate
3 | belongs_to :target, :class_name => 'Pirate'
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/movie.rb:
--------------------------------------------------------------------------------
1 | class Movie < ActiveRecord::Base
2 | self.primary_key = "movieid"
3 |
4 | validates_presence_of :name
5 | end
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/rating.rb:
--------------------------------------------------------------------------------
1 | class Rating < ActiveRecord::Base
2 | belongs_to :comment
3 | has_many :taggings, :as => :taggable
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/wheel.rb:
--------------------------------------------------------------------------------
1 | class Wheel < ActiveRecord::Base
2 | belongs_to :wheelable, :polymorphic => true, :counter_cache => true
3 | end
4 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/new_article.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/new_article.png
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_translated_pirate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_translated_pirate.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/erb/controller/templates/view.html.erb:
--------------------------------------------------------------------------------
1 | <%= class_name %>#<%= @action %>
2 | Find me in <%= @path %>
3 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/erb/mailer/templates/view.text.erb:
--------------------------------------------------------------------------------
1 | <%= class_name %>#<%= @action %>
2 |
3 | <%%= @greeting %>, find me in <%= @path %>
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/helper/templates/helper.rb:
--------------------------------------------------------------------------------
1 | <% module_namespacing do -%>
2 | module <%= class_name %>Helper
3 | end
4 | <% end -%>
5 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder:
--------------------------------------------------------------------------------
1 | xml.body do
2 | cache do
3 | xml.p "Builder"
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/good_customers/_good_customer.html.erb:
--------------------------------------------------------------------------------
1 | <%= greeting %> good customer: <%= good_customer.name %><%= good_customer_counter %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/layouts/streaming.erb:
--------------------------------------------------------------------------------
1 | <%= yield :header -%>
2 | <%= yield -%>
3 | <%= yield :footer -%>
4 | <%= yield(:unknown).presence || "." -%>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/streaming.erb:
--------------------------------------------------------------------------------
1 | <%- provide :header do -%>Yes, <%- end -%>
2 | this works
3 | <%- content_for :footer, " like a charm" -%>
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/edges.yml:
--------------------------------------------------------------------------------
1 | <% (1..4).each do |id| %>
2 | edge_<%= id %>:
3 | source_id: <%= id %>
4 | sink_id: <%= id + 1 %>
5 | <% end %>
6 |
--------------------------------------------------------------------------------
/activerecord/test/models/auto_id.rb:
--------------------------------------------------------------------------------
1 | class AutoId < ActiveRecord::Base
2 | self.table_name = "auto_id_tests"
3 | self.primary_key = "auto_id"
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/liquid.rb:
--------------------------------------------------------------------------------
1 | class Liquid < ActiveRecord::Base
2 | self.table_name = :liquid
3 | has_many :molecules, -> { distinct }
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/traffic_light.rb:
--------------------------------------------------------------------------------
1 | class TrafficLight < ActiveRecord::Base
2 | serialize :state, Array
3 | serialize :long_state, Array
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/regexp.rb:
--------------------------------------------------------------------------------
1 | class Regexp #:nodoc:
2 | def multiline?
3 | options & MULTILINE == MULTILINE
4 | end
5 | end
6 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/confirm_dialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/confirm_dialog.png
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/rails_welcome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/rails_welcome.png
--------------------------------------------------------------------------------
/guides/assets/images/i18n/demo_translation_missing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/i18n/demo_translation_missing.png
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/formatted_fragment_cached_with_variant.html+phone.erb:
--------------------------------------------------------------------------------
1 |
2 | <%= cache do %>PHONE
<% end %>
3 |
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_label_with_block.erb:
--------------------------------------------------------------------------------
1 | <%= label('post', 'message')do %>
2 | Message
3 | <%= text_field 'post', 'message' %>
4 | <% end %>
5 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/list.erb:
--------------------------------------------------------------------------------
1 | <%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/dashboards.yml:
--------------------------------------------------------------------------------
1 | cool_first:
2 | dashboard_id: d1
3 | name: my_dashboard
4 | second:
5 | dashboard_id: d2
6 | name: second
7 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/dog_lovers.yml:
--------------------------------------------------------------------------------
1 | david:
2 | id: 1
3 | bred_dogs_count: 0
4 | trained_dogs_count: 1
5 | joanna:
6 | id: 2
7 | dogs_count: 1
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/ships.yml:
--------------------------------------------------------------------------------
1 | black_pearl:
2 | name: "Black Pearl"
3 | pirate: blackbeard
4 | interceptor:
5 | id: 2
6 | name: "Interceptor"
7 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/values/unicode_tables.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/activesupport/lib/active_support/values/unicode_tables.dat
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/counting_loader.rb:
--------------------------------------------------------------------------------
1 | $counting_loaded_times ||= 0
2 | $counting_loaded_times += 1
3 |
4 | module CountingLoader
5 | end
6 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/form_with_errors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/form_with_errors.png
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/rails/generators/foobar/foobar_generator.rb:
--------------------------------------------------------------------------------
1 | module Foobar
2 | class FoobarGenerator < Rails::Generators::Base
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/layouts/streaming.erb:
--------------------------------------------------------------------------------
1 | <%= yield :header -%>
2 | <%= yield -%>
3 | <%= yield :footer -%>
4 | <%= yield(:unknown).presence || "." -%>
--------------------------------------------------------------------------------
/actionview/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 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/render_partial_inside_directory.html.erb:
--------------------------------------------------------------------------------
1 | <%= render partial: 'test/_directory/partial_with_locales', locals: {'name' => 'Jane'} %>
2 |
--------------------------------------------------------------------------------
/activemodel/test/models/account.rb:
--------------------------------------------------------------------------------
1 | class Account
2 | include ActiveModel::ForbiddenAttributesProtection
3 |
4 | public :sanitize_for_mass_assignment
5 | end
6 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/courses.yml:
--------------------------------------------------------------------------------
1 | ruby:
2 | id: 1
3 | name: Ruby Development
4 | college: FIU
5 |
6 | java:
7 | id: 2
8 | name: Java Development
9 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/string_key_objects.yml:
--------------------------------------------------------------------------------
1 | first:
2 | id: record1
3 | name: first record
4 |
5 | second:
6 | id: record2
7 | name: second record
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/citation.rb:
--------------------------------------------------------------------------------
1 | class Citation < ActiveRecord::Base
2 | belongs_to :reference_of, :class_name => "Book", :foreign_key => :book2_id
3 | end
4 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/loads_constant.rb:
--------------------------------------------------------------------------------
1 | module LoadsConstant
2 | end
3 |
4 | # The _ = assignment is to prevent warnings
5 | _ = RequiresConstant
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/content_for_concatenated.erb:
--------------------------------------------------------------------------------
1 | <% content_for :title, "Putting stuff "
2 | content_for :title, "in the title!" -%>
3 | Great stuff!
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/list.erb:
--------------------------------------------------------------------------------
1 | <%= @test_unchanged = 'goodbye' %><%= render :partial => 'customer', :collection => @customers %><%= @test_unchanged %>
2 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/non_erb_block_content_for.builder:
--------------------------------------------------------------------------------
1 | content_for :title do
2 | 'Putting stuff in the title!'
3 | end
4 | xml << "Great stuff!"
5 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/magic/1_currencies_have_symbols.rb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/activerecord/test/migrations/magic/1_currencies_have_symbols.rb
--------------------------------------------------------------------------------
/activerecord/test/models/randomly_named_c1.rb:
--------------------------------------------------------------------------------
1 | class ClassNameThatDoesNotFollowCONVENTIONS < ActiveRecord::Base
2 | self.table_name = :randomly_named_table
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/treaty.rb:
--------------------------------------------------------------------------------
1 | class Treaty < ActiveRecord::Base
2 |
3 | self.primary_key = :treaty_id
4 |
5 | has_and_belongs_to_many :countries
6 |
7 | end
8 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/article_with_comments.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/article_with_comments.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/app/helpers/%name%/application_helper.rb.tt:
--------------------------------------------------------------------------------
1 | module <%= camelized %>
2 | module ApplicationHelper
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/rails/routes.rb:
--------------------------------------------------------------------------------
1 | Rails.application.routes.draw do
2 |
3 | mount <%= camelized %>::Engine => "/<%= name %>"
4 | end
5 |
--------------------------------------------------------------------------------
/actionmailer/test/mailers/asset_mailer.rb:
--------------------------------------------------------------------------------
1 | class AssetMailer < ActionMailer::Base
2 | self.mailer_name = "asset_mailer"
3 |
4 | def welcome
5 | mail
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb:
--------------------------------------------------------------------------------
1 |
2 | <%= cache 'nodigest', skip_digest: true do %>ERB
<% end %>
3 |
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :inline => 'Some inline content' %>
2 | <%= cache do %>Some cached content<% end %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_partial_inside_directory.html.erb:
--------------------------------------------------------------------------------
1 | <%= render partial: 'test/_directory/partial_with_locales', locals: {'name' => 'Jane'} %>
2 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/cars.yml:
--------------------------------------------------------------------------------
1 | honda:
2 | id: 1
3 | name: honda
4 | engines_count: 0
5 |
6 | zyke:
7 | id: 2
8 | name: zyke
9 | engines_count: 0
10 |
--------------------------------------------------------------------------------
/activerecord/test/models/aircraft.rb:
--------------------------------------------------------------------------------
1 | class Aircraft < ActiveRecord::Base
2 | self.pluralize_table_names = false
3 | has_many :engines, :foreign_key => "car_id"
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/country.rb:
--------------------------------------------------------------------------------
1 | class Country < ActiveRecord::Base
2 |
3 | self.primary_key = :country_id
4 |
5 | has_and_belongs_to_many :treaties
6 |
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/course.rb:
--------------------------------------------------------------------------------
1 | require_dependency 'models/arunit2_model'
2 |
3 | class Course < ARUnit2Model
4 | belongs_to :college
5 | has_many :entrants
6 | end
7 |
--------------------------------------------------------------------------------
/activerecord/test/models/image.rb:
--------------------------------------------------------------------------------
1 | class Image < ActiveRecord::Base
2 | belongs_to :imageable, foreign_key: :imageable_identifier, foreign_type: :imageable_class
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/subscription.rb:
--------------------------------------------------------------------------------
1 | class Subscription < ActiveRecord::Base
2 | belongs_to :subscriber, :counter_cache => :books_count
3 | belongs_to :book
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/toy.rb:
--------------------------------------------------------------------------------
1 | class Toy < ActiveRecord::Base
2 | self.primary_key = :toy_id
3 | belongs_to :pet
4 |
5 | scope :with_pet, -> { joins(:pet) }
6 | end
7 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/show_action_for_articles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/show_action_for_articles.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/bin/bundle:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2 | load Gem.bin_path('bundler', 'bundle')
3 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/lib/%name%.rb:
--------------------------------------------------------------------------------
1 | <% if engine? -%>
2 | require "<%= name %>/engine"
3 |
4 | <% end -%>
5 | module <%= camelized %>
6 | end
7 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/using_layout_around_block.html.erb:
--------------------------------------------------------------------------------
1 | <%= render(:layout => "layout_for_partial", :locals => { :name => "David" }) do %>Inside from block<% end %>
--------------------------------------------------------------------------------
/activemodel/test/config.rb:
--------------------------------------------------------------------------------
1 | TEST_ROOT = File.expand_path(File.dirname(__FILE__))
2 | FIXTURES_ROOT = TEST_ROOT + "/fixtures"
3 | SCHEMA_FILE = TEST_ROOT + "/schema.rb"
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/tags.yml:
--------------------------------------------------------------------------------
1 | general:
2 | id: 1
3 | name: General
4 |
5 | misc:
6 | id: 2
7 | name: Misc
8 |
9 | blue:
10 | id: 3
11 | name: Blue
12 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/to_copy2/1_create_articles.rb:
--------------------------------------------------------------------------------
1 | class CreateArticles < ActiveRecord::Migration
2 | def self.up
3 | end
4 |
5 | def self.down
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/to_copy2/2_create_comments.rb:
--------------------------------------------------------------------------------
1 | class CreateArticles < ActiveRecord::Migration
2 | def self.up
3 | end
4 |
5 | def self.down
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/publisher/article.rb:
--------------------------------------------------------------------------------
1 | class Publisher::Article < ActiveRecord::Base
2 | has_and_belongs_to_many :magazines
3 | has_and_belongs_to_many :tags
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/warehouse_thing.rb:
--------------------------------------------------------------------------------
1 | class WarehouseThing < ActiveRecord::Base
2 | self.table_name = "warehouse-things"
3 |
4 | validates_uniqueness_of :value
5 | end
6 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb:
--------------------------------------------------------------------------------
1 | class String
2 | alias_method :starts_with?, :start_with?
3 | alias_method :ends_with?, :end_with?
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb:
--------------------------------------------------------------------------------
1 | class ClassFolder::ClassFolderSubclass < ClassFolder
2 | ConstantInClassFolder = 'indeed'
3 | end
4 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/index_action_with_edit_link.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/index_action_with_edit_link.png
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/routing_error_no_controller.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/routing_error_no_controller.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/erb/mailer/templates/view.html.erb:
--------------------------------------------------------------------------------
1 | <%= class_name %>#<%= @action %>
2 |
3 |
4 | <%%= @greeting %>, find me in <%= @path %>
5 |
6 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/base_mailer/inline_attachment.html.erb:
--------------------------------------------------------------------------------
1 | Inline Image
2 |
3 | <%= image_tag attachments['logo.png'].url %>
4 |
5 | This is an image that is inline
--------------------------------------------------------------------------------
/actionview/test/fixtures/multipart/single_utf8_param:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name"
3 |
4 | Iñtërnâtiônàlizætiøn_value
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/calling_partial_with_layout.html.erb:
--------------------------------------------------------------------------------
1 | <%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/utf8.html.erb:
--------------------------------------------------------------------------------
1 | Русский <%= render :partial => 'test/utf8_partial' %>
2 | <%= "日".encoding %>
3 | <%= @output_buffer.encoding %>
4 | <%= __ENCODING__ %>
5 |
--------------------------------------------------------------------------------
/activemodel/test/models/helicopter.rb:
--------------------------------------------------------------------------------
1 | class Helicopter
2 | include ActiveModel::Conversion
3 | end
4 |
5 | class Helicopter::Comanche
6 | include ActiveModel::Conversion
7 | end
8 |
--------------------------------------------------------------------------------
/activemodel/test/validators/namespace/email_validator.rb:
--------------------------------------------------------------------------------
1 | require 'validators/email_validator'
2 |
3 | module Namespace
4 | class EmailValidator < ::EmailValidator
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/member_details.yml:
--------------------------------------------------------------------------------
1 | groucho:
2 | id: 1
3 | member_id: 1
4 | organization: nsa
5 | some_other_guy:
6 | id: 2
7 | member_id: 2
8 | organization: nsa
9 |
--------------------------------------------------------------------------------
/activerecord/test/models/admin/randomly_named_c1.rb:
--------------------------------------------------------------------------------
1 | class Admin::ClassNameThatDoesNotFollowCONVENTIONS < ActiveRecord::Base
2 | self.table_name = :randomly_named_table
3 | end
4 |
--------------------------------------------------------------------------------
/activerecord/test/models/molecule.rb:
--------------------------------------------------------------------------------
1 | class Molecule < ActiveRecord::Base
2 | belongs_to :liquid
3 | has_many :electrons
4 |
5 | accepts_nested_attributes_for :electrons
6 | end
7 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/routing_error_no_route_matches.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/routing_error_no_route_matches.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/lib/tasks/%name%_tasks.rake:
--------------------------------------------------------------------------------
1 | # desc "Explaining what the task does"
2 | # task :<%= name %> do
3 | # # Task goes here
4 | # end
5 |
--------------------------------------------------------------------------------
/actionmailer/lib/rails/generators/mailer/templates/application_mailer.rb:
--------------------------------------------------------------------------------
1 | class ApplicationMailer < ActionMailer::Base
2 | default from: "from@example.com"
3 | layout 'mailer'
4 | end
5 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/single_utf8_param:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name"
3 |
4 | Iñtërnâtiônàlizætiøn_value
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_with_layout.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'test/partial', :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } %>
2 | partial with layout
3 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/essays.yml:
--------------------------------------------------------------------------------
1 | david_modest_proposal:
2 | name: A Modest Proposal
3 | writer_type: Author
4 | writer_id: David
5 | category_id: General
6 | author_id: David
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/activerecord/test/models/engine.rb:
--------------------------------------------------------------------------------
1 | class Engine < ActiveRecord::Base
2 | belongs_to :my_car, :class_name => 'Car', :foreign_key => 'car_id', :counter_cache => :engines_count
3 | end
4 |
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/price_estimate.rb:
--------------------------------------------------------------------------------
1 | class PriceEstimate < ActiveRecord::Base
2 | belongs_to :estimate_of, :polymorphic => true
3 | belongs_to :thing, polymorphic: true
4 | end
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/speedometer.rb:
--------------------------------------------------------------------------------
1 | class Speedometer < ActiveRecord::Base
2 | self.primary_key = :speedometer_id
3 | belongs_to :dashboard
4 |
5 | has_many :minivans
6 | end
7 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/date/zones.rb:
--------------------------------------------------------------------------------
1 | require 'date'
2 | require 'active_support/core_ext/date_and_time/zones'
3 |
4 | class Date
5 | include DateAndTime::Zones
6 | end
7 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/template_is_missing_articles_new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/template_is_missing_articles_new.png
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/unknown_action_new_for_articles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/unknown_action_new_for_articles.png
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/calling_partial_with_layout.html.erb:
--------------------------------------------------------------------------------
1 | <%= render(:layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => { :name => "David" }) %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/nested_layout.erb:
--------------------------------------------------------------------------------
1 | <% content_for :title, "title" -%>
2 | <% content_for :column do -%>column<% end -%>
3 | <%= render :layout => 'layouts/column' do -%>content<% end -%>
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/render_two_partials.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'partial', :locals => {'first' => '1'} %>
2 | <%= render :partial => 'partial', :locals => {'second' => '2'} %>
3 |
--------------------------------------------------------------------------------
/activerecord/test/models/personal_legacy_thing.rb:
--------------------------------------------------------------------------------
1 | class PersonalLegacyThing < ActiveRecord::Base
2 | self.locking_column = :version
3 | belongs_to :person, :counter_cache => true
4 | end
5 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/unknown_action_create_for_articles.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/unknown_action_create_for_articles.png
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/bin/rails:
--------------------------------------------------------------------------------
1 | APP_PATH = File.expand_path('../../config/application', __FILE__)
2 | require_relative '../config/boot'
3 | require 'rails/commands'
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/rack/debugger.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/deprecation'
2 |
3 | ActiveSupport::Deprecation.warn("This file is deprecated and will be removed in Rails 5.1 with no replacement.")
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb:
--------------------------------------------------------------------------------
1 | <%= render "test/layout_for_block_with_args" do |arg_1, arg_2| %>
2 | Yielded: <%= arg_1 %>/<%= arg_2 %>
3 | <% end %>
4 |
--------------------------------------------------------------------------------
/activejob/test/adapters/test.rb:
--------------------------------------------------------------------------------
1 | ActiveJob::Base.queue_adapter = :test
2 | ActiveJob::Base.queue_adapter.perform_enqueued_jobs = true
3 | ActiveJob::Base.queue_adapter.perform_enqueued_at_jobs = true
4 |
--------------------------------------------------------------------------------
/activemodel/test/models/blog_post.rb:
--------------------------------------------------------------------------------
1 | module Blog
2 | def self.use_relative_model_naming?
3 | true
4 | end
5 |
6 | class Post
7 | extend ActiveModel::Naming
8 | end
9 | end
10 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml:
--------------------------------------------------------------------------------
1 | sub_special_3:
2 | id: 102
3 | name: A special category in an arbitrarily named subsubdir file
4 | type: SpecialCategory
5 |
--------------------------------------------------------------------------------
/activerecord/test/models/item.rb:
--------------------------------------------------------------------------------
1 | class AbstractItem < ActiveRecord::Base
2 | self.abstract_class = true
3 | has_one :tagging, :as => :taggable
4 | end
5 |
6 | class Item < AbstractItem
7 | end
8 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/date_time/zones.rb:
--------------------------------------------------------------------------------
1 | require 'date'
2 | require 'active_support/core_ext/date_and_time/zones'
3 |
4 | class DateTime
5 | include DateAndTime::Zones
6 | end
7 |
--------------------------------------------------------------------------------
/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/guides/assets/images/getting_started/forbidden_attributes_for_new_article.png
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/potential_conflicts.erb:
--------------------------------------------------------------------------------
1 | First: <%= @name %>
2 | <%= render :partial => "person", :locals => { :name => "Stephan" } -%>
3 | Fourth: <%= @name %>
4 | Fifth: <%= name %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/render_two_partials.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => 'partial', :locals => {'first' => '1'} %>
2 | <%= render :partial => 'partial', :locals => {'second' => '2'} %>
3 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/change_priority.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/json_change_priority", formats: :json %>
2 | HTML Template, but <%= render :partial => "test/changing_priority" %> partial
--------------------------------------------------------------------------------
/activejob/lib/active_job/test_case.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/test_case'
2 |
3 | module ActiveJob
4 | class TestCase < ActiveSupport::TestCase
5 | include ActiveJob::TestHelper
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/joke.rb:
--------------------------------------------------------------------------------
1 | class Joke < ActiveRecord::Base
2 | self.table_name = 'funny_jokes'
3 | end
4 |
5 | class GoodJoke < ActiveRecord::Base
6 | self.table_name = 'funny_jokes'
7 | end
8 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/raises_exception.rb:
--------------------------------------------------------------------------------
1 | $raises_exception_load_count += 1
2 | raise Exception, 'Loading me failed, so do not add to loaded or history.'
3 | $raises_exception_load_count += 1
4 |
--------------------------------------------------------------------------------
/activesupport/test/dependencies/raises_exception_without_blame_file.rb:
--------------------------------------------------------------------------------
1 | exception = Exception.new('I am not blamable!')
2 | class << exception
3 | undef_method(:blame_file!)
4 | end
5 | raise exception
6 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/config/boot.rb:
--------------------------------------------------------------------------------
1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2 |
3 | require 'bundler/setup' # Set up gems listed in the Gemfile.
4 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/公共/gzip/application-a71b3024f80aea3181c09774ca17e712.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/公共/gzip/application-a71b3024f80aea3181c09774ca17e712.js.gz
--------------------------------------------------------------------------------
/activerecord/lib/active_record/railties/console_sandbox.rb:
--------------------------------------------------------------------------------
1 | ActiveRecord::Base.connection.begin_transaction(joinable: false)
2 |
3 | at_exit do
4 | ActiveRecord::Base.connection.rollback_transaction
5 | end
6 |
--------------------------------------------------------------------------------
/activerecord/lib/active_record/type_caster.rb:
--------------------------------------------------------------------------------
1 | require 'active_record/type_caster/map'
2 | require 'active_record/type_caster/connection'
3 |
4 | module ActiveRecord
5 | module TypeCaster
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/categories_ordered.yml:
--------------------------------------------------------------------------------
1 | --- !omap
2 | <% 100.times do |i| %>
3 | - fixture_no_<%= i %>:
4 | id: <%= i %>
5 | name: <%= "Category #{i}" %>
6 | type: Category
7 | <% end %>
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/funny_jokes.yml:
--------------------------------------------------------------------------------
1 | a_joke:
2 | id: 1
3 | name: Knock knock
4 |
5 | another_joke:
6 | id: 2
7 | name: |
8 | The \n Aristocrats
9 | Ate the candy
10 |
11 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/peoples_treasures.yml:
--------------------------------------------------------------------------------
1 | michael_diamond:
2 | rich_person_id: <%= ActiveRecord::FixtureSet.identify(:michael) %>
3 | treasure_id: <%= ActiveRecord::FixtureSet.identify(:diamond) %>
4 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/randomly_named_a9.yml:
--------------------------------------------------------------------------------
1 | first_instance:
2 | some_attribute: AAA
3 | another_attribute: 000
4 |
5 | second_instance:
6 | some_attribute: BBB
7 | another_attribute: 999
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/speedometers.yml:
--------------------------------------------------------------------------------
1 | cool_first:
2 | speedometer_id: s1
3 | name: my_speedometer
4 | dashboard_id: d1
5 | second:
6 | speedometer_id: s2
7 | name: second
8 | dashboard_id: d2
9 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/to_copy_with_timestamps2/20090101010101_create_articles.rb:
--------------------------------------------------------------------------------
1 | class CreateArticles < ActiveRecord::Migration
2 | def self.up
3 | end
4 |
5 | def self.down
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/migrations/to_copy_with_timestamps2/20090101010202_create_comments.rb:
--------------------------------------------------------------------------------
1 | class CreateComments < ActiveRecord::Migration
2 | def self.up
3 | end
4 |
5 | def self.down
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/models/invoice.rb:
--------------------------------------------------------------------------------
1 | class Invoice < ActiveRecord::Base
2 | has_many :line_items, :autosave => true
3 | before_save {|record| record.balance = record.line_items.map(&:amount).sum }
4 | end
5 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/numeric.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/numeric/bytes'
2 | require 'active_support/core_ext/numeric/time'
3 | require 'active_support/core_ext/numeric/conversions'
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/css/assets/templates/stylesheet.css:
--------------------------------------------------------------------------------
1 | /*
2 | Place all the styles related to the matching controller here.
3 | They will automatically be included in application.css.
4 | */
5 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/assets/templates/stylesheet.css:
--------------------------------------------------------------------------------
1 | /*
2 | Place all the styles related to the matching controller here.
3 | They will automatically be included in application.css.
4 | */
5 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/app/controllers/%name%/application_controller.rb.tt:
--------------------------------------------------------------------------------
1 | module <%= camelized %>
2 | class ApplicationController < ActionController::Base
3 | end
4 | end
5 |
--------------------------------------------------------------------------------
/actionmailer/test/fixtures/url_test_mailer/signed_up_with_url.erb:
--------------------------------------------------------------------------------
1 | Hello there,
2 |
3 | Mr. <%= @recipient %>. Please see our greeting at <%= @welcome_url %> <%= welcome_url %>
4 |
5 | <%= image_tag "somelogo.png" %>
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/tel_field.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class TelField < TextField # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/url_field.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class UrlField < TextField # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/change_priority.html.erb:
--------------------------------------------------------------------------------
1 | <%= render :partial => "test/json_change_priority", formats: :json %>
2 | HTML Template, but <%= render :partial => "test/changing_priority" %> partial
--------------------------------------------------------------------------------
/activejob/test/jobs/gid_job.rb:
--------------------------------------------------------------------------------
1 | require_relative '../support/job_buffer'
2 |
3 | class GidJob < ActiveJob::Base
4 | def perform(person)
5 | JobBuffer.add("Person with ID: #{person.id}")
6 | end
7 | end
8 |
9 |
--------------------------------------------------------------------------------
/activejob/test/support/integration/adapters/sucker_punch.rb:
--------------------------------------------------------------------------------
1 | module SuckerPunchJobsManager
2 | def setup
3 | ActiveJob::Base.queue_adapter = :sucker_punch
4 | SuckerPunch.logger = nil
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/admin/randomly_named_a9.yml:
--------------------------------------------------------------------------------
1 | first_instance:
2 | some_attribute: AAA
3 | another_attribute: 000
4 |
5 | second_instance:
6 | some_attribute: BBB
7 | another_attribute: 999
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/admin/randomly_named_b0.yml:
--------------------------------------------------------------------------------
1 | first_instance:
2 | some_attribute: AAA
3 | another_attribute: 000
4 |
5 | second_instance:
6 | some_attribute: BBB
7 | another_attribute: 999
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/treasures.yml:
--------------------------------------------------------------------------------
1 | diamond:
2 | name: $LABEL
3 |
4 | sapphire:
5 | name: $LABEL
6 | looter: redbeard (Pirate)
7 |
8 | ruby:
9 | name: $LABEL
10 | looter: louis (Parrot)
11 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/integer.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/integer/multiple'
2 | require 'active_support/core_ext/integer/inflections'
3 | require 'active_support/core_ext/integer/time'
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/struct.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/deprecation'
2 |
3 | ActiveSupport::Deprecation.warn("This file is deprecated and will be removed in Rails 5.1 with no replacement.")
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/time/marshal.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/deprecation'
2 |
3 | ActiveSupport::Deprecation.warn("This is deprecated and will be removed in Rails 5.1 with no replacement.")
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/js/assets/templates/javascript.js:
--------------------------------------------------------------------------------
1 | // Place all the behaviors and hooks related to the matching controller here.
2 | // All this logic will automatically be available in application.js.
3 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/config/routes.rb:
--------------------------------------------------------------------------------
1 | <% if mountable? -%>
2 | <%= camelized %>::Engine.routes.draw do
3 | <% else -%>
4 | Rails.application.routes.draw do
5 | <% end -%>
6 | end
7 |
--------------------------------------------------------------------------------
/tools/console:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ruby
2 | require File.expand_path('../../load_paths', __FILE__)
3 | require 'rails/all'
4 | require 'active_support/all'
5 | require 'irb'
6 | require 'irb/completion'
7 | IRB.start
8 |
--------------------------------------------------------------------------------
/actionpack/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb:
--------------------------------------------------------------------------------
1 |
4 |
5 |
<%= h @exception.message %>
6 |
7 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/public/gzip/application-a71b3024f80aea3181c09774ca17e712.js.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/josh/rails/HEAD/actionpack/test/fixtures/public/gzip/application-a71b3024f80aea3181c09774ca17e712.js.gz
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/email_field.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class EmailField < TextField # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/hidden_field.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class HiddenField < TextField # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/range_field.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class RangeField < NumberField # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/time_select.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class TimeSelect < DateSelect # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/multipart/bracketed_utf8_param:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name[Iñtërnâtiônàlizætiøn_nested_name]"
3 |
4 | Iñtërnâtiônàlizætiøn_value
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/activejob/test/jobs/hello_job.rb:
--------------------------------------------------------------------------------
1 | require_relative '../support/job_buffer'
2 |
3 | class HelloJob < ActiveJob::Base
4 | def perform(greeter = "David")
5 | JobBuffer.add("#{greeter} says hello")
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/mateys.yml:
--------------------------------------------------------------------------------
1 | blackbeard_to_redbeard:
2 | pirate_id: <%= ActiveRecord::FixtureSet.identify(:blackbeard) %>
3 | target_id: <%= ActiveRecord::FixtureSet.identify(:redbeard) %>
4 | weight: 10
5 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/kernel/debugger.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/deprecation'
2 |
3 | ActiveSupport::Deprecation.warn("This file is deprecated and will be removed in Rails 5.1 with no replacement.")
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/assets/templates/javascript.js:
--------------------------------------------------------------------------------
1 | // Place all the behaviors and hooks related to the matching controller here.
2 | // All this logic will automatically be available in application.js.
3 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/generator/templates/%file_name%_generator.rb.tt:
--------------------------------------------------------------------------------
1 | class <%= class_name %>Generator < Rails::Generators::NamedBase
2 | source_root File.expand_path('../templates', __FILE__)
3 | end
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/version.rb:
--------------------------------------------------------------------------------
1 | require_relative 'gem_version'
2 |
3 | module Rails
4 | # Returns the version of the currently loaded Rails as a string.
5 | def self.version
6 | VERSION::STRING
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/railties/lib/rails/welcome_controller.rb:
--------------------------------------------------------------------------------
1 | require 'rails/application_controller'
2 |
3 | class Rails::WelcomeController < Rails::ApplicationController # :nodoc:
4 | layout false
5 |
6 | def index
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/bracketed_utf8_param:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="Iñtërnâtiônàlizætiøn_name[Iñtërnâtiônàlizætiøn_nested_name]"
3 |
4 | Iñtërnâtiônàlizætiøn_value
5 | --AaB03x--
6 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/utf8_magic.html.erb:
--------------------------------------------------------------------------------
1 | <%# encoding: utf-8 -%>
2 | Русский <%= render :partial => 'test/utf8_partial_magic' %>
3 | <%= "日".encoding %>
4 | <%= @output_buffer.encoding %>
5 | <%= __ENCODING__ %>
6 |
--------------------------------------------------------------------------------
/activejob/test/jobs/nested_job.rb:
--------------------------------------------------------------------------------
1 | class NestedJob < ActiveJob::Base
2 | def perform
3 | LoggingJob.perform_later "NestedJob"
4 | end
5 |
6 | def job_id
7 | "NESTED-JOB-ID"
8 | end
9 | end
10 |
11 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/class.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/core_ext/class/attribute'
2 | require 'active_support/core_ext/class/delegating_attributes'
3 | require 'active_support/core_ext/class/subclasses'
4 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/config.ru:
--------------------------------------------------------------------------------
1 | # This file is used by Rack-based servers to start the application.
2 |
3 | require ::File.expand_path('../config/environment', __FILE__)
4 | run Rails.application
5 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/task/templates/task.rb:
--------------------------------------------------------------------------------
1 | namespace :<%= file_name %> do
2 | <% actions.each do |action| -%>
3 | desc "TODO"
4 | task <%= action %>: :environment do
5 | end
6 |
7 | <% end -%>
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/lib/action_view/helpers/tags/datetime_select.rb:
--------------------------------------------------------------------------------
1 | module ActionView
2 | module Helpers
3 | module Tags # :nodoc:
4 | class DatetimeSelect < DateSelect # :nodoc:
5 | end
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/actionpack/test/_customer_iteration_with_as.erb:
--------------------------------------------------------------------------------
1 | <%= client_iteration.size %>-<%= client_iteration.index %>: <%= client.name %><%= '-first' if client_iteration.first? %><%= '-last' if client_iteration.last? %>
--------------------------------------------------------------------------------
/actionview/test/fixtures/reply.rb:
--------------------------------------------------------------------------------
1 | class Reply < ActiveRecord::Base
2 | scope :base, -> { all }
3 | belongs_to :topic, -> { includes(:replies) }
4 | belongs_to :developer
5 |
6 | validates_presence_of :content
7 | end
8 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_with_layout_block_content.erb:
--------------------------------------------------------------------------------
1 | <%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %>
2 | Content from inside layout!
3 | <% end %>
4 | partial with layout
5 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/_partial_with_layout_block_partial.erb:
--------------------------------------------------------------------------------
1 | <%= render :layout => 'test/layout_for_partial', :locals => { :name => 'Bar!' } do %>
2 | <%= render 'test/partial' %>
3 | <% end %>
4 | partial with layout
5 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/admin/users.yml:
--------------------------------------------------------------------------------
1 | david:
2 | name: David
3 | account: signals37
4 |
5 | jamis:
6 | name: Jamis
7 | account: signals37
8 | settings:
9 | :symbol: symbol
10 | string: string
11 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/computers.yml:
--------------------------------------------------------------------------------
1 | workstation:
2 | id: 1
3 | system: 'Linux'
4 | developer: 1
5 | extendedWarranty: 1
6 |
7 | laptop:
8 | system: 'MacOS 1'
9 | developer: 1
10 | extendedWarranty: 1
11 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/owners.yml:
--------------------------------------------------------------------------------
1 | blackbeard:
2 | owner_id: 1
3 | name: blackbeard
4 | essay_id: A Modest Proposal
5 | happy_at: '2150-10-10 16:00:00'
6 |
7 | ashley:
8 | owner_id: 2
9 | name: ashley
10 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext.rb:
--------------------------------------------------------------------------------
1 | DEPRECATED_FILES = ["#{File.dirname(__FILE__)}/core_ext/struct.rb"]
2 | (Dir["#{File.dirname(__FILE__)}/core_ext/*.rb"] - DEPRECATED_FILES).each do |path|
3 | require path
4 | end
5 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/config/initializers/cookies_serializer.rb:
--------------------------------------------------------------------------------
1 | # Be sure to restart your server when you modify this file.
2 |
3 | Rails.application.config.action_dispatch.cookies_serializer = :json
4 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/test/utf8_magic_with_bare_partial.html.erb:
--------------------------------------------------------------------------------
1 | <%# encoding: utf-8 -%>
2 | Русский <%= render :partial => 'test/utf8_partial' %>
3 | <%= "日".encoding %>
4 | <%= @output_buffer.encoding %>
5 | <%= __ENCODING__ %>
6 |
--------------------------------------------------------------------------------
/activemodel/test/models/track_back.rb:
--------------------------------------------------------------------------------
1 | class Post
2 | class TrackBack
3 | def to_model
4 | NamedTrackBack.new
5 | end
6 | end
7 |
8 | class NamedTrackBack
9 | extend ActiveModel::Naming
10 | end
11 | end
--------------------------------------------------------------------------------
/activerecord/test/fixtures/to_be_linked/users.yml:
--------------------------------------------------------------------------------
1 | david:
2 | name: David
3 | account: signals37
4 |
5 | jamis:
6 | name: Jamis
7 | account: signals37
8 | settings:
9 | :symbol: symbol
10 | string: string
11 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/module/method_transplanting.rb:
--------------------------------------------------------------------------------
1 | require 'active_support/deprecation'
2 |
3 | ActiveSupport::Deprecation.warn("This file is deprecated and will be removed in Rails 5.1 with no replacement.")
4 |
--------------------------------------------------------------------------------
/activesupport/lib/active_support/core_ext/string/behavior.rb:
--------------------------------------------------------------------------------
1 | class String
2 | # Enable more predictable duck-typing on String-like classes. See Object#acts_like?.
3 | def acts_like_string?
4 | true
5 | end
6 | end
7 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/generator/templates/USAGE.tt:
--------------------------------------------------------------------------------
1 | Description:
2 | Explain the generator
3 |
4 | Example:
5 | rails generate <%= file_name %> Thing
6 |
7 | This will create:
8 | what/will/it/create
9 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt:
--------------------------------------------------------------------------------
1 | require 'test_helper'
2 |
3 | class <%= class_name %>Test < ActiveSupport::TestCase
4 | # test "the truth" do
5 | # assert true
6 | # end
7 | end
8 |
--------------------------------------------------------------------------------
/railties/test/fixtures/lib/generators/active_record/fixjour_generator.rb:
--------------------------------------------------------------------------------
1 | require 'rails/generators/active_record'
2 |
3 | module ActiveRecord
4 | module Generators
5 | class FixjourGenerator < Base
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/multipart/none:
--------------------------------------------------------------------------------
1 | --AaB03x
2 | Content-Disposition: form-data; name="submit-name"
3 |
4 | Larry
5 | --AaB03x
6 | Content-Disposition: form-data; name="files"; filename=""
7 |
8 |
9 | --AaB03x--
10 |
--------------------------------------------------------------------------------
/actionview/test/fixtures/developer.rb:
--------------------------------------------------------------------------------
1 | class Developer < ActiveRecord::Base
2 | has_and_belongs_to_many :projects
3 | has_many :replies
4 | has_many :topics, :through => :replies
5 | accepts_nested_attributes_for :projects
6 | end
7 |
--------------------------------------------------------------------------------
/activejob/test/jobs/logging_job.rb:
--------------------------------------------------------------------------------
1 | class LoggingJob < ActiveJob::Base
2 | def perform(dummy)
3 | logger.info "Dummy, here is it: #{dummy}"
4 | end
5 |
6 | def job_id
7 | "LOGGING-JOB-ID"
8 | end
9 | end
10 |
11 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/readers.yml:
--------------------------------------------------------------------------------
1 | michael_welcome:
2 | id: 1
3 | post_id: 1
4 | person_id: 1
5 | first_post_id: 2
6 |
7 | michael_authorless:
8 | id: 2
9 | post_id: 3
10 | person_id: 1
11 | first_post_id: 3
12 |
--------------------------------------------------------------------------------
/activerecord/test/fixtures/toys.yml:
--------------------------------------------------------------------------------
1 | bone:
2 | toy_id: 1
3 | name: Bone
4 | pet_id: 1
5 |
6 | doll:
7 | toy_id: 2
8 | name: Doll
9 | pet_id: 2
10 |
11 | bulbuli:
12 | toy_id: 3
13 | name: Bulbuli
14 | pet_id: 4
15 |
--------------------------------------------------------------------------------
/activerecord/test/models/essay.rb:
--------------------------------------------------------------------------------
1 | class Essay < ActiveRecord::Base
2 | belongs_to :writer, :primary_key => :name, :polymorphic => true
3 | belongs_to :category, :primary_key => :name
4 | has_one :owner, :primary_key => :name
5 | end
6 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/app/templates/config/environment.rb:
--------------------------------------------------------------------------------
1 | # Load the Rails application.
2 | require File.expand_path('../application', __FILE__)
3 |
4 | # Initialize the Rails application.
5 | Rails.application.initialize!
6 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/rails/plugin/templates/lib/%name%/engine.rb:
--------------------------------------------------------------------------------
1 | module <%= camelized %>
2 | class Engine < ::Rails::Engine
3 | <% if mountable? -%>
4 | isolate_namespace <%= camelized %>
5 | <% end -%>
6 | end
7 | end
8 |
--------------------------------------------------------------------------------
/railties/lib/rails/generators/test_unit.rb:
--------------------------------------------------------------------------------
1 | require 'rails/generators/named_base'
2 |
3 | module TestUnit # :nodoc:
4 | module Generators # :nodoc:
5 | class Base < Rails::Generators::NamedBase # :nodoc:
6 | end
7 | end
8 | end
9 |
--------------------------------------------------------------------------------
/actionpack/test/fixtures/test/hello_xml_world.builder:
--------------------------------------------------------------------------------
1 | xml.html do
2 | xml.head do
3 | xml.title "Hello World"
4 | end
5 |
6 | xml.body do
7 | xml.p "abes"
8 | xml.p "monks"
9 | xml.p "wiseguys"
10 | end
11 | end
--------------------------------------------------------------------------------
/activejob/lib/active_job/version.rb:
--------------------------------------------------------------------------------
1 | require_relative 'gem_version'
2 |
3 | module ActiveJob
4 | # Returns the version of the currently loaded Active Job as a Gem::Version
5 | def self.version
6 | gem_version
7 | end
8 | end
9 |
--------------------------------------------------------------------------------