Rake is beautiful tool, helping automate many tasks using Ruby. When You want to pass some arguments You can add VAR=value on command line and then in task use ENV[‘VAR’] to access passed value. But it is not what You alway want. Sometimes You want more compact and clean way to pass arguments. Starting with …
Category Archives: tips
NetBeans, Subversion, SSH and Windows
I have wasted a lot time to fight simple issue. I need to use Subversion on svn+ssh protocol with NetBeans. I was using NB Subversion FAQ, and could not get it up and running. On Windows there is de facato standard of SSH client – it is PuTTY. I was using plink to provide access …
When timeout hit You with Amazon SQS on FreeBSD/VMWare
I become fan of Amazon’s SQS and ActiveMessaging plugin recently. Great technology, make separating user interface and time consuming operations super easy. I will write about my experiences more, but now simple tip if You are running development environment on FreeBSD inside VMWare. Often when doing publish to some queue I got timeout, which results …
Continue reading “When timeout hit You with Amazon SQS on FreeBSD/VMWare”
Rails filters
For those who have missed it, since Rails 2.0 just returning false does not break filter chain (read – action gets executed). Filter chain is broken only when filter render something or redirects. Just short reminder :)