Category Archives: Ruby

No help from the log

Upon synching up, a colleague noticed that I had a test failing… kinda odd since I've been (trying to be) pretty good about keeping things up to date. Running them myself, we noticed that I was actually experiencing a quiet … Continue reading

Leave a Comment

Filed under rails, Ruby, Test Driven Development (TDD)

Requiring and Testing Cookies

Requirement: Users must have cookies enabled to use the site. If they don't: give them some sort of graceful warning to let them know there's going to be trouble. Doesn't sound too bad… it ended up being much more of … Continue reading

6 Comments

Filed under Cookies, rails, Ruby, Test Driven Development (TDD)

Testing the controller

A couple things I found very handy today while setting up a functional test for a controller. First off, this controller relies on a user being logged in (but this isn't the controller that actually manages the login process). The … Continue reading

Leave a Comment

Filed under Agile Software Dev, rails, Ruby, Test Driven Development (TDD)

Loading Fixtures

Works fine: Doesn’t work at all: fun, fun

2 Comments

Filed under rails, Ruby

Breakpointer

As indicated in the documentation on the wiki, setting a breakpoint in your application is really really simple… so why didn’t I get it working in 5 seconds (like it should take)? I had it in my head that this … Continue reading

1 Comment

Filed under rails, Ruby

Rubicizing

So far so good. In a fairly short amount of time I have an application with some basic functionality + user management (register, signin, email confirmations, etc). Very simple = very nice. So far I’ve been leaning pretty heavily on: … Continue reading

2 Comments

Filed under Agile Software Dev, rails, Ruby, SQL

One Web App

I'm happy to report that the tutorial app is now fully functional.  Just one chapter remains: Testing.  <sarcasm> and since testing is basically of no importance: I think I can just count it as completed</sarcarsm>

Leave a Comment

Filed under Agile Software Dev, rails, Ruby

Shock and Awe

Seems like with every new piece of the tutorial, I'm following comes another new 1-3 lines of code that just makes me say "that's it?". The incredible thing really is that you encounter them about 3 times a chapter!There are … Continue reading

Leave a Comment

Filed under Agile Software Dev, rails, Ruby

One Highly Productive Hour

It's amazing how much easier life is when the configuration is out of the way… I only had an hour to work on things tonight but was able to add the shopping cart to the tutorial application.  Granted I am … Continue reading

1 Comment

Filed under Agile Software Dev, rails, Ruby

More fun with config

Well, the plan to work on the plane on the way ended up… ok.  I ran into some more config problems – this time with MySQL, that I thought would be much easier resolved with internet access though so I … Continue reading

2 Comments

Filed under Agile Software Dev, rails, Ruby