Archive for the 'Uncategorized' Category

rails fixtures with models using set_table_name

Sunday, April 22nd, 2007

If you have a model that uses set_table_name you may hit a snag when trying to use fixtures and unit tests. The solution is twofold: name the fixture file using the legacy table name, and use the set_fixture_class method in your unit test. I coudn’t find this method mentioned in Agile Web Development with Rails, and there’s only a brief mention on the rubyonrails.com site. Still, some web searches turned up the answers.

Here is a simple example:

(more…)

Firefox Saved Form Data Frustrations

Tuesday, May 2nd, 2006

Have you ever mistyped your login name in firefox, only to have it save the wrong entry as well as the correct one? How do you get rid of the wrong entry? You could clear out all of your saved information, but why just for one mistake! Frustrating huh? Even more frustrating is finding the completely undocumented answer. Well I’m documenting it now.

Go to the form where the mistake is. Put your cursor in the text entry widget and hit down until the incorrect entry is highlighted. Now press shift + del … voila. You’re welcome.

First Post

Sunday, February 5th, 2006

Mission Data is a Louisville based web development and software engineering company…that is starting a blog!

In the near future we’ll be updating this site frequently with our experiences helping technology work with people.