Topic: How many lines? Why/when to refactor?
In general, when you are writing your code, what do you consider 'too many' lines for methods and classes? How many methods do you try to limit a class to? I've been bombarded with the standards for other languages, but Rails pulls so much out of the code that methods that would be 50 lines in PHP are now 5.
I am working (with someone else's code) where there are 25 methods in under 500 lines, but it seems like so much is going on. I'm hoping to refactor it, but I need some strong justification to do it.
What are your thoughts on line counts/refactoring in general, and tips for aproaching people more concerned with getting everything out as quick as we can and not too worried about DRYing it out?