| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Fix remove_index for postgresql when running legacy migrations
|
| | |
|
|\ \
| |/
|/|
| |
| | |
lsylvester/activemodel-depends-on-builder-but-doesnt-use-it
remove activemodel dependency on builder
|
|/ |
|
|\
| |
| |
| |
| | |
y-yagi/make_generated_controller_test_file_work_correctly
make generated controller test work correctly
|
| |
| |
| |
| |
| |
| |
| | |
Since the `#file_name` that not consideration for the namespace, if generate a controller with a namespace,
not the correct url helper generation, it had become an error to run the test.
Modified to generate the correct url helper, even if it is produced a namespace with controller.
|
|\ \
| | |
| | | |
Autoload ReferenceDefinition class in abstract adapter so that it can be used by #add_reference in schema_statements
|
| | |
| | |
| | |
| | |
| | |
| | | |
used by #add_reference in schema_statements
- Fixes #22916.
|
|\ \ \
| | | |
| | | |
| | | | |
Add short-hand methods for text and blob types in MySQL
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In Pg and Sqlite3, `:text` and `:binary` have variable unlimited length.
But in MySQL, these have limited length for each types (ref #21591, #21619).
This change adds short-hand methods for each text and blob types.
Example:
create_table :foos do |t|
t.tinyblob :tiny_blob
t.mediumblob :medium_blob
t.longblob :long_blob
t.tinytext :tiny_text
t.mediumtext :medium_text
t.longtext :long_text
end
|
|\ \ \
| | | |
| | | | |
Per-form CSRF tokens
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Provide a better error message if a user mistypes the name of script …
|
|/ / / /
| | | |
| | | |
| | | | |
Add tests for detecting bad options for runner
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While the type definition is in Active Model the change of behavior will
be only user facing in Active Record so better to put the entry in its
changelog.
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Take UTC offset into account when assigning string value to time attributes.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix `connection#create` in PG adapter
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Originally `connection#create` had aliased to `connection#insert` in PG
adapter. But it was broken by #7447. Re-alias `create` to `insert` for
fixing it.
|
| | | | | | |
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes the case when you try to render an html you know safe and the
file is named something.html. With this commit the content of the html
won't be escaped anymore because AV won't use Raw handler and choose
Html handler instead.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Update doc/resource link removed by #21211
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
[ci skip] Add job suffix to sample's job file name
|
|/ / / / |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
Fix `unsigned?` and `blob_or_text_column` for Enum columns in MySQL
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add ActionController:Renderers test
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
To complement actionpack/test/controller/metal/renderers_test.rb
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
activerecord: allocate fewer objects
|
| | | | | |
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix user name in doc [ci skip]
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Allow add_to_transaction with null transaction
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes https://github.com/rails/rails/issues/22819
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
stevenspiel/titleize_model_name_for_default_submit_button_value
titleize the model name on default submit buttons
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Replace x.times.map{} with Array.new(x){} in AD::Journey::Path::Pattern
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The former is slightly more readable, performant and has fewer method calls.
```ruby
Benchmark.ips do |x|
x.report('times.map') { 5.times.map{} }
x.report('Array.new') { Array.new(5){} }
x.compare!
end
__END__
Calculating -------------------------------------
times.map 21.188k i/100ms
Array.new 30.449k i/100ms
-------------------------------------------------
times.map 311.613k (± 3.5%) i/s - 1.568M
Array.new 590.374k (± 1.2%) i/s - 2.954M
Comparison:
Array.new: 590373.6 i/s
times.map: 311612.8 i/s - 1.89x slower
```
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Fix typo in test description
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Updated Gemfile.lock with latest change related to sucker_punch dependency
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Followup of https://github.com/rails/rails/commit/bc194937ad6c1fa12bca73cfc05de39a97ba783d.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
move CHANGELOG entry to the appropriate position [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
petabyte and exabyte numeric conversion has been added after the 5.0.0.beta1 release.
ref: 85048e90ab6ff6963919a9d10493b3910cd67b68
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove FIXME comments about the `Arel::Nodes::Quoted` [ci skip]
|