Communication and coordination is probably one of the most difficult things mankind has come to grips with. If we had mastered this, a lot of the world’s problems would be done away with.
A code example on how to do this in ELM.
The task at hand: Instructions
I hope to go through one of these videos everyday, so I am aware of the tools that are out there in the Rails World. A very very brief synopsis will be provided. I make no claims as to the accuracy of what is contained here, nor its completeness. They are merely personal notes which happen to be published. Let’s see how long we can keep this up for!
What is the task at hand?
According to the pagy documentation:
Active Record has a functionality where you can cache the count of particular items. But it doesn’t do exactly what I want.
I happen to be running a search on ransack. I am utilising drop down menus in the search. In my particular case, we want to be searching for line items (a particular type of model, which have different types of states). I am using the AASM state machine gem to acheive this particular goal.