Results 11 comments of Mikias Abera

Fantastic tutorial, you really simplified the process especially with the gh-commentify app. Thanks!

> I tried embedding the JS file this way: `var scriptURL = 'https://gist.githubusercontent.com/feltoar/14125f1138fc44deb4217fc416c3a35d/raw/5c19af4d2d9dc1d267a41141555583fe38e2f46b/buy-now-button.js;'` > And keep receiving this error: "ShopifyBuy.UI.onReady is not a function." > > How did you store...

@feltoar Thanks a lot for sharing your solution! It works well for me except the `{{#data.customAttributes}}` loop isn't showing anything in the lineItem template. Does it work for you?

Thanks for the reply, it turns out my issue was just a typo in my loop so I should have done more to troubleshoot before asking. I agree with you,...

I agree the operators are cryptic, and I like the `has` operation, it reads nice. I'll see if I can get time this weekend to start on this because I...

I just realized that I used an `Int64` in the `belongs_to` method which breaks associations that use `Int32` for ids. https://github.com/luckyframework/lucky_migrator/blob/133d3320178e435bb942c5f7b34b3a2183840bc3/src/lucky_migrator/create_table_statement.cr#L111 I have no clue what I was thinking when...

I agree the long number is confusing but I think your other alternative has too many underscores. What about only splitting the date and time like 20180612_204856_my_migration?

yeah I see, something like this 2018_06_12_204856_my_migration?

I actually implemented this in one of my projects, I'll post the code here for reference. It was adapted from [the shuber.io link](http://shuber.io/porting-activerecord-counter-cache-behavior-to-postgres/) to handle polymorphic associations. I declared the...

Are you looking for something like this? ```crystal require "./spec_helper.cr" class AddCounterCacheOnUserComments::V001 < LuckyMigrator::Migration::V1 def migrate create_counter_cache count: :comments, with: :user_id, stored_in_table: :users, stored_in_column: :comments_count, name: :cc_users_comments_count end def rollback...