Marc Köhlbrugge
Marc Köhlbrugge
> There's a mechanism for this already somewhere in ActiveStorage, I remember seeing some logic like "was the picture analyzed yet? if not, do it right away." in the AS...
@ivanovaleksey I'm not sure how to access it. When I try to send a message it throws the exception I should be using the new chat ID. So my question...
**Update: Problem solved!** I had to add `render layout: false` to my Rails controller action. --- **Original question:** Did you ever figure this out? I'm running into the exact same...
I'm running into the same issue. Algolia tries to access my indexed attributes even when the record is invalid. This occasionally leads to similar problems as @micpringle described. It seems...
Okay, so I dug a little bit and it seems like something goes wrong when trying to view or change the settings. So I tried adding all the necessary ACLs...
Found this: https://github.com/algolia/algoliasearch-rails/blob/64b4f9ed338d9f9cc1ab873251a08561c6e03623/spec/integration_spec.rb#L15 Adding `symbolize_keys: false` to my configuration solved the above issue. I suggest this is added as a default setting, since it seems like the gem requires it....
**Update:** I still get the `This host is read-only (ie. this is a DSN), write operations are not accepted` error message. I thought setting `check_settings: false` solved it, but apparently...
```ruby AlgoliaSearch.client.instance_variable_get("@config").default_hosts.first.url => "MYAPPID-dsn.algolia.net" ``` Looks like it's using a DSN host by default. Those are indeed read-only. Any idea why it would use that?
I think I found a bug in the Ruby client. ```ruby # algolia-2.0.4/lib/algolia/http/http_requester.rb # Line 67 def connection(host) @connection ||= Faraday.new(build_url(host)) do |f| f.adapter @adapter.to_sym end end ``` At some...