first draft of rails gem