The personal finance app for everyone (by everyone)
Ruby
Name both version constants the generator reads
jaysbeekay4b1d282d99ce
diff --git a/docs/api/rails_provider_generator.md b/docs/api/rails_provider_generator.mdindex e8c8416b24..fdfa33f6b4 100644--- a/docs/api/rails_provider_generator.md+++ b/docs/api/rails_provider_generator.md@@ -168,8 +168,9 @@ This single command generates:**File:** `db/migrate/xxx_create_my_bank_tables_and_accounts.rb`Creates two complete tables with all necessary fields. The generator writes the-Rails version in use when it runs (`Rails::VERSION::MAJOR.MINOR`), so a provider-generated on a later Rails will show that version here instead of `[8.1]`. The+Rails version in use when it runs, from `Rails::VERSION::MAJOR` and+`Rails::VERSION::MINOR` joined by a dot, so a provider generated on a later+Rails will show that version here instead of `[8.1]`. Theversion in any generated migration is then fixed — it pins the semantics themigration was written against and is not rewritten by later upgrades.