-
-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Basic checks
- I searched existing issues - this hasn't been reported
- I can reproduce this consistently
- This is a RubyLLM bug, not my application code
What's broken?
Hello,
I think there is an error in lib/generators/ruby_llm/upgrade_to_v1_7/templates/migration.rb.tt
MigrateToRubyLLMModelReferences should be MigrateToRubyLlmModelReferences or we get NameError:
NameError: uninitialized constant MigrateToRubyLlmModelReferences (NameError)
Object.const_get(camel_cased_word)
^^^^^^^^^^
Did you mean? MigrateToRubyLLMModelReferences
How to reproduce
Run the 1.7 migration
Expected behavior
Do not raise an error when running "rails db:migrate"
What actually happened
Raise an error
Environment
Ruby LLM latest (1.9.1)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working