So last week I declared the next year, my year of the ruby, and I haven’t been sitting on my haunches either. I went head first into the murky world of rails 3 beta 1 with all the intentions of using it exclusively from now on for development. But things change, and I have to [...]
Archives for Ruby
The Year of the Ruby
1st March, 2010, Hamburg, Germany.
So, I have decided to take upon myself a year of bettering myself somehow with regards to ruby and rails. So each day of the week, until 28th February 2011, I will spend at least 1 hour (or at least that is the plan) to do something. Whether that be to [...]
Hold the phone
Okay I have just realised something, I can just test use bacon along with rack-test to test rails applications using bacon. So scrap what I said yesterday. Now we will go with this
Bacon
Rack-test
Mocha
I think it is a good idea to write tests at the rack level. It means that your tests, and your testing skills [...]
Can we do it? Yes we CanCan
So, I just watched the latest screen cast from Ryan Bates of railscasts.com fame, on a plugin that he has written called canan. It is an authorization plugin and he wrote it in response to a plugin that he had previously reviewed called declarative authorization, which he thought (and I agree) is too heavy weight [...]
Testing another testing stack
Okay I have decided that I will test out using this testing stack on everything that I work on, so that I can become really excellent with this combination.
The stack is
TestUnit (An oldie but a goodie)
Shoulda
Mocha
Matchy
And that is it, hopefully these should keep the tests clean, manageable and easy to read.
I will also be using [...]
Ramaze
I have decided to go back to writing all my personal projects in Ramaze. The only reason being I feel I need to broaden my knowledge horizon, and I feel it is the most complete and stable alternative ruby framework out there. I also see it having longevity. I am also quite impatient with waiting [...]
My Rails Lasagna
With over two years worth of rails development under my belt something happened to me the other day. Something clicked, and not only was I a professional Ruby on Rails developer by way of my job, but I also became a professional Ruby on Rails developer by way of my state of mind.
Let me explain [...]
Rumbling on Rails
This past weekend, me and a couple of the guys that I work with participated in the rails rumble.
48 hours to build an application in rails from scratch.
Very good experience, not much more to say about it. Here is our effort. If you are a twitter user/fan or even if you are not, you might [...]
To Puppet or to Chef, that is the Question
I have taken a break from coding ruby and rails for a couple of weeks to try and get my company’s administration is order. To do this I have been using the sysadmins automation tool called puppet, which is written in ruby, but uses an external DSL, meaning that you don’t get all the power [...]
Passenger For Nginx
Phusion Passenger, the application server that makes deploying ruby web apps on apache so easy, has now been ported to nginx, my web-server of choice.
And me being me, I have already switched all the ruby web apps I host over to using the passenger module in nginx. Which means that, no longer do I have [...]