-
Hi!
Any idea how to use ancestry and pg_search (https://github.com/Casecommons/pg_search)? I want to search on all parents.
``` ruby
# app/models/zone.rb
class Zone < ActiveRecord::Base
include P…
-
### Used Zammad Version
5.3 / stable
### Environment
- Installation method: any
- Operating system (if you're unsure: `cat /etc/os-release` ): any
- Database + version: pgsql 11.17 (most l…
-
- Learn how to structure processes as state machines
- Add an automatic audit trail to ActiveRecord models
-
When _both_ MySQL and Postgres ActiveRecord models are used, and when testing MySQL-backed code, Truncation strategy includes _BOTH_ ::DatabaseCleaner::ActiveRecord::MysqlAdapter and ::DatabaseCleaner…
-
The embedded workflow is set on the MiqRequestTask in `MiqProvisionRequestTemplate#service_options` called from `MiqProvisionRequestTemplate#create_tasks_for_service`
```
[----] D, [2024-07-12T13:16…
-
Hey, I'm having trouble with `good_migrations` in a migration where one of the classes has a polymorphic association. Just wondering if anyone has hit this issue before, or has any tips?
Here's a r…
-
We'd like to check multiple schemas in our DB. At present we are using the gem with great success in specs thus:
`output = ActiveRecordDoctor::Tasks::UnindexedForeignKeys.new.run`
However we can…
-
### Used Zammad Version
6.3
### Environment
- Installation method: any
- Operating system: any
- Database + version: any
- Elasticsearch version: any
### Actual behaviour
If the (de…
-
A request from a friend at work.
It'd be nice to be able to set a default scope in models like you can in ActiveRecord. http://api.rubyonrails.org/classes/ActiveRecord/Scoping/Default/ClassMethods.ht…
-
I have quiet fresh Rails project and I get many false positives when I run `bundle exec i18n-tasks unused`
e.g. I have `` in my application.html.erb and I get this key as unused for all languages.
I…