Detail page stuff is broken
-
Peter Szinek
- Assigned user set to Peter Szinek
- State changed from new to open
Cheers, will check it out!
-
Wildgoose
I have to be honest - I don't actually understand why the scope of @@original_host is being limited in this way?
Equally I am also not sure why you are using class variables everywhere when it would appear that you have an instance available everywhere to use instead?
Thanks for scrubyt!
-
Peter Szinek
Thanks for the honesty - as much as the 'wooow scRUBYt! rocks' type of feedback strokes my ego (and who doesn't need some appreciation :-), it doesn't give me much clues for how should I improve scRUBYt!
Yeah, I know that using @@ everywhere sucks ass - as I said in response of the other ticket, I was a total Ruby n00b and scRUBYt! was my first bigger Ruby code, started out as a few dozen lines single file which I didn't care to optimize because I didn't know how, and I was just playing around. When scRUBYt! became popular and I got to know Ruby a bit better, I refactored some parts but the @@s are not easy to refactor at all, so we decided to start a new branch with 100% rSpec coverage, optimized/refactored code and leaving the cruft behind. So basically skimr is the answer to all the 'why this and that and this is buggy and tha doesn't work' kind of problems.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
