diff --git a/README.md b/README.md index 8615c88..e7c2b3f 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ For even more customization, use the `filename_proc` option: ```ruby config.generators do |g| - g.factory_bot filename_proc: -> { |table_name| "prefix_#{table_name}_suffix" } + g.factory_bot filename_proc: ->(table_name) { "prefix_#{table_name}_suffix" } end ```