| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
required
|
|
|
|
|
|
|
|
| |
AM::Serialization#serializable_hash"
This reverts commit 3d949f34816d6eca0a6b59cfa08d91f36e8e64dd.
This was already documented in other PR.
|
|\
| |
| | |
Another use block variable instead of global
|
|/ |
|
| |
|
|\
| |
| | |
Remove NOTE related to format.js [ci skip]
|
|/
|
|
|
| |
- The example for which this NOTE was written was removed in
https://github.com/rails/rails/pull/20493.
|
|\
| |
| | |
Removed AJAX example with poor convention adherence
|
|/
|
| |
The removed section promotes putting JS code directly inside the controller, this is not in line with convention.
|
|\
| |
| | |
Fix crash when loading fixture with belongs_to association defined in abstract base class
|
| |
| |
| |
| | |
abstract base class.
|
|\ \
| | |
| | | |
update Rails Command Line guide page
|
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Fix typo in AM I18n validation test name
|
| | | |
|
|\ \ \
| | | |
| | | | |
Use block variable instead of global
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
```ruby
Benchmark.ips do |x|
x.report("$&") {
"foo".gsub(/f/) { $&.hex }
}
x.report("block var") {
"foo".gsub(/f/) { |match| match.hex }
}
end
```
```
Calculating -------------------------------------
$& 23.271k i/100ms
block var 24.804k i/100ms
-------------------------------------------------
$& 321.981k (± 7.4%) i/s - 1.606M
block var 324.949k (± 9.2%) i/s - 1.612M
```
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
matches? should only deal with methods on the request object, so lets
just filter out anything that the request object doesn't respond to
|
|/ /
| |
| |
| |
| | |
this way we can remove the strange "respond_to?" conditional in the
`matches?` loop
|
|\ \
| | |
| | | |
add option to avoid generating scaffold.css
|
|/ / |
|
|\ \
| | |
| | | |
Raise an ArgumentError when `include_blank` is false for a required select field
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`Tags::Base#select_content_tag`.
Previously, passing a falsey value to `include_blank` would be ignored if the
field was required, and a blank line would still be inserted. The following will
now raise instead of quietly failing:
`select("post", "category", %w(a required field), { include_blank: false }, required: 'required')`
|
|\ \
| | |
| | | |
[ci skip] Fix hours to minutes in `select_minute`
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
vngrs/add_missing_docs_for_action_dispatch_session
Add missing documentation for ActionDispatch::Request::Session [ci skip]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
fix docs for Engines [ci skip]
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Improve Test Runner's Minitest integration.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This also adds free mix and matching of directories, files and lines filters.
Like so:
bin/rails test models/post_test.rb test/integration models/person_test.rb:26
You can also mix in a traditional Minitest filter:
bin/rails test test/integration -n /check_it_out/
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix core_text -> core_ext
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Code fix in CHANGELOG
|
|/ / / / / /
| | | | | |
| | | | | | |
:nail: remove extraneous bracket
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Stop `to_s(:db)` for fixture's timestamp
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Time instance will be casted so we don't have to do `to_s(:db)`.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
add `instantiation.active_record` hook to instrumentation guide [ci skip]
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | | |
the hook was added in 2a0d97bc89fc230241453cbbf55621309e1f3ac6
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Add missing NOTE for Time extensions' location
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Return a `Point` object from the PG Point type
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This introduces a deprecation cycle to change the behavior of the
default point type in the PostgreSQL adapter. The old behavior will
continue to be available for the immediate future as `:legacy_point`.
The current behavior of returning an `Array` causes several problems,
the most significant of which is that we cannot differentiate between an
array of points, and a point itself in the case of a column with the
`point[]` type.
The attributes API gives us a reasonable way to have a proper
deprecation cycle for this change, so let's take advantage of it. If we
like this change, we can also add proper support for the other geometric
types (line, lseg, box, path, polygon, and circle), all of which are
just aliases for string today.
Fixes #20441
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Removed mocha stubbing in active_support
|
| | |/ / / / /
| |/| | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
add docs to include option at ActiveModel::Serialization [ci skip]
|