- 18 5月, 2020 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 3月, 2020 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 19 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 27 11月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 11月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 16 11月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
See parent commit for more info.
-
由 Rafael Mendonça França 提交于
Thor will show a deprecation if a command fails and this method is not define. We should investigate which command we want to return a non-zero status when it fails but for now I'm just disabling the warning and keeping the old behavior.
-
- 20 8月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
Since 9c913116, if you run `rackup` in a machine that doesn't have that folder, the server will not start. This doesn't happen on `rails s` because we create that folder when starting the server on https://github.com/rails/rails/blob/8c8b02784a637570451d7810fd3dfed4eae9a77d/railties/lib/rails/commands/server/server_command.rb#L70-L74.
-
- 15 8月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Ruby 2.7 warning: creating a Proc without a block
-
- 23 7月, 2019 1 次提交
-
-
由 Rafael França 提交于
Add pidfile option to puma config template
-
- 05 6月, 2019 1 次提交
-
-
由 Marco Costa 提交于
When generating a new rails application (rails new) using a custom template that includes gems from an authenticated source, the user has to provide credentials to bundler. One way to do this is by exporting environment variables, for example: export BUNDLE_GITHUB__COM=user:pass: provides credentials for bundler to fetch gems from github.com. The problem this PR addresses is that we are currently scrubs all /BUNDLE_.*/ environment variables by wrapping our system calls in Bundler.with_clean_env. We do this because we don't want our commands executed against the generated project to use the generator's bundler environment (e.g. our gems): the generated project should use it's own configuration. The problem with Bundler.with_clean_env is that, on top of restoring environment variables to their original state, it also scrubs any /BUNDLE_.*/ variables, which is harmful for authenticated gem sources. This PR replaces Bundler.with_clean_env with Bundler.with_original_env, which only restores environment variables to their initial state, without additional scrubbing.
-
- 08 5月, 2019 2 次提交
-
-
由 Gannon McGibbon 提交于
[#35782] Allow loading seeds without ActiveJob (~> 5.2.3)
- 10 4月, 2019 1 次提交
-
-
由 Rafael França 提交于
Only override async adapter when seeding
-
- 28 3月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 22 3月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 14 3月, 2019 1 次提交
-
-
由 Yuji Yaginuma 提交于
Make application work without tmp directory
-
- 12 3月, 2019 2 次提交
-
-
由 Kasper Timm Hansen 提交于
This streamlines the lovely foundation Bogdan added. Mainly to add guidance around encryption keys and remove some backticks. Finally it adds some mention of how to access these files from Ruby in apps. [ Kasper Timm Hansen & bogdanvlviv ]
-
由 Kasper Timm Hansen 提交于
Improve output of `rails encrypted(:edit/:show) --help`
-
- 11 3月, 2019 2 次提交
-
-
由 eileencodes 提交于
* Bump RAILS_VERSION * Bundle * rake update_versions * rake changelog:header
-
由 Aaron Patterson 提交于
If the secret_key_base is nil in dev or test generate a key from random bytes and store it in a tmp file. This prevents the app developers from having to share / checkin the secret key for dev / test but also maintains a key between app restarts in dev/test. [CVE-2019-5420] Co-Authored-By: Neileencodes <eileencodes@gmail.com> Co-Authored-By: NJohn Hawthorn <john@hawthorn.email>
-
- 06 3月, 2019 1 次提交
-
-
由 Benoit Daloze 提交于
* This `if RUBY_ENGINE == 'ruby'` was meant to only skip `byebug` since its introduction in 059bdc34. Listen was added in de6ad566. * Others gems already have appropriate checks for their inclusion. * Test that the listen gem is included when RUBY_ENGINE is not 'ruby'.
-
- 25 1月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Don't load app environment when editing credentials
-
- 18 1月, 2019 1 次提交
-
-
由 Rafael França 提交于
Seed database with inline ActiveJob job adapter
-
- 06 1月, 2019 1 次提交
-
-
由 George Claghorn 提交于
Respect Rails.env when running `rails yarn:install`
-
- 13 12月, 2018 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Rafael França 提交于
Fix boolean interaction in scaffold system tests
-
- 05 12月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 29 11月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 28 11月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 24 10月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
What is important to tell is that the database configuration could not be loaded. Fixes #34296.
-
- 12 9月, 2018 1 次提交
-
-
由 Rafael França 提交于
Disable content security policy for mailer previews
-
- 11 9月, 2018 1 次提交
-
-
由 yuuji.yaginuma 提交于
`spec` is the same variable name as gemspec generated by bundler, and its intention is easier to understand than a one-letter variable. https://github.com/bundler/bundler/blob/00fd58eaa69015092ee272c4cb5aa92a5e7ee45c/lib/bundler/templates/newgem/newgem.gemspec.tt#L11 This is follow up 685cf0d5. `spec` is already in use there.
-
- 07 9月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
This will avoid gems that are made to be private to be pushed to public repositories.
-
- 30 8月, 2018 1 次提交
-
-
由 yuuji.yaginuma 提交于
In the system test template, enter a value based on label. However, since `label` method does not use `titleize` by default. If generate a value including underscore, cannot find a label and the test will fail. ``` $ ./bin/rails g scaffold user name:string phone_number:string $ ./bin/rails t test/system/users_test.rb E Error: UsersTest#test_creating_a_User: Capybara::ElementNotFound: Unable to find field "Phone Number" test/system/users_test.rb:18:in `block in <class:UsersTest>' ``` This removes unnecessary `titleize` so that the generated file will pass even if the attribute contains an underscore.
-
- 08 8月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 01 8月, 2018 1 次提交
-
-
由 George Claghorn 提交于
Log the remote IP addr of clients behind a proxy
-
- 31 7月, 2018 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 05 7月, 2018 1 次提交
-
-
由 Kasper Timm Hansen 提交于
-
- 04 7月, 2018 1 次提交
-
-
由 Yoshiyuki Kinjo 提交于
`load_default "5.2"` sets `Rails.application.config.action_view.form_with_generates_ids` to true but new_framework_defaults_5_2.rb does not mention about it. refs 36ac675d
-