Ransack - How to Preserve Drop Down Menus After A Ransack Search

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.

Read More

Security Vulnerability in the Bootstrap Gem

Here is the relevant GitHub issue. They were so sneaky. The posted a ruby gem, but with some sneaky additions. This was not posted on Github. They were hoping that nobody would notice. But someone did. In order to pull this off, you’d have to be a fairly sophisticated rubyist, with a good understanding of rack, and some basic security knowledge exploits. They must have some time on their hands to pursue such nefarious ends.

Read More