…and there was light

This is always the content of my ruby console.

It’s quite small but the errors were pretty the same. It seemed easy and simple but yes this is and was the error I’ve been trying to debug for I think a week and a half. But this week, I saw some light in what I was testing. The series of errors that occurred on my project pushed me to ask some help from my boss. So for the past three days, he was with me helping me to debug my code.


During the first day our guess was the sample controller that I was using as my basis was not done in rspec that’s why some functions are not properly executed. So I revised my code into the one that uses the same framework. Then next day, I thought that the errors were from the Aptana and Rails that I was using. That these were not updated that’s why some functions (specifically the controller_name :tablename) are not running the way it should. Then the next day after correcting my code’s methods and functions, still errors occur and this time, after a series of researches and debugging sessions we came up to one conclusion. We thought that it was because of some lacking plug-ins in my installed InstantRails (which was partially a correct hypothesis) and the Aptana particularly the RadRails I was using overwrites the plugins in my rspec which was not supposed to be happening. For us this was one of the reasons why my controllers were not working and honestly this discovery gave me a chance, a hope that somehow I can get this task done (even for the last remaining days of my ojt).

Leave a Reply

You must be logged in to post a comment.