Breadcrumbs on Rails with Tailwind

I’m trying to write a custom builder to use with Breadcrumbs on Rails. I am using Tailwind for my styles but it doesn’t seem to play nicely with Rails-generated code. I have the following builder: class TailwindBreadcrumbsBuilder < BreadcrumbsOnRails::Breadcrumbs::Builder def render @context.content_tag(:nav, class: ‘flex py-3 px-5 text-slate-700 bg-slate-50 rounded-lg border border-slate-200’, aria: { label: ‘Breadcrumb’… Read More Breadcrumbs on Rails with Tailwind

Why isn't it showing all descendant categories in breadcrumbs?

When searching by product category, I need to display all of its parent categories. When there are multiple levels, it only displays two results. CREATE TABLE `category` ( `id` int NOT NULL, `parent_category_id` int, `name` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB; INSERT INTO `category` (`id`, `parent_category_id`, `name`) VALUES (1, NULL, ‘Male’),… Read More Why isn't it showing all descendant categories in breadcrumbs?