Forum: Ruby on Rails How to refactor this

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2007-05-02 20:56
(Received via mailing list)
Hi,
I've written some model specs, and some code to make them all pass, but
I
don't like the code I've written... it's in desperate need of
refactoring.
I've included the code, as well as the specs to help you understand what
I'm
trying to do. I'd appreciate any help.

http://pastie.caboo.se/58294

Thanks,
-Nathan
This topic is locked and can not be replied to.