I know that it's possible to change individual generators in a Rails scaffold. For example, I can change test generator to RSpec:
config.generators do |g|
g.test_framework :rspec
end
But how do I add additional type of generated resource?
I know that it's possible to change individual generators in a Rails scaffold. For example, I can change test generator to RSpec:
config.generators do |g|
g.test_framework :rspec
end
But how do I add additional type of generated resource?