Robin Bortlík

Results 14 comments of Robin Bortlík

Finally I went for custom solution. I implemented simple content_type validator like this ``` ruby class ContentTypeValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) if value.present? && !allowed_content_types.include?(value.content_type) record.errors.add(attribute, :invalid) end...

Hi @jsantos , I haven't been maintaining this gem for a while. So not sure, what changed in the Rails world from that time. But may I ask you, what...

Ok, let me know if you find something.

Hi, in this case, just try to delete `Gemfile.lock` file and run `bundle install` again. It should update the gem versions.

What is the exact problem? Is it Timeout Error? Would you like to export only what you see in the table?

Are you sure, that database run on same port as you configured in DB explorer?

Try to put there same config as you have in your database.yml

Hi @ohenrik can you please paste a validation code from you model and some example of records, so I can simulate this situation?

@ohenrik it would be awesome. So I will wait.

Hi @ohenrik , did you do any progress with this issue? I'm afraid that what you found is not a bug, but a feature ;) I mean, if one record...