by fadhli
on 04. May, 2010
in Agile, Kanban
It’s been nearly 2 months since we implemented Scrum + Kanban at our workplace. In the beginning, we started out strictly on Scrum but we soon found out that for 3 projects running simulteneously with limited amount of people on our team, running 3 different sprints at the same time seems like a bit of [...]
by fadhli
on 19. Jan, 2010
in Programming, git
We’ve been using git for as our version control management system since the day we started, and have never looked elsewhere. It’s fast and easy to use and with github, it’s even gone social! So, for those of you who have heard of git, but don’t really know how it works, and are interested to [...]
by fadhli
on 23. Oct, 2009
in Ruby
I’ve been meaning to start using ruby1.9 but always stuck at maintaining codes in production that depends on Ruby1.8.6. Fortunately, there’s this thing called Ruby Version Manager where you easily change between different rails version. I have nothing but praise for the guys who made life easier for us programmers to do our job better [...]
by fadhli
on 22. Oct, 2009
in Rails
Have been tinkering around with authlogic. The most I love about is its out-of-the-box functionality. I used to wrestle with restful_authentication to get certain things that I need. Not in anyway that I’m bashing it but seeing how easy authlogic I couldn’t believe why I didn’t use it sooner. I like it so much that [...]
by fadhli
on 16. Sep, 2009
in HTML & CSS
I tried to update a HTML div elevement wrapping around a table row inside a table. <table> <tr> <td>Pomme</td> </tr> <div id="placeholder"> <tr> <td>SomethingElse</td> </tr> </div> </table> I wasted 1 hour to find out why my ajax calls aren’t updating the right table row. Apparently it’s not valid HTML. The div will always be on [...]
by fadhli
on 14. Jun, 2009
in Rails
Getting your bug fix/code pulled into the main repo really gets you excited & satisfied. I never thought it could give me this much sense of enjoyment. Check it out. http://github.com/dmix/weekly_builder/tree/master
by fadhli
on 08. Jun, 2009
in Rails
I’m figuring out something in my rails app. I’m figuring out which one’s the worst: Eager loading 100 rows of data you don’t actually need at the moment or 10 queries giving 10 result set at once? Here’s the code to explain it. 1 2 3 @event = Event.find(params[:event_id]) @event_attendees = @event.attendees.paginate(:page => params[:page], [...]
by fadhli
on 18. Dec, 2008
in Rails
Something peculiar happened when I was doing something trivial. If you accidently named your restful route the following resource :roles instead of resources :roles When you point your app to /roles it won’t go to your index controller action but it will instead call your show action.
by fadhli
on 07. Dec, 2008
in git
I had a problem when running git svn command on my ubuntu. Can’t locate SVN/Core.pm in @INC It turns out all I had to do is install libsvn-perl.
by fadhli
on 20. Nov, 2008
in Rails
I had trouble reindexing the ferret index using the rake command (rake ferret:rebuild). I got this non-descriptive error regarding failing to rebuild it (Even in my development mode). So after googling for it, all one has to do is so simple. Go into your rails script/console and just type Model.rebuild_index And you’re done.