The calendar is gone.
Click here to view posts


Github and praises
Git is the new hotness in CMS. I am not completely sold on its godly powers yet, but one thing I am really enjoying is github. After installing git via yast, setting up an account, creating a public key, and settings up the github account I was ready to roll.

After looking around and searching I found a few projects. You can download them with a simple command, follow them (update information kinda like twitter), and you can fork other peoples code. I dont know all the details of forking but I think its like svn copy. Either way you get your own copy of people's projects.

You can download make changes and push them back to the server. Then you send a pull request to the original repo (if you want to add the code back to the main branch). This has made it convenient for adding features or patching code. Not that this couldn't be done before. Github just kinda makes it centralized. It helps me on those days I am feeling less ambitious.

The whole point is that I have been using the Populator gem on a few projects. I have found that I often use a counter to track how many objects are created for a set. For example when I store order in the database. I created a fork, downloaded the code, patched it and pushed it back to github. Then I sent a pull request to ryanb. I am unsure what happens with pull requests. I think there is some code merging and fun-ness that happens. Either way it was easy and fast to do.