How to Install ruby-rack-pjax in Ubuntu 18.04



Install ruby-rack-pjax by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-rack-pjax

Description:

serve pjax responses through rack middleware

Rack-pjax is middleware that lets you serve 'chrome-less' pages in response to pjax-requests. . It does this by stripping the generated body; only the title and inner-html of the pjax-container are sent to the client. . While this won't save you any time rendering the page, it gives you more flexibility where and how to define the pjax-container.

Homepage: https://github.com/eval/rack-pjax

Version: 0.7.0-2

Section: universe/ruby