使用activerecord-import 批量导入数据至mysql on rails enhanced active-record
RequiringThereareessentiallytwowaystorequireactiverecord-import:UsingBundler(defaultRails3appusesthis)NotusingBundlerTheseinstructionsonlyworkforactiverecord-import0.2.0orhigher.Ifyouhaveaversionbefor