Detail
[EN] Write ruby code to change ruby code
There are many cases we need to change ruby code besides implementing features, e.g. we will change old hash / lambda to new syntax when upgrading ruby to 1.9 or newer, every time when we upgrade rails, we have to replace old deprecated syntax or configs with new ones. Most of changes are repetitive, boring and time-consuming, I will introduce you how to write some simple ruby code to do these changes automatically, it saves your time and you don't need to repeat yourself again.
Recorded Video
Write ruby code to change ruby code from rubykaigi on YouTube .
Presentation Material(s)
Richard Huang
- Company
- Xinmin Labs
- Job title
- Founder
- Bio
-
Richard Huang is the Founder at Xinmin Labs, he's also a senior engineer who has a strong focus on code quality, problem solving and server performance. He loves contributing to the open source community, has built bullet and rails_best_practices gems.
- Location
- Shanghai, China