class OFX::Generators::EjectGenerator
Ejects OFX field mappings into the Rails application so they can be customized.
Creates config/initializers/ofx_mappings.yml with the gem’s default field mappings. The file is auto-detected and loaded by the OFX gem on boot —no initializer or OFX.configure call is needed.
Example
rails generate ofx_kit:eject
Public Instance Methods
Source
# File lib/generators/ofx_kit/eject_generator.rb, line 22 def eject_mappings copy_file 'ofx_mappings.yml', 'config/initializers/ofx_mappings.yml' end