mikeymicrophone / commissulator

Commissulator is a set of tools that help Real Estate Agents working with Citi Pads in Manhattan streamline their paperwork.
Other
3 stars 4 forks source link

Caching of Commissions index #5

Open mikeymicrophone opened 5 years ago

mikeymicrophone commented 5 years ago

Implement fragment caching for the various commission objects shown on the commissions index. The dataset might change because of sorting and filtering. The HTML should be reused until the individual commission is updated.

mikeymicrophone commented 5 years ago

This is the cache technology anticipated. https://guides.rubyonrails.org/caching_with_rails.html#fragment-caching

This is the template where fragments will be rendered. https://github.com/mikeymicrophone/commissulator/blob/master/app/views/commissions/index.html.erb#L30-L32

This is the helper defining the cluster of HTML elements that will render each fragment. https://github.com/mikeymicrophone/commissulator/blob/master/app/helpers/commissions_helper.rb#L13-L49

mikeymicrophone commented 5 years ago

This is my first time using Rails caching (I am very excited) so fill me in on what services need to be provisioned to support it. I presume Heroku Redis will be basically all that's needed but I'm eager to do this in the smartest manner available.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.025 ETH (5.11 USD @ $204.49/ETH) attached to it.

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 years, 7 months ago. Please review their action plans below:

1) johncena0005 has started work.

i need money to steam plzz give me money 2) pereiray-ryan has started work.

create a temp variable and store the variable into temp, trying if that works

Learn more on the Gitcoin Issue Details page.