| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Update `working with javascript` readme to support rails-ujs behaviour. [ci skip]
|
| | |
|
|\ \
| | |
| | | |
Allow `uuid_test.rb` to be loaded on all adapters
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Running `bin/test` from the activerecord directory produces this error:
test/cases/adapters/postgresql/uuid_test.rb:43:in `<class:PostgresqlUUIDTest>': undefined method `supports_pgcrypto_uuid?' for #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fc405e72a68> (NoMethodError)
The test only actually runs on the PostgreSQL adapter; we can avoid
triggering the error on other adapters with this `respond_to?` guard.
|
|\ \ \
| | | |
| | | | |
Prevent extra `sync_with_transaction_state`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
`sync_with_transaction_state` in `to_key` is unneeded because `id` also
does.
|
|\ \ \ \
| |/ / /
|/| | | |
Allow translate default option to accept an array similar to i18n.t
|
| | | |
| | | |
| | | |
| | | | |
#29441
|
|\ \ \ \
| | | | |
| | | | | |
Avoid overwriting the methods of `AttributeMethods::PrimaryKey`
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently the methods of `AttributeMethods::PrimaryKey` are overwritten
by `define_attribute_methods`. It will be broken if a table that
customized primary key has non primary key id column.
It should not be overwritten if a table has any primary key.
Fixes #29350.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
bogdanvlviv/use-require_relative-instead-of_require-with-full-path
Use `require_relative` instead of `require` with full path
|
|/ / / / / |
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Add test for backward compatibility when using change_table
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | | |
Fix formatting of AD::FileHandler and AD::Static doc [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Add note to Railtie docs to use unique filenames
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The fact that the names need to be globally unique was not obvious to me, so I
thought it'd be worth documenting. This not being clear was the cause of both
ctran/annotate_models#468 and instructure/outrigger#1.
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Drop IRB out of the web-console Gemfile comment
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We don't provide exactly the same experience as IRB does, so let's not
advertize it like that. We can say that it's an interactive console,
without further references. I have also followed byebug's comment and
changed the calling `console` part. Hopefully, this can hint that the
invocation is not view specific and you can use it like the debugger
statement.
[ci skip]
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix `Message::Encryptor` default cipher [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Follow up of #29263
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ Assain Jaleel & Kasper Timm Hansen ]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Default Message Encryptor Cipher to AES-256-GCM From AES-256-CBC
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Introduce a method to select default cipher, and maintain backward compatibility
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Generate field ids in `collection_check_boxes` and `collection_radio_buttons`
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This makes sure that the labels are linked up with the fields.
Fixes #29014
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Document Module#delegate_missing_to in the guides [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Added a small section for it in the `Active Support Core Extensions`
guide. [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix the mistake of not using Ruby's ENV hash from the get go and get
windows support.
|
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
No need to pass `#cleanup` options through to `LocalCache#clear`.
Fixes #29081. References #25628.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
See https://github.com/rails/rails/issues/29067#issuecomment-301342084
for rationale.
This reverts commit b76f82d714e590c20370e72fa36fa574c4f17650.
Fixes #29067. Fixes #29081.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Remove `null_allowed` option from doc [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
This option was added in b9fa354. But it does not seem to work.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Split up the caching tests as prep for adding a new cache store. Slices
the mega test/caching_test.rb into behavior modules, concrete store
tests, and cross-cutting store tests.
Considering moving cache store behavior modules into lib/ so they may be
used for acceptance testing by third parties.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Add backquote to :counter_cache option
|
|/ / / / / |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Ensure MSSQL password uses real ENV var.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Fix another link in active_record_postgresql.md
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix link in active_record_postgresql.md [ci skip]
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
remove the extra comma in association_basics.md [ci skip]
|
|/ / / / / / |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
That won't be true for Action Pack and Action Mailer.
|