pruzicka

Results 15 comments of pruzicka

...OK, so I've got it. student.update interests: {"b945c0efaa" => true} That is in full glory Mailchimp.connect.lists('list_id').members('some_email').update interests: {"b945c0efaa" => true} Thanks

Interesting. So that would add multiple ids, as array, to hidden field?

I like it. I don't use this controller right now in a way that I would utilize it right away but may be somebody would. Tagging is good example.

> hi, @kstratis, @pruzicka ! Any updates on it? Not from me mate, I've said I like it.

I don't believe it's possible to do something like this now. There was some work here #86, but again I don't think it's possible now to share objects between tenants.

> Thanks @pruzicka – that definitely points me in the right direction. My platform allows users to see only their own posts, but I wanted to add the ability for...

> > > Thanks @pruzicka – that definitely points me in the right direction. My platform allows users to see only their own posts, but I wanted to add the...

Interesting. So Organization is tenant and Exercise class has `acts_as_tenant(organization, has_global_records: true, optional: true)` `class Organization < ApplicationRecord` `has_many :exercises` `def number_of_exercises` ` exercises.size` ` end` `end` When I call...

> Thanks! I wonder if it's the optional true + has global records. Well, no. ``acts_as_tenant(:organization, has_global_records: true)`` produces exactly same warning :(. ... and how else would you produce...

I have exactly the same gems as you do (rails 6.1.3.1 now) different setup for tenant though, one DB - zero problems.