The Safest Way to Constantize
A look at the constantize method in Rails, how it can be exploited, and how to use it safely within your code: http://gavinmiller.io/2016/the-safesty-way-to-constantize/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A look at the constantize method in Rails, how it can be exploited, and how to use it safely within your code: http://gavinmiller.io/2016/the-safesty-way-to-constantize/
Post a comment