Jan Berdajs

Results 60 issues of Jan Berdajs

I get the wrong result with the following string str = "[1] pry(main)> (p = \u001B[1;34m\u001B[4mPost\u001B[0m.find(\u001B[32m\u001B[1;32m\"\u001B[0m\u001B[32mlala\u001B[1;32m\"\u001B[0m\u001B[32m\u001B[0m))&&\u001B[1;36mnil\u001B[0m\n" The text is: pry(main)> (p = Post.find("lala"))&&nil As you can see before "))&&" there...

Is there a good way to enable JS clients to publish directly to faye (like you can do with FayeClient.publish("/channel", message))? I don't like the idea that I need 2...

It seems unsubscribe functionality is missing. "sign"-ing twice to the same channel makes duplicate messages.

To me this seems not to break anything and fixes #569 Please note I did not update existing specs that explicitly test that translations have been created on read, which...

Let's say the Translation model includes acts_as_paranoid. Typical Rails `Base.all.joins(:translations)` will correctly have `INNER JOIN ... ON ... ."deleted_at" IS NULL` However, the scopes/queries generated by Mobility will not include...

table_backend

I am using fallbacks. One of my locales is "en-GB", and I think the I18n fallbacks defaults to "en" as a fallback. However this bug exists also without fallbacks, it's...

There seems to be an issue with attr readers in some configuration of model after_create/save hooks. See also original issue https://github.com/mrbrdo/spree_mobility/issues/6 Code triggering the issue (in Spree project if you...

…T it would return duplicate products with multiple variants (with different prices) Current implementation produces duplicate results when ordering search results by price. When products have multiple variants.

There are several issues regarding this, see the individual commits. This also makes legacy frontend work correctly: - when order is created, the billing/shipping address will correctly be assigned to...