-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Singularize plural model #16833
Singularize plural model #16833
Conversation
Checked commits bdunne/manageiq@4f83aa7~...e7fbe82 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 app/models/asset_detail.rb
app/models/ems_refresh/save_inventory_physical_infra.rb
|
LOL @ the branch name |
Have you verified this is not called in other repos? In particular in the Lenovo repo. |
I see https://github.com/ManageIQ/manageiq-providers-lenovo/blob/master/app/models/manageiq/providers/lenovo/physical_infra_manager/parsers/parser_dictionary_constants.rb#L51 but I have no idea what it is. Maybe @agrare can help? |
Its the first time I've seen that but it looks like it uses that as the base for the parsed result hash, so yes that would need to change otherwise you'll get save_inventory errors. |
Okay @Fryguy I think I found all of the other repos that use this and linked the PR's here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@rodneyhbrown7 this change might impact developers that have local uncommitted changes for any features currently in development. |
Changing assignee to fryguy since I can't merge the ui-classic or api PRs together with this one |
The model was created as a plural, luckily the table name appears to be correct so we don't need a schema migration.
Added in #14749
Found because of #16768 (comment)