2018-11-01から1ヶ月間の記事一覧
TL;DR File.expand_path(File.join(Rails.root, "./my_config/hogehoge")) => "/Users/yoan/dev/src/github.com/myoan/rails_test/my_config/hogehoge" とずっと書いていましたが、 File.expand_path("./my_config/hogehoge", Rails.root) => "/Users/yoan/d…