Feeds:
Posts
Comments

The last two weeks have been focused on learning ruby to write a rake task that would migrate data from Perl based Request Tracker(TM) to a RoR based Redmine issue tracking system.

I’m happy to report (and sad I didn’t post incremental updates on my experiences with ruby) that I have released a beta rake task that goes 90% of the way.

https://github.com/jsr6720/Request-Tracker-to-Redmine-Migration

Needless to say there are countless ways this could be improved and cleaned up. I hope that others find it useful, and I am happy to have ‘contributed’ back to the community for once.

My summary of RoR is its nice to be working in a class based, object based MVC architecture. Don’t know if 4D will ever get there.

Rubies for the holidays

Over the last two weeks I have been taking vacation and diving head first into my first major ruby language project.

Having never programed ruby before my gut reaction to the language is one word: awesome.

The only drawback to it is my own misunderstanding of the limits to the ‘magic’ of ruby. I definitely fell prey to some PHP-esque syntax that is no longer necessary.

My favorite so far: whatever is at the end of the action is returned.

# never mind that this is built it
def even (number)
  number % 2
end

@attr = even(2) {|r| r ? r : nil}

Biggest suprise: nil is an object and nil.id is 4

At any rate, programming a rake task in a ror application (Redmine) has been a fun and interesting challenge. I look forward to using ruby more in my problem solving and application building experiences.

Joined Github

As I worked on some code for an open source project I wanted to learn Git for a variety of reasons.

So not only am I using it, but I also joined Github

I am definitely a fan of the distributed nature of Git, and I love the error messages, very helpful. Thank you git for suggesting a common fix to probably a common problem.

$ git add
Nothing specified, nothing added.
Maybe you wanted to say 'git add .'?

vs

$ svn add
svn: Try 'svn help' for more info
svn: Not enough arguments provided
Design a site like this with WordPress.com
Get started