Quick fix for strange Ruby errors

Well, maybe not fix but tip how to find some clues what next. on CC license When You encounter strange errors like terminate called after throwing an instance of ‘int’ this is probably something with roots down into Ruby executable or some binary library (and ruby binary dump – ruby.core file in current directory). AFAIK …

Uploading photos to Facebook with RFacebook

I’m quite busy recently, and as result I write posts on my blogs with smaller frequency as I usually did… But there are few interesting topics I want to write about. First – RFacebook and photos upload. I’m using RFacebook gem to handle calls to Facebook API. But recently I found out, that probably there …

Shuffling RubyGems versions

I do some Facebook work for my customer, and when I checked out current source into my dev environment, application didn’t want to work :) Basically Facebook related code did not initialized properly. I was curious what is causing it and finally gave up (RFacebook plugin upgrade did the job), but it seemed that it …

How to write DSL (with Acts As Tree in background)

Acts As Tree is useful plugin providing abstract layer for Your models to form tree structures. I was using it recently to store some document structures in DB. Plugin works as a charm and there is not too much to write about. Just follow README ;) But I needed to create documents somehow, and provide …