You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 - Just getting started with Merit (thanks for your work!)
I noticed there was a typo in the active_record/merit_generator.rb task which prevents the template from being generated, subsequently preventing the task from running successfully.
I ran into this issue when trying to add merit_fields to one of my models.
Local error:
root@b16ac38735ed:/app# rails g merit:active_record:merit <model>
Could not find "add_merit_fields_to_model.rb" in any of your source paths. Your current source paths are:
/bundle/gems/merit-4.0.0/lib/merit/generators/active_record/templates
I can fix this is you'd like, just let me know. Thanks again!
The text was updated successfully, but these errors were encountered:
jlholm
added a commit
to jlholm/merit
that referenced
this issue
Jun 13, 2020
Line merit-gem#16 was referring to the migration_template source as 'add_merit_fields_to_model.rb'.
This source does not exist as the actual extension is `.erb`. This caused the task
to fail as there is no template with the name 'add_merit_fields_to_model.rb'.
Resolving: merit-gem#344
👋 - Just getting started with Merit (thanks for your work!)
I noticed there was a typo in the
active_record/merit_generator.rb
task which prevents the template from being generated, subsequently preventing the task from running successfully.merit/lib/merit/generators/active_record/merit_generator.rb
Line 16 in bde91e0
I believe the template name should reference the
add_merit_fields_to_model.erb
template:merit/lib/merit/generators/active_record/templates/add_merit_fields_to_model.erb
Lines 1 to 6 in bde91e0
I ran into this issue when trying to add merit_fields to one of my models.
Local error:
I can fix this is you'd like, just let me know. Thanks again!
The text was updated successfully, but these errors were encountered: