Author: Witold Rugowski

  • ArgumentError: marshal data too short when loading session data

    I was stuck for a while when application maintained by me have started to throw ArgumentError: marshal data too short errors in random places When user have encountered that problem then it was unable to use application at all. Logs were showing that it happens when Rails was trying to create session object. Session store…

  • CHM should be in…

    Well… Long time… But finally a new post! If You have drank Linux KoolAid, then You can run on problems when You get some CHM file. It is old format and I think it has place where it can live (like many other proprietary data formats): But still, You can get documentation in such format,…

  • Thumbnails are missing when uploading new image

    Just a quick note – if You are experiencing missing thumbnails in image upload in WordPress, then probably Your PHP installation misses php-gd module. It is module by default installed on FreeBSD, but on Debian based Linux You have to add it by hand (apt-get install php5-gd). I had to move my blogs to new,…

  • Ruby for Startups

    I’ve found this interesting – a bunch of info from Mike Subelsky (creator of OtherInbox) how to use Ruby and Rails in challenging startup environment (each startup’s environment is challenging :)) ) Ruby For Startups View more presentations from subelsky.

  • Email verification – regexp

    Many times before when I was supposed to collect emails from users I was googling to find some regexp to verify email syntax. At least I was aware that regexp challenging email address syntax is a bullshit ;) I was working few years as Unix sysadmin mostly on mail servers, so I had some idea…