Quantcast
Channel: Rob Aldred
Browsing all 8 articles
Browse latest View live

Custom log files for your ruby on rails applications

Sometimes logging is required but putting the messages in the Rails log isn’t the answer.For example you need to see the progress of customers through your order placement cycle, you ideally need this...

View Article


Image may be NSFW.
Clik here to view.

Cucumber pretty html formatter for textmate

I’ve been using cucumber a lot recently along with the textmate bundle for it. The HTML output cucumber creates is fine, but not all that pretty. I’ve created a new formatter for cucumber to generate...

View Article


Image may be NSFW.
Clik here to view.

Testing ActionMailer models with Rspec

You might think testing ActionMailer sounds like a challenge, actually it’s just as easy as testing other classes, you just have to know the methods to use to change the state/content of the...

View Article

Adding additional configuration args to selenium rc using cucumber and webrat

I use cucumber, webrat and selenium RC a lot day to day, all are great pieces of kit, which make my life so much easier, but I’m always trying to find ways to make these ever easier. Selenium RC has...

View Article

generate list of files for gem spec

Gemspec files require the list of files to include in the gem build, here’s simple command you can run to add all files descending from the current directory, it ignores the .git directory and sorts...

View Article


MySQL server has gone away with Rails, Sunspot and Cucumber

When using Rails, sunspot and cucumber with a mysql test database, I received the following the MySQL server has gone away error. After some googling a came across the `reconnect` option for database...

View Article

Override ActionMailer recipient in Rails 2 and 3 for development or testing

If your like me, you might want enable delivering of mail in development, mostly because testing email layout is a pain without actually sending the email to a real client. In doing this you’ll...

View Article

Running passenger with multiple different ruby versions apache nginx rvm

It’s becoming more and more of a requirement to run different apps under different versions of ruby One one project I have needed to take the plunge with Ruby 1.9 for unicode support. This is no big...

View Article

Browsing all 8 articles
Browse latest View live


Latest Images