| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
It is to work that on `reconnect!` after `disconnect!`
|
| |
|
|\
| |
| |
| |
| | |
shailesh-kalamkar/fix-autosave-association-test-typo
Fix autosave_association_test.rb typo
|
|/ |
|
|\
| |
| | |
Update some more links to https
|
| | |
|
|\ \
| | |
| | | |
Update upsert_all documentation [ci skip]
|
|/ / |
|
|\ \
| |/
|/|
| |
| | |
Improve doc of automatic inverse_of detection
[ci skip]
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Update documentation on upsert_all so that it is correct for Postgres
[ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Details in https://github.com/rails/rails/issues/35519
In short, MySQL and Sqlite3 allow a record to be both inserted _and_ replaced in the same operation. Postgres (and the SQL-2003 rules for MERGE) do not.
Postgres's rationale seems to be that the operation would be nondeterministic.
I think it's OK for Rails users to have a different experience with this feature depending on their database; but I think you should be able to follow the examples in the docs on any database.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
abhaynikam/35492-follow-up-to-updates-links-to-https
Updated links from http to https in guides, docs, etc
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
[ci skip] Minor documentation fixes for consistency
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Minor documentation fixes related to bulk insert [ci skip]
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix parent class of model test example
* include ActiveJob::TestHelper
[ci skip]
|
|\ \ \
| | | |
| | | | |
Don't lock the webpacker gem by its patch version
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
parameter"
Ref: #35411
|
|\ \ \
| | | |
| | | | |
Use the latest stable release of webpacker
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | | |
Minor text changes to the db:seed:replant tests
|
|/ / / |
|
| | |
| | |
| | | |
Turbolinks replaces the CSP nonce <meta> tag on page change, but inline scripts inserted by UJS need the nonce from the initial page load. In general, it doesn't matter to UJS if the nonce changes after the page loads: only the initial value is relevant.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
iarobinson/iarobinson/remove_painfully_from_action_mailer_basics
Remove the word painfully from documentation
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Improve wording in cache documentation
|
| | |/
| |/| |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Allow autoloader inflectors to be swaped out
|
|/ / |
|
|\ \
| |/
|/| |
Add version awareness to rails db:system:change
|
| | |
|
|\ \
| |/
|/| |
Build assets automatically if necessary
|
|/
|
|
|
|
| |
In CI, these are unnecessary because done by preprocessing.
To test locally, you need to do it manually. If assets not exist, it will
fail when a run specific test, so force to build those only when necessary.
|
|\
| |
| | |
Update `multiline?` sample code [ci skip]
|
|/ |
|
|\
| |
| | |
Corrected execution result of Enumerable#sum [ci skip]
|
|/ |
|
|\
| |
| | |
Delegate `only` query method to relation as with `except`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I've found the skewness of delegation methods between `except` and
`only` in a88b6f2.
The `only` method is closely similar with `except` as `SpawnMethods`.
https://github.com/rails/rails/blob/e056b9bfb07c4eb3bcc6672d885aadd72bec574f/activerecord/lib/active_record/relation/spawn_methods.rb#L53-L67
It is preferable both behaves the same way.
|
|\ \
| | |
| | | |
Learn more about inflections[ci skip]
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Update racc to latest version
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
racc 1.4.15 includes fixes for compiling with Ruby 2.7 since
[ruby/ruby@3d1c86a](https://github.com/ruby/ruby/commit/3d1c86a).
Before:
```
ruby -v
ruby 2.7.0dev (2019-03-07 trunk 67189) [x86_64-linux]
bundle install
...
Fetching racc 1.4.14
Installing racc 1.4.14 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/racc-1.4.14/ext/racc
/home/u/.rbenv/versions/2.7.0-dev/bin/ruby -I
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/2.7.0 -r
./siteconf20190307-14242-16jzp6c.rb extconf.rb
checking for rb_ary_subseq()... yes
creating Makefile
current directory:
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/racc-1.4.14/ext/racc
make "DESTDIR=" clean
current directory:
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/racc-1.4.14/ext/racc
make "DESTDIR="
make: *** No rule to make target
'/home/u/.rbenv/versions/2.7.0-dev/include/ruby-2.7.0/defines.h', needed
by
'cparse.o'. Stop.
make failed, exit code 2
Gem files will remain installed in
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/gems/racc-1.4.14
for
inspection.
Results logged to
/home/u/.rbenv/versions/2.7.0-dev/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0-static/racc-1.4.14/gem_make.out
An error occurred while installing racc (1.4.14), and Bundler cannot
continue.
Make sure that `gem install racc -v '1.4.14' --source
'https://rubygems.org/'`
succeeds before bundling.
In Gemfile:
racc
```
|