News and Blog : Page 1

Running tests before capistrano deploy

Posted by erick on 02/22/09

I wanted a simple way to remind myself to make sure my automated tests have been run before deploying. Since I didn’t really want to enforce it on the source control side I make a simple capistrano task to run before deploying to check.

You probably would not want to do this with a large project (or anything with long running tests). For this project I was just making sure cucumber tests would pass (I had made it the default rake task).

I just added this to my capfile, it will run the tests and make sure they pass before preceding.

Read More (1 comments so far)

Dealwaiter.com is live

Posted by erick on 02/22/09

Well it didn’t take too long, because I wanted it simple, but http://dealwaiter.com is now live.

Check it out and let me know what you think.

Read More (1 comments so far)

Deal monitoring web service

Posted by erick on 02/17/09

Today I will be starting a new web application I have been meaning to do for a while. It is going to be a simple single-page app that lets you monitor the deal sites of the internet for something you want, site like slickdeals.net, zerodaydeals.com, fatwallet.com…

It will be located at http://dealwaiter.com

Usage will be very simple

Read More (0 comments so far)

Add ruby code to blog comments

Posted by erick on 02/12/09

For the fun of it I was experimenting with adding ruby code that would run from these blog posts. Then I though it might be interesting to allow it in the comments as well.

So now I can include ruby code (that will run) when embedded in [run]…[/run] tags. And the capability is also in the comments.

If code is included in [run]…[/run] the output will not be displayed. If the code is included in [run=]…[/run] tags then the last value will be displayed (to_s will be invoked on it). This is meant to be similar to the syntax in views.

Read More (2 comments so far)

Kicking this off

Posted by erick on 02/11/09

Kicking off this blog. Stay tuned for more interesting news and information.

Read More (0 comments so far)