https://github.com/rails/rails/blob/5473e390d362755125d2f47b64ef0a135f2fe111/railties/lib/rails/generators/migration.rb#L55未定义的方法`find_in_source_paths'
我试图在定位导轨这种方法,但我认为这是可以在其他地方。 我正试图从我的本地创建一个迁移。 所以我在做什么:
migration_template source_file, destination_file