Piotr Szal

Results 13 issues of Piotr Szal

We have a model like this ```ruby class Consumer < ApplicationRecord has_many :offers, dependent: :destroy end class Offer < ApplicationRecord has_many :incidents, dependent: :destroy end ``` When we try to...

Hello, a marketing tracking js library is override the global s variable from underscore.string in my app. May I change the naming of the global variable to something else?

### Environment Provide at least: * Ruby 2.6 * Symmetric Encryption Version -> 4.3.2 * Rails 6 ### Expected Behavior When I define an attribute in the model to be...

Question

**Describe the bug** In a ActiveRecord transaction a transition is changed from object x. When the transaction gets an Error because of concurrency from the Database, then Rails try to...

Hello, I try to remove a uniq index: `add_index :foo, :foo_token unique: true` with `remove_index :foo, name: :foo_token` and I get ``` -- remove_index(:foo, {:name=>:foo_token}) /usr/local/bundle/gems/prometheus_exporter-2.0.8/lib/prometheus_exporter/instrumentation/method_profiler.rb:97:in `exec': PG::DependentObjectsStillExist: ERROR: index...

Hello, when I add a `collation` with an extension to a migration it does not appear in the `schema.rb`. https://edgeguides.rubyonrails.org/active_record_migrations.html#column-modifiers For example: `add_column :careflex_employees, :last_name, :string, collation: 'de-u-ks-level2'`, then the...

Hallo, I have not much informations, but maybe you see something I miss. We have a transaction where we save 7 objects in different tables. On our staging/production system sometimes...

Hello, it is not possible to remove an index with rails commands, when there are two indexes in different tables with the same name. `remove_index :foo, name: :bar_index` Then the...

Hello, I work with this gem sind over a year and it works great. But after I updated Savon from 2.12.1 to 2.13.1, it is not working anymore. I got...

Hello, is there a Guide how to write spec tests? We have enabled Bullet.raise in our specs. Now when we load an object with associations, bullet tells us to includes([:foo])...

stale