| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Clarify i18n active[model/record] key differences
|
| | | | |
| | | | |
| | | | |
| | | | | |
I spent a decent amount of time the other day trying to figure out why my active model including class wasn't generating the properly localized validation messages, and a note like this would have saved me a lot of time.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
fix method name typo [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ActiveJob docs text fix. [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Allow `host` option in javscript and css helpers
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Now both `javascript_include_tag` and `stylesheet_tag` can accept `host` option
to provide custom host for the asset
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
dry up increment/decrement
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
y-yagi/fix_application_controller_require_dependency_path_in_api
fix application_controller require_dependency path generated by api scaffold generator
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
generator
In the app generator, regardless of the namespace, it is adapted to read the same `application_controller.rb`,
modified to api generator also be the same behavior.
ref 686966a1861e6761021d45f6795de753e8a62216, 06ac63b4c602e4b26cb3bfbf0dfd2bed8b00e786
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Improve support for non Active Record objects on `validates_associated`
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Skipping `marked_for_destruction?` when the associated object does not responds
to it make easier to validate virtual associations built on top of Active Model
objects and/or serialized objects that implement a `valid?` instance method.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix Unnecessary variable assignment /associations/builder/belongs_to.rb#add_destroy_callbacks
|
|/ / / / / /
| | | | | |
| | | | | | |
There is no need to to assign reflection name to a variable, because it's called once.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Parameterize with options to preserve the case of string
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added test cases
Using kwargs instead of three seperate functions
Updated parameterize in transliterate.rb
Updated parameterize in transliterate.rb
Added deprecation warnings and updating RDoc+Guide
Misspelled separtor. Fixed.
Deprecated test cases and added support to parameterize with keyword parameters
Squashing commits.
Fixed test cases and added deprecated test cases
Small changes to Gemfile.lock and CHANGELOG
Update Gemfile.lock
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
There was a `ActiveRecord::Relation::RecordFetchWarning::ActiveSupport`
artifact caused by subscribing to AS notifications.
|
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | | |
This type is backed by a class macro. Documentation related to the type
casting behavior should be added in the macro description.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
While `JoinDependency` and `JoinDependency::Aliases` were nodoced, the
inner `Table` class made them appear in the API.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
do not override fetch on local cache
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fetch is supposed to behave differently, this was a mistake merged in
https://github.com/rails/rails/pull/22194
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Return a sized Enumerator from Hash#transform_values{!}
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The previous commit changes the state of the class, and while we are
cleaning up the database, I forgot to clean up the class
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I've added a redundant test for this under the attributes API as well,
as that also causes this bug to manifest through public API (and
demonstrates that calling `reset_column_information` on the child
classes would be insufficient)
Since children of a class should always share a table with their parent,
just reloading the schema from the cache should be sufficient here.
`reload_schema_from_cache` should probably become public and
`# :nodoc:`, but I'd rather avoid the git churn here.
Fixes #22057
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
remove deprecated `:tokenizer` option from guide [ci skip]
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
`:tokenizer` option was deprecated in 1c341eb7cbaeb52435f14c2595e391bfb2e5e38b
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | |
| | | | | | |
| | | | | | | |
guides, the required option in generators is no longer available.
[ci skip]
|
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | | |
option for column
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add comma to to make the information clear
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
It goes expected, then actual.
Only changed this because the file was just touched (please don't submit pull requests :)).
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Suppress warning (warning about assigned but unused variable)
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These warings have been appeared from
https://github.com/rails/rails/commit/92bc8cdb0771bf6ffcfb31ef58dba529527b514c
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Avoid mutating original response in connection management middleware
|
|/ / / / / / |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Clarify automatic creation/deletion of join models for has_many through
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci-skip]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
call local_cache 1 time instead of 3 times
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
LocalCache read_entry previously called the local_cache method 3 times,
now it only calls it once and keeps the result in a local variable.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
use prepend instead of extending every instance
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
extending an instance with a module puts the methods on top of it,
prepend does the same but on the class level, so less work for us and more standard way of doing things
|
|\ \ \ \ \
| | | | | |
| | | | | | |
cache nil replies from backend cache so misses are fast too
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Update association_basics.md [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Moves the definition of an association to the top of the page. I am just starting to learn Rails, and having this definition at the top instead of in the second section would be really useful.
Updates the Types of Associations section for clarity. Moves the list of associations before the explanation.
Links to wikipedia articles on Primary and Foreign keys.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
javascript => JavaScript
JavaScript is spelled with a capital J and S.
|