- 25 2月, 2020 3 次提交
-
-
由 Rafael França 提交于
Update boolean attributes in actionview tag helper
-
由 Eileen M. Uchitelle 提交于
Adds additional database-specific rake tasks for multi-database users
-
由 Kyle Thompson 提交于
-
- 24 2月, 2020 4 次提交
-
-
由 Eileen M. Uchitelle 提交于
Clarify and update ActiveRecord Callbacks documentation
-
由 Olivier Lacan 提交于
Mainly these changes aim to make this documentation a bit more ESL (English as a second language friendly). Here are some examples of the things I changed: - replace the constant use of `get <verb>` with `is <verb>` - replace $10 words like `alteration` with clearer $1 words like `change` - `give you immense power` -> `offer you a lot of control` - missing `<code>` wrapping to denote method/variable references and SQL statements like `COMMIT` and `ROLLBACK`. - clarify the ordering callback example specifically to explain what children is (an association with records) This is minimal stuff but I think it improves the clarity and legibility of this extremely important piece of documentation. I'm actually surprised that it's not linked to from the [Callbacks Guide][1] [ci skip] [1]: https://guides.rubyonrails.org/active_record_callbacks.html
-
由 Steve Thomas 提交于
- 23 2月, 2020 2 次提交
-
-
由 प्रथमेश Sonpatki 提交于
Fix callbacks types documentation [ci skip]
-
由 Petrik 提交于
There are three types of callbacks accepted, not four.
-
- 22 2月, 2020 7 次提交
-
-
由 Eugene Kenny 提交于
[ci skip] Update Documentation: Add a code example and clarify docs
-
由 BK 提交于
-
由 Eileen M. Uchitelle 提交于
Support strict_loading on association declarations
-
由 Eileen M. Uchitelle 提交于
Avoid implying that `#results` selector will only match a `div` element in the Working with JavaScript guide
-
由 Kevin Deisz 提交于
-
由 Richard Macklin 提交于
The sample code above this sentence uses the selector `#results` which will match any element with the `id` attribute of `results`, but the sentence was previously implying that it had to be specifically a `div` element.
-
由 Matthijs Vos 提交于
Mailgun now needs the signing key instead of the API key for validating incoming mails.
-
- 21 2月, 2020 8 次提交
-
-
由 Gannon McGibbon 提交于
Co-Authored-By: Nguledali <guled.ali01@gmail.com> Closes #37529
-
由 Kasper Timm Hansen 提交于
Enable HashTransformKeys and HashTransformValues cops
-
由 Eugene Kenny 提交于
Followup to 88fe76e6. These are new in RuboCop 0.80.0, and enforce a style we already prefer for performance reasons (see df81f2e5).
-
由 Gannon McGibbon 提交于
Fix: on accessing the parent record before creation with has_many_inv…
-
由 Carlos Antonio da Silva 提交于
Updates to rubocop 0.80
-
由 Kasper Timm Hansen 提交于
Remove validations from example components
-
由 Joel Hawksley 提交于
We're moving away from using validations in our component framework, and feel that it's better to avoid prescribing their usage in these example classes, which exist to serve as example objects that are compatible with the render_in API.
-
由 Carlos Antonio da Silva 提交于
Follow-up of ac9b11a8.
-
- 20 2月, 2020 6 次提交
-
-
由 Ricardo Trindade 提交于
-
由 Eileen M. Uchitelle 提交于
Add `strict_loading` mode to optionally prevent lazy loading
-
由 eileencodes 提交于
Add `#strict_loading` to any record to prevent lazy loading of associations. `strict_loading` will cascade down from the parent record to all the associations to help you catch any places where you may want to use `preload` instead of lazy loading. This is useful for preventing N+1's. Co-authored-by: NAaron Patterson <aaron.patterson@gmail.com>
-
由 Eugene Kenny 提交于
Add Webpacker dependencies to the getting started guide
-
由 Hrvoje Šimić 提交于
Closes #38322.
-
由 Javier Jimenez 提交于
Fix: on accessing the parent record before creation with has_many_inversing adds two records to association
-
- 19 2月, 2020 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
If they are not included in this "test types" list, they're counted towards app code lines, not test lines.
-
由 Carlos Antonio da Silva 提交于
Count TypeScript files as JavaScript in `rails stats`
-
由 Joshua Cody 提交于
-
- 17 2月, 2020 7 次提交
-
-
由 Kasper Timm Hansen 提交于
Closes #37624
-
由 Hrvoje Šimić 提交于
This provides better more specific diffs when comparing complex objects. Reverts bbe437fa. Closes #37507. Closes #38220. Co-authored-by: Nmichdsouza <michd2005@gmail.com> Co-authored-by: NRahul Purohit <rahulpuroht@gmail.com> Co-authored-by: NNicholas Koh <nkohwl@gmail.com>
-
由 Kasper Timm Hansen 提交于
Copy argument in AttributeAssignment#attributes=
-
由 BK 提交于
-
由 Eugene Kenny 提交于
Before df186bd1, `assign_attributes` and `attributes=` were both defined in Active Model and both made a copy of their argument. Now `assign_attributes` is overridden in Active Record and the copy happens there instead, but `attributes=` isn't overridden. This meant that assigning nested or multi-parameters via `attributes=` would mutate the argument, which the copying was meant to prevent.
-
由 Kasper Timm Hansen 提交于
Fix `rails new --dev`
-
由 Kasper Timm Hansen 提交于
Closes #38469
-