Posts Tagged ‘Ruby’

RubyFoo London 2009

On October 2nd and 3rd RubyFoo London 2009 is happening. According to the speakers table I think this is going to be a good conference.
As I am one of the leaders of the ruby user group Karlsruhe I am proud to announce a 10%-off promotion code for anyone interested going to RubyFoo.
The promotion code: RUGKarlsruhe_RubyFoo
The [...]

Give your tests some love - cruisecontrol.rb, rails, git, rcov, unit tests and cucumber

Long time passed since I wrote my last blog post. Things happened and I was very busy. But now I have some news to write about.
Refactoring my current project mysedcard.tv produced a bunch of cucumber features. Those are great and I love to see them running in my console. But that can’t be enough so [...]

Cucumber, autotest and growl

Using cucumber and bdd is just fun. Shoulda have used it earlier … Sorry, I need to write that
When you use cucumber (at the beginning) you always have to run

cucumber features

in your console to run all your features. Or you specify one by running

cucumber features/session.feature

There are some more ways but have a look [...]

braid - keep track of external git and svn repositories within a git repository

Attending Euruko 2009 was great! I recommend this conference to every ruby enthusiast. The authors auf braid held a flash talk and tried to demonstrate the power of braid. Unfortunately the didn’t manage to although they typed their commands incredibly fast
Back home I gave braid a try and this tool is great. Before [...]

Playing with Unit::Test, Shoulda, Factory Girl, autotest, growl and redgreen

Since my first steps with rails I was used to write rspec tests / specifications. I was never that happy about it. Can’t say exactly why. I think it was just a “personal” thing. About two weeks ago I finally gave shoulda and his buddies a try. So here’s what I have done.
Installation
First I had [...]

rubular - nice ruby regular expression editor

if you need to deal with regular expressions in ruby and you aren’t a regex pro (as I am) - or event though - check out rubular. Rubular is an online regular expression editor which may help you get your stuff done quicker. It helped me a lot so I decided to write a line [...]

MySQL utf8 - latin1 encoding foo with ruby on rails, ubuntu server and osx client

Since I set up a rake task which dumps my production database on the server and pipes it through a ssh connection into my local mysql server I had to recognize encoding problems locally. Today I said to myself: “Stop that encoding foo and get this crappy shit running correctly”
After struggling around with server side [...]

RailsWayCon in Berlin

Update: check out Karlsruhes’ ruby and rails usergroup for a free ticket sponsored by Software & Support Media!!
RailsWayCon is taking place end of May (25th - 27th) organized by Software & Support Media. As the O’Reilly Rails Conf Europe is not happening in 2009 they helped out a set up this conference for the [...]

fighting with git svn and setting up my own git server with gitosis

the last hour I set up my own git server and finally moved my current project mysedcard.tv to git. You may ask “Setting up a git server … isn’t that much work to do?”. Actually,  it’s not.
What happenend: I used git svn to use git locally and svn on my server as I started with [...]