Fantastic content. This goes MUCH farther than many of the other rails youtube channels!
@beyazbn11 күн бұрын
You've been dropping awesome contents. Thanks Mate.
@kengreeff11 күн бұрын
Thanks for the support! Really appreciate it
@prashlovessamosa12 күн бұрын
thanks
@ledockol3 күн бұрын
Great video! One suggestion: consider adding fuzzy (lenient) typo correction by incorporating trigram search. PgSearch allows combining multiple search methods, so you could add a trigram parameter alongside tsearch. For example: tsearch: { dictionary: "english", prefix: true, # enables matching on word beginnings any_word: true # allows matching any word in the query }, trigram: { threshold: 0.3 # fuzzy matching threshold (default is 0.3) } Using prefix: true helps match incomplete words, while any_word: true broadens the search by matching any word in the query, both of which can improve user experience in cases of typos. Thanks for the useful material!
@kengreeff11 сағат бұрын
thank you! will give this a shot, very much a noob when it comes to PGSearch!
@dev-j8q11 күн бұрын
@ledockol3 күн бұрын
Hey! Just wanted to let you know that your first migration AddTsearchIndexToListings didn’t run because there’s a small mistake: the change method is nested inside another change method. Removing the nested change or renaming it should fix the issue and allow Rails to apply the migration properly. Good luck!