by fadhli
on 27. Jun, 2008
in Ruby
Pheww.. all test pass after the latest ruby package updates from the ubuntu team. I was a little worried reading the comments from the official Rails site. From the comments, a lot of people are experiencing problems after using the patch provided by the official Ruby team. However, today I received an update notification on [...]
by fadhli
on 24. Jun, 2008
in General
Last weekend, I finally decided to upgrade my Gutsy to Hardy. After the installation, everything was working fine. The only thing is that I have no Firebug on Firefox3. I tried to install it through it’s website but it said that it’s not compatible with mine. Googling the net, I found out that it’s a [...]
by asyraf
on 20. Jun, 2008
in Programming, Rails
I was wondering how to keep the layouts in my rails application code DRY – I was close to the point of kicking myself for having to make changes to all my layouts whenever something standard changed – so i researched online and found the above diagram by Matt McCray in his blog. I used [...]
by asyraf
on 20. Jun, 2008
in General
Here’s the slides I used to explain pair progamming to my peeps – whew! Pair programming looks like fun. We’ll be doing it next week, so more on this later!! Before I forget (and I do it a lot), here’s the link to the file
by asyraf
on 16. Jun, 2008
in General
Ever gone on a road trip – alone? Not much fun is it? With a Big Mac in your mouth, you’ve got to have one eye on the road, one hand on the steering wheel, the other eye on a map, and the other hand clutching it. Now that’s a feat even unicycle riding, ball [...]
by fadhli
on 14. Jun, 2008
in Programming, Rails
A label method is introduced in Rails 2.1. The following code: [sourcecode language="html"] < % form_for (@post) do |f| %> < %= f.label :title %> #Code truncated for clarity < % end %> [/sourcecode] Would generate the following HTML: [sourcecode language="html"] Title [/sourcecode] If your label contains a css class and if you need another [...]
by fadhli
on 13. Jun, 2008
in Programming
http://c2.com/cgi/wiki?LazyProgrammer
by fadhli
on 13. Jun, 2008
in Programming, Ruby
I don’t get it why some people write this %(Unverified email address. Please check your email for your activation code.) instead of this “Unverified email address. Please check your email for your activation code.” Is it that hard to put those double quote?
by fadhli
on 11. Jun, 2008
in Rails
I use Netbeans6.1 when developing in Rails. The thing I like most about it is that I can easily read the docs from a certain method in my code. I just press Ctrl + hover my mouse to that method and walla, the docs appears in my IDE. I can also do that when placing [...]
by asyraf
on 09. Jun, 2008
in General
It’s been a while since i posted anything up on this blog. Meanwhile, our programmer fadhli, has been busy – in the right way of course. Here’s a link to his own blog for a post that talks about rails 2.1′s new script that helps manage your database… And i promised some posts on agile [...]