aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Use mattr_accessor default: option throughout the projectGenadi Samokovarov2017-06-032-3/+4
| | |
| * | Make Rails welcome page responsiveLucas Caton2017-06-031-4/+14
| | |
| * | Merge pull request #29079 from ↵Eileen M. Uchitelle2017-06-021-1/+1
| |\ \ | | | | | | | | | | | | | | | | orhantoy/feature/fix-scaffold_controller-generator-usage [ci skip] Fix `scaffold_controller` generator usage
| | * | [ci skip] Fix `scaffold_controller` generator usageOrhan Toy2017-05-291-1/+1
| | | |
* | | | Merge branch 'master' into unlock-minitestRafael Mendonça França2017-06-027-11/+10
|\| | |
| * | | Remove the pathname dependency from bin/update and bin/setupBen Woosley2017-05-312-4/+2
| | | | | | | | | | | | | | | | We don't get any benefit from it at all.
| * | | Merge pull request #29088 from ↵Matthew Draper2017-05-311-3/+4
| |\ \ \ | | |_|/ | |/| | | | | | | | | | greysteil/better-spacing-in-production-environment Better spacing in environments/production.rb file
| | * | Better spacing in environments/production.rb fileGrey Baker2017-05-151-3/+4
| | | | | | | | | | | | | | | | | | | | Previously there were a couple of places where double-spacing or no spacing was happening, depending on skipped options.
| * | | Replace therubyracer with mini_racerSam2017-05-302-2/+2
| | | |
| * | | Do not use UTF8 in test SecretsCommandTest#test_edit_secretsPavel Valena2017-05-302-2/+2
| | | |
* | | | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-05-2975-254/+549
|\| | |
| * | | Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-292-6/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow a default value to be declared for class_attribute * Convert to using class_attribute default rather than explicit setter * Removed instance_accessor option by mistake * False is a valid default value * Documentation
| * | Doh. We are doing this on secrets:setup. Revert "Ignore the encrypted ↵David Heinemeier Hansson2017-05-291-3/+0
| | | | | | | | | | | | | | | | | | secrets key file that is created by rails secrets:setup" This reverts commit 75500476eb7e953a06cc64e67ecc57b13ef8cc99.
| * | Merge pull request #29266 from ojiry/add-elm-option-to-generator-descEileen M. Uchitelle2017-05-291-1/+1
| |\ \ | | | | | | | | [ci skip] Add elm option of webpack to generator description
| | * | Add elm option of webpack to generator descriptionRyoji Yoshioka2017-05-291-1/+1
| | | |
| * | | Ignore the encrypted secrets key file that is created by rails secrets:setupDavid Heinemeier Hansson2017-05-291-0/+3
| |/ /
| * | Merge pull request #29208 from ↵Guillermo Iguaran2017-05-281-1/+1
| |\ \ | | | | | | | | | | | | | | | | kamipo/default_env_fall_back_to_default_env_when_rails_env_or_rack_env_is_empty_string `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is an empty string
| | * | `DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is ↵Ryuta Kamizono2017-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | an empty string Follow up of #27399.
| * | | Merge pull request #29146 from y-yagi/fix_29138Kasper Timm Hansen2017-05-282-2/+15
| |\ \ \ | | | | | | | | | | Correctly set user_supplied_options when there is no whitespace in option specification
| | * | | Correctly set user_supplied_options when there is no whitespace in option ↵yuuji.yaginuma2017-05-242-2/+15
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specification Current `user_supplied_options` method can not set the value correctly if there is no space between option and value (e.g., `-p9000`). This makes it possible to set the value correctly in the case like the above. Fixes #29138
| * | | Merge pull request #28132 from mikeycgto/aead-encrypted-cookiesKasper Timm Hansen2017-05-284-9/+93
| |\ \ \ | | | | | | | | | | AEAD encrypted cookies and sessions
| | * | | AEAD encrypted cookies and sessionsMichael Coyne2017-05-224-9/+93
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes encrypted cookies from AES in CBC HMAC mode to Authenticated Encryption using AES-GCM. It also provides a cookie jar to transparently upgrade encrypted cookies to this new scheme. Some other notable changes include: - There is a new application configuration value: +use_authenticated_cookie_encryption+. When enabled, AEAD encrypted cookies will be used. - +cookies.signed+ does not raise a +TypeError+ now if the name of an encrypted cookie is used. Encrypted cookies using the same key as signed cookies would be verified and serialization would then fail due the message still be encrypted.
| * | | Make reset execution assertions easier to read.Kasper Timm Hansen2017-05-281-15/+11
| | | | | | | | | | | | | | | | | | | | The app is booted by then, so there's no need to stash the code away in some other script.
| * | | Includes namespace in system test skelton when namespace is specifiedyuuji.yaginuma2017-05-282-1/+6
| | | | | | | | | | | | | | | | Fixes #29247
| * | | Use models to match the docs.Kasper Timm Hansen2017-05-271-1/+1
| | | |
| * | | Merge pull request #29238 from ashishg-qburst/generatorRafael França2017-05-262-4/+5
| |\ \ \ | | | | | | | | | | Do not show --webpack option in the plugin help message
| | * | | Do not show --webpack option in the plugin help messageash2017-05-262-4/+5
| | | | |
| * | | | ActiveSupport::CurrentAttributes provides a thread-isolated attributes ↵David Heinemeier Hansson2017-05-261-0/+88
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | singleton (#29180) * Add ActiveSupport::CurrentAttributes to provide a thread-isolated attributes singleton * Need to require first * Move stubs into test namespace. Thus they won't conflict with other Current and Person stubs. * End of the line for you, whitespace! * Support super in attribute methods. Define instance level accessors in an included module such that `super` in an overriden accessor works, akin to Active Model. * Spare users the manual require. Follow the example of concerns, autoload in the top level Active Support file. * Add bidelegation support * Rename #expose to #set. Simpler, clearer * Automatically reset every instance. Skips the need for users to actively embed something that resets their CurrentAttributes instances. * Fix test name; add tangible name value when blank. * Try to ensure we run after a request as well. * Delegate all missing methods to the instance This allows regular `delegate` to serve, so we don't need bidelegate. * Properly test resetting after execution cycle. Also remove the stale puts debugging. * Update documentation to match new autoreset
| * | | Merge pull request #29176 from bogdanvlviv/define-path-with__dir__Matthew Draper2017-05-2634-53/+53
| |\ \ \ | | | | | | | | | | Define path with __dir__
| | * | | Define path with __dir__bogdanvlviv2017-05-2334-53/+53
| | |/ / | | | | | | | | | | | | | | | | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
| * | | Remove redundant test methodAndy Atkinson2017-05-251-7/+1
| | | |
| * | | Merge pull request #29195 from kaspth/rails-secrets-better-edit-exceptionKasper Timm Hansen2017-05-255-34/+61
| |\ \ \ | | | | | | | | | | Make `secrets:edit` run `secrets:setup` if it hasn't already.
| | * | | Reorder first secrets edit flow.Kasper Timm Hansen2017-05-255-33/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setup config/secrets.yml.enc with template contents for people to edit. Then generate encryption key and encrypt the initial secrets.
| | * | | Remove needless waiting message.Kasper Timm Hansen2017-05-231-1/+0
| | |/ / | | | | | | | | | | | | | | | | Needed back when we attempted to wait for editors, but now we expect users to pass a -w flag to their $EDITOR.
| * | | We dont actually use the ultra short-hand, so no need to complicate things ↵David Heinemeier Hansson2017-05-241-1/+1
| | | | | | | | | | | | | | | | with it
| * | | Slim down the source definitionDavid Heinemeier Hansson2017-05-241-5/+1
| |/ /
| * | Unused variableDavid Heinemeier Hansson2017-05-201-1/+0
| | |
| * | Use recyclable cache keys (#29092)David Heinemeier Hansson2017-05-187-28/+28
| |/
| * Update system test runner docseileencodes2017-05-142-8/+10
| | | | | | | | | | | | | | | | | | It wasn't clear that system tests don't run with the rest of the test suite and are part of a separate command. This documents the `test:system` command as well as update the Rails runner help documentation to make it clearer that system tests are run via their own command by default.
| * Merge pull request #29010 from y-yagi/fix_28988Guillermo Iguaran2017-05-133-6/+32
| |\ | | | | | | Allow irb options to be passed from `rails console` command
| | * Allow irb options to be passed from `rails console` commandyuuji.yaginuma2017-05-083-6/+32
| | | | | | | | | | | | Fixes #28988
| * | rake -T should load development env by default, not testTimo Kilpilehto2017-05-101-1/+1
| | |
| * | Merge pull request #29022 from ↵Matthew Draper2017-05-101-1/+1
| |\ \ | | | | | | | | | | | | | | | | y-yagi/allow_to_receive_arbitrary_arguments_in_aggregated_results Allow to receive arbitrary arguments in `aggregated_results`
| | * | Allow to receive arbitrary arguments in `aggregated_results`yuuji.yaginuma2017-05-101-1/+1
| | |/ | | | | | | | | | | | | Argument was added to `aggregated_results` in minitest 5.10.2. Ref: https://github.com/seattlerb/minitest/commit/c6ba2afd90473b76d289562edd24f7d7ca8484f9
| * | Merge pull request #28995 from jcoyne/update_capybaraMatthew Draper2017-05-091-1/+1
| |\ \ | | |/ | |/| Allow capybara minor releases
| | * Allow capybara minor releasesJustin Coyne2017-05-051-1/+1
| | | | | | | | | | | | | | | | | | Capybara 2.14.0 was released. Loosen the tight constraint in the generated Gemfile, so that Rails applications can take advantage of the new version
| * | Should escape meta characters in regexpRyuta Kamizono2017-05-0711-75/+75
| |/
| * Move `package.json` creation to `create_root_files`yuuji.yaginuma2017-05-041-4/+5
| | | | | | | | | | Since `package.json` is created in root directory, it is appropriate to create it in `create_root_files`.
| * Merge pull request #28943 from koshigoe/port-arg-has-precedence-over-env-varRafael França2017-05-012-2/+15
| |\ | | | | | | CLI arg `--port` has precedence over env `PORT`
| | * CLI arg `--port` has precedence over env `PORT`.koshigoe2017-05-012-2/+15
| | |