- 18 12月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Edouard CHIN 提交于
- I'm hoping to get this change accepted even though this flag was introduced years ago in 6576f735 My use case is the following: We were never enforcing belongs to association and we have a lot of models that implicitely declare an association as optional. We are now changing all our models to make associations required by default. Since we have a lot of models (more than 1000), I'd like to progressively enable them to use the `belongs_to_required_by_default` flag. The problem is that this flag is a mattr_accessor and doesn't to be set per model. We basically need to modify all our models (which could take years) before being able to modify the global flag. I'd like to change this flag to a class_attribute to solve the issue.
-
- 17 12月, 2019 2 次提交
-
-
由 Akshay Birajdar 提交于
-
由 Petrik 提交于
Replace SyntaxHighlighter with prism.js. SyntaxHighlighter does not seem to be maintained. Prism.js seems a nice alternative with support for Ruby, javascript, erb and yaml. Prism.js uses the MIT License. https://github.com/PrismJS/prism For bash a customized definition of the bash+shell-session themes is used with the following comamnds added commands: brew, bundle, cat, git, gem, rackup, rake, rails, ruby, rubocop and yarn
-
- 14 12月, 2019 1 次提交
-
-
由 Petrik 提交于
The Active Record Query Interface missed the first title (most other guides do have it, including the other AR guides). The explanation about database compatibility seems more in place above the guide's code example usage.
-
- 13 12月, 2019 4 次提交
-
-
由 Younes SERRAJ 提交于
The javascript directory under app/ is in a singular form (app/javascript) but the documentation was mentionning it in the plural form (app/javascripts).
-
由 Kasper Timm Hansen 提交于
-
由 Mark McDonald 提交于
* Keep consistent verb tenses [ci skip] * Add link to "creating your own events" [ci skip] * Move section on how to subscribe to events above list of events The list of events is really long, and most people only care about a specific event or type of event. [ci skip]
-
由 Kevin Jacoby 提交于
Using words such as 'just', 'simply' and 'easy' implies to the reader that the tasks they are trying to accomplish are tasks that anyone can do, which might then frustrate them if they find it difficult to complete. This commit rephrases some usage of these words to aid understanding in the readers without making them feel belittled. [ci skip]
-
- 11 12月, 2019 1 次提交
-
-
由 Cliff Pruitt 提交于
-
- 10 12月, 2019 1 次提交
-
-
由 Hiroshi Ito 提交于
-
- 08 12月, 2019 2 次提交
-
-
由 Dalto Curvelano 提交于
[ci skip]
-
由 finn 提交于
Add a yellow "NOTE" block to see if the guide looks better.
-
- 07 12月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 06 12月, 2019 2 次提交
-
-
由 Edouard CHIN 提交于
= This feature existed back in 2012 https://github.com/rails/rails/commit/5e7d6bba79393de0279917f93b82f3b7b176f4b5 but got reverted with the incentive that there was a better approach. After discussions, we agreed that it's a useful feature for apps that have a really large set of routes. Co-authored-by: NYehuda Katz <wycats@gmail.com>
-
由 Xavier Noria 提交于
I added myself links to the Ruby on Rails Tutorial years ago, after meeting Michael in a RailsConf. By then, the book was a commercial product, but had a free online version and I thought it could be a good resource complementing the official documentation. Nowadays, only a few sample chapters are available for free, and I don't consider these links to be fair with the rest of commercial books about Rails anymore.
-
- 05 12月, 2019 3 次提交
-
-
由 George Claghorn 提交于
-
由 Ryo Nakamura 提交于
-
由 yuuji.yaginuma 提交于
This reverts commit 5bbb2a65, reversing changes made to f9e4906c. Reason: Since #36866, we use `azure-storage-blob` gem. So the original description is correct.
-
- 04 12月, 2019 2 次提交
-
-
由 Étienne Barrié 提交于
-
由 Pierre de Milly 提交于
-
- 03 12月, 2019 3 次提交
-
-
由 Takayuki Nakata 提交于
`unknown_asset_fallback` defaults to `false`. Refere to 6813b480.
-
由 Andrew Haines 提交于
-
由 Peter Zhu 提交于
-
- 02 12月, 2019 1 次提交
-
-
由 Israel Tomilayo 提交于
- remove #print_boot_infornation method and method call
-
- 01 12月, 2019 1 次提交
-
-
由 Austin Story 提交于
This change will allow subscribers to the notification to report on anything related to the request that they might need
-
- 30 11月, 2019 1 次提交
-
-
由 Thais Kusuki 提交于
-
- 24 11月, 2019 4 次提交
-
-
由 Benoit Daloze 提交于
* https://github.com/guard/listen/releases/tag/v3.2.0 * https://github.com/guard/listen/issues/465 * `listen` removed the unmaintained `ruby_dep` dependency, which incorrectly shows warnings when running on TruffleRuby.
-
由 Ryuta Kamizono 提交于
Sync style with Basic Authentication and Digest Authentication headers.
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
- 22 11月, 2019 2 次提交
-
-
由 BelenRemedi 提交于
-
由 Dylan Clark 提交于
RSpec is written with a capital R and S elsewhere in the guide, change it here to match.
-
- 21 11月, 2019 3 次提交
-
-
由 Edouard CHIN 提交于
- `respond_to any` doesn't allow to specify a content type and the content type in the response will be based on the request format. ```ruby def my_action respond_to do |format| format.html { render(html: 'hello') } format.any { render(json: { foo: 'bar'}) } end end get('my_action.csv') # Before this patch, content type was `text/csv' # Ather this patch, content type is correctly set to whateve we did in the `format.any` block ``` If the client specify the type of data he wants but the server doesn't know how to handle it and return plain text (or whatever) I don't think it make sense to falsey claim that we are returning a `text/csv` a response where in fact we are returning something else. Fix #37345
-
由 soartec-lab 提交于
-
由 John Crepezzi 提交于
This commit adds a test to ensure the behavior of inline `around_action` calls, as well as a change to the guides to call out this alternate use of `around_action`. Closes #37616
-
- 20 11月, 2019 1 次提交
-
-
由 Sho Ito 提交于
and `Array#including` and `Array#excluding`
-
- 18 11月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Keep the example complex enough to showcase involving Action Mailers to either: bounce and halt processing or finish the email processing by asking for more information. Closes https://github.com/rails/rails/pull/37736 [ Paul McMahon, Kasper Timm Hansen ]
-
- 15 11月, 2019 1 次提交
-
-
由 Takayuki Nakata 提交于
The errors below heppens in executing `bundle exec rake guides:validate`. ``` $ bundle exec rake guides:generate:html (snip) $ bundle exec rake guides:validate (snip) ./output/active_record_querying.html has 57 validation error(s): ERROR; line 55: Element “dt” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) (snip) ```
-
- 13 11月, 2019 1 次提交
-
-
由 Petri Partio 提交于
There are two possible directives for X-Frame-Options: X-Frame-Options: deny X-Frame-Options: sameorigin ALLOWALL is not a valid value and using it can sometimes be interpreted as DENY.
-