-
\yii\db\Command has very usefull method "upsert", but ActiceRecord has no same feature.
In some situation, when additing full set of attributes in model, for example upon importing data, the typica…
-
Problem statement: Cannot run `sameersbn/redmine:5.1.2-1` against an existing Postgres (10) database without permission to create databases.
Versions:
* `sameersbn/redmine:5.1.2-1`
* Posgres 10
…
-
### Steps to reproduce
Updating records through nested attributes behaves differently than updating records directly if they have validations that are set to run on update only.
```ruby
require…
-
been wanting to report on this one for a bit now - here goes:
I have a routine which I foresee will get hit quite a lot thus I push it into a background job. When I call it - I somewhat anticipated…
-
This would definitely require some breaking changes in Controller behavior. Essentially, one would need more than the ID of the resource in order to query the proper table in https://github.com/samve…
-
In my database I have a store, each store has_many locations, and each location has_many assets. I'm needing to use a context filter based on the current_user's store id, which I have working in more …
-
### Summary
The remaining methods to be implemented are as follows
```
- [x] ActiveRecord::Core
- [x] ActiveRecord::Persistence
- [ ] ActiveRecord::ReadonlyAttributes
- [ ] ActiveRecord::Mod…
-
### Steps to reproduce
- Create a model with similar named attributes
```bash
bin/rails g model User first_name last_name email other_first_name
bin/rails db:migrate
```
- Encrypt one attr…
-
When using MS SQL Server with a named instance as database server, connecting via port `1433` does not work, because named instances run on different ports. By default, these run on random high ports …
-
### Steps to reproduce
Uniqueness validation prevents deleting an existing record and creating a new one in a single update when using nested attributes. This looks to be similar to [#20676](https:…