Kasper Stöckel

Results 13 issues of Kasper Stöckel

Using Octopus on a followers environment can produce Octopus::AssociationShardTracking::MismatchedShards with using `

Passing a query to a rule is already supported by `accessible_by` but not when checking on a single resource. This PR fixes that and adds specs for it. Example usage:...

### Steps to reproduce I have used this gem: mysql-binuuid-rails I have a CanCan rule like this: ```ruby can ADMIN_ABILITIES, Profile, account: {account_users: {role: "administrator", user_id: current_user.id}} if signed_in? ```...

need help

I use Ransack like this: ```ruby Contact.ransack(organization_commune_id_or_person_school_commune_id_eq_any: [id_of_school]) ``` In the gem version from January the generated query looks like this (and works): ``` SELECT "contacts"."contact_type", "contacts"."deleted_at", "contacts"."id", "contacts"."name", "contacts"."organization_id",...

```ruby [18] pry(main)> Contact.ransack(g: [{c: [{a: [{name: "name"}], v: [{value: "Kasper"}], p: "cont"}], m: "and"}]).result.to_sql => "SELECT \"contacts\".* FROM \"contacts\"" ``` ```ruby [17] pry(main)> Contact.ransack(g: [{c: [{a: {"0"=>{name: "name"}}, v:...

tests wanted

Closes #39 I have implemented two options to fix the wildcard domain issue: 1. The Rake task chooses a domain that isn't a wildcard 2. You can supply the domain...

I have tried to let a user join a stream mid-stream by saving the initial headers and then waiting for the next chunk to come up, but I can't make...

Pages could not be found, if Spree wasn't mounted at root "/". Fixed this by making a new scope, that removes the mounted path from the request path, and then...

2-x-stable
need-specs