| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
From Ruby ( 2.3.0dev trunk 52520), `Hash#to_proc` is defined
(https://github.com/ruby/ruby/commit/fbe967ec02cb65a7efa3fb8f3d747cf6f620dde1),
and many tests have been failed with
`ArgumentError: wrong number of arguments (given 0, expected 1)`.
Because we call `Hash#to_proc` with no args in `#merge!`.
This commit changes order of conditionals to not call `Hash#to_proc`.
|
|\
| |
| | |
fast and consistent return when local_cache does not exist
|
| | |
|
|\ \
| | |
| | | |
Add days_in_year method to Time class
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
Fix week_field returning invalid value
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
According to the W3 spec[1] the value should use a 1-based index
and not a 0-based index for the week number.
[1]: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
|
|\ \ \
| |/ /
|/| | |
Minor fix in Module#mattr_reader documentation
|
|/ / |
|
|\ \
| | |
| | | |
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]
|