Sha256: f37d5c6574adc9dedb123b813197d54021702d013a955dde8bb97faae3649170
Contents?: true
Size: 332 Bytes
Versions: 5
Compression:
Stored size: 332 Bytes
Contents
require 'rails/generators/named_base' module Fabricators module Generators class ModelGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_fixture_file template 'fabricator.rb', Fabricators.path.join("#{table_name}.rb") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems