Re:Ruby Garbage Collection: Still Not Ready for Production
by rubiquity on Friday March 28, 2014 @01:12PM
(#7488539)
Sorry, I meant mutable state on classes, which is just a sneaky way of having global state.
Re:Ruby Garbage Collection: Still Not Ready for Production
by OutThisLife on Saturday March 29, 2014 @10:34AM
(#7492340)
Can you give an example? I'm learning Rails and I'd like to avoid bad practices.
Well, mutable state on the models seems pretty fair, unless I'm misunderstanding you. It's rather unforgivable on ApplicationController though.
Edit: and the slow startup time doing TDD with JRuby was my primary complaint when I developed in it. Although iirc you can use nailgun or something to keep the JVM active and mitigate that pain.