At least in my view of the term, creating intelligent code isn't "hacking". It's just being a good programmer. Hacking would be doing something that hasn't been done before on a wide scale with the intention of creating a result that varies from what an average user would expect. The jailbreakers hacked sideloaded applications onto their iPhone. The average user followed their directions and achieved expected, predictable results.
Ruby _can_ be used hacking. "How to recreate Path in Ruby" does not a "hack" make.