Class: FactoryGirl::Generators::ModelGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::NamedBase
- Base
- FactoryGirl::Generators::ModelGenerator
- Defined in:
- lib/generators/factory_girl/model/model_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#create_fixture_file ⇒ Object
9 10 11 |
# File 'lib/generators/factory_girl/model/model_generator.rb', line 9 def create_fixture_file template 'fixtures.rb', File.join([:dir], "#{table_name}.rb") end |