Author: ThomasPowell

  • Bootstrap 3 radio-inline and checkbox-inline elements running together.

    I was having issues with Bootstrap 3 radio buttons running together even though the labels had a “radio-inline” attribute. After examining the layout of the html being generated, I realized that each individual label and radio button was being wrapped in its own containing element (in this case, a “td” element.) The reason for this is the…

  • The “Satirical News” Sites Need to Stop

    The Onion has always been entertaining because it either operated at a very generic level or a very absurd level. While The Onion could be mistaken for real news, it was often involving a person that didn’t exist, a generic group of people, or things so absurd that no reasonable person could believe them to be real.…

  • Hooking in an LDAP Test Server to Cucumber Tests

    I managed to get a custom Devise strategy with LDAP working, but had no clear way of automating tests. I wanted to validate if I still had to keep the password fresh in the database, and needed to be able to write scenarios around that in case someone attempted to refactor out the code. After…