Validate a checkbox in Rails

If you have to validate a checkbox in your frontend that is part of your model (e.g. acceptregulation) the following snippet works like charm.


Display html in Rails form from l18n/translations

To display html without html encoding you have to use the .html_safe method for the translation:




Synology DSvideo, DSaudio, Netflix and radio on the same device

Netflix started offering its service to mainland Europe in February this year. It was something I had been waiting for a long time. But for my living room it meant that I could no longer use my rather old ZBox running OpenElec. I tested 4 devices (Amazon Fire TV, Raspberry Pi with Kodi and Android MiiPC) for my living until I found an unexpected flexible yet extremely cheap solution for all my problems: Android TV BOX AmlogicS805 Quad Core on aliexpress. Continue reading

Unable to require openssl, install OpenSSL and rebuild ruby … on Ubuntu 14 LTS

I followed the steps from to install ruby but ran into this error:

Continue reading

Titanfall PC player base random Thursday February 2015

I have to say I bought into all the hype that was surrounding Titanfall in 2014. I was so over-hyped that the game could never live up to it. After playing about 8 hours in March 2014 I put the game down. It could not deliver all the nonstop fun action. It was just a decent shooter with giant robots that make giant targets for the rest of the players. Matches also tended to be too one-sided. You either ripped the other team apart easily or your were shot constantly. So I went back to my usual CS:GO and UrT recreation. Continue reading