| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
|\ \ \
| | | |
| | | | |
fix autoload tests
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
Change `gsub` to `tr` where possible
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
update queue_classic details [ci skip]
|
|/ / / / |
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | | |
Fix typo in Active Model guide
|
|/ / /
| | |
| | |
| | |
| | | |
- instrospection -> introspection.
- [ci skip]
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge branch 'active-model-secure-password-guide' of https://github.com/aditya-kapoor/rails into aditya-kapoor-active-model-secure-password-guide
Conflicts:
guides/source/active_model_basics.md
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Some grammatical errors and rewording of sentences throughout document
- Renaming headers to be more human readable, and if following paragraphs do not include module
names, adding those in
- In ActiveModel::AttributeMethods
* formatting expected output correctly, changing from `#` to `# =>`
- In ActiveModel::Dirty
* changing expected output of person.first_name_was from "First Name" to nil
* removing 'active_model' requirement at top of code snippet
- In ActiveModel::Validations
* originally Person.new(token: "2b1f325") raises an argument error (1 for 0), so setting of
attribute occurs on the line after object instantiation
- In ActiveModel::Naming
* closing code snippet tag at end of section so ActiveModel::Model is a separate section
- In ActiveModel::Model
* fixing spelling mistake of attr_accessor
- In ActiveModel::Serialization
* adding edit to description of how from_json and from_xml works under serialization
- In ActiveModel::Lint::Tests
* capitalizing person for class name
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
eileencodes/clarify-delete-strategies-on-collection-proxy
[ci skip] Clarify deletion strategies for collection proxies
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For detailed testing of behavior see:
https://gist.github.com/eileencodes/5b0a2fe011dcff6203fe
This shows destroy_all always destroys records and fires callbacks.
It will never use nullify or delete_all
delete_all's behavior varies greatly based on `hm` vs `hm:t` and deletion
strategy.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
doc added for `writer` method in `alias_method_chain` [ci skip]
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | | |
in the database. Closes #16304 [ci skip]
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
justinweiss/update_validation_context_documentation
Docs: Add a note on custom validation contexts. [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The documentation on `:on` for validations was inconsistent, and most
only referenced the `:create` and `:update` contexts. I fixed those to
be consistent with the documentation on `AM::Validations.validates`,
which seemed to have the best docs.
[ci skip]
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Fix underscore inflector handling of namespaced and adjacent acronyms
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I suspect that positive lookbehind would have been used in the
original implementation had it been available in supported Ruby
versions at the time. Now that Rails requires Ruby 1.9.2 or above,
this is no longer an issue.
This fixes #14146 for acronyms such as APIRESTful. This technique also
addresses namespaced acronyms that are not entirely uppercased. This
was broken when the commit was originally written but has since been
fixed in ccbb481. The latter does not deal with adjacent acronyms so
this commit wins.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Use #tr instead of #gsub where possible
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
fix typo in in define_model_callbacks comment [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix typo [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
add notes for `define_model_callbacks`
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
define hash on duration
|
|/ / / / / / |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Reason: There is a wrong newline, a typo, and the change
to singular is not good.
This reverts commit d76380cf1ccec7ffeff19827ae9b6d9b71327418.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[Railsguides] Fix style for rescue responses doc [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Change 'Any ***s that are...' to 'Any *** that is...'
* Fix style for default rescue_responses setting
This is a follow-up commit to:
* https://github.com/rails/rails/pull/17076
* https://github.com/yuki24/rails/commit/89b8836f2470c689f6b7d52cab3a418bb63aef26
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] add `test:jobs` task to testing guide
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
Disallow appended newlines when parsing as integer
|
|/ / / / / / /
| | | | | | |
| | | | | | | |
\Z allows appended newlines where \z does not.
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
[ci-skip] Update Active Job API documentation
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This adds documentation for the Active Job API. It includes
documentation on how to configure the queue_adapter, and how to create
new jobs. It adds links to the various other sections of the Active Job
documentation.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Follow up to #16613
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Since we want this flag to be enabled anytime we are running the tests
under JRuby, let's enable this at the Rakefile level so people get the
performance boost on their local checkout.
Moreover, we avoid having to update this particular line anytime the
option changes on the JRuby side.
The only drawback is that we have to define it in every Rakefile but
there's no big deal, this is already the case for other options.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
use tr instead of gsub when possible
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
In render file, by default the current layout is rendered always [ci skip]
|
| | | | | | | | |
|