masukomi, to ruby
@masukomi@connectified.com avatar

Just a General FYI for users of
I believe there is a bug in Mongoid 4.15 that breaks expectations of querying has_and_belongs_to_many relationships. Ticket here:

https://jira.mongodb.org/browse/MONGOID-5679

masukomi, to random
@masukomi@connectified.com avatar

I spent most of yesterday trying to fix the mongoid support in meilisearch-rails. After spending nearly a day with it i'd still barely wrapped my head around all the complexity. Lots of ong complicated untested methods.

Just before going to bed my brain realized "this is just a really complicated implementation of a simple wrapper"

1/?

masukomi,
@masukomi@connectified.com avatar

This morning, after walking the dogs, I cranked out a little under 200 lines of code that implements basically all of it in a bunch of small, testable, easy to reason about methods.

Haven't written tests yet, but this afternoon I actually used the new lib and have working, configurable, easy to use, integration for backed models.

2/?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • thenastyranch
  • ethstaker
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • tacticalgear
  • anitta
  • kavyap
  • tester
  • cubers
  • cisconetworking
  • ngwrru68w68
  • khanakhh
  • normalnudes
  • provamag3
  • Leos
  • modclub
  • osvaldo12
  • megavids
  • lostlight
  • All magazines