We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126a877 commit acf8783Copy full SHA for acf8783
doc/rails.txt
@@ -839,14 +839,15 @@ be checked into version control. Example:
839
},
840
"classifications": {
841
"service": {
842
- "prefix": "app/services/",
843
- "suffix": "_service.rb",
+ "format": "app/services/%s_service.rb",
844
"template": "class %SService < AbstractService\nend",
845
"alternate": "test/functional/%s_service_test.rb"
846
847
"fabricator": {
848
- "prefix": ["test/fabricators/", "spec/fabricators/"],
849
- "suffix": "_fabricator.rb",
+ "format": [
+ "test/fabricators/%s_fabricator.rb",
+ "spec/fabricators/%s_fabricator.rb"
850
+ ],
851
"affinity": "model",
852
"template": "Fabricator :%s do\nend"
853
}
0 commit comments