Fixes #19873 - Fix Style/MultilineIfModifier cop (#5705)
Fixes #21611 - Improve *_name lookup speed
Fixes #16813 - improve error messages for associations
Fixes #13704 - Defensive association name setterWhen setting an association by name(e.g., hostgroup_name, organization_name)and the name does not exist, we raise a not found error
fixes #13440 - rename Host#model_name to #hardware_model_name
Rails 4.2 defines a model_name instance method which is used in routingand called from link_to. Rename our model_name methods tohardware_model_name to prevent this overlapping and causing link_to...
Fixes #7230, #12021 - Upgrade to Rails 4.1.5
This commits upgrades Rails to Rails 4.1.5. See a description of thechanges included here, and go to the pull request in GitHub to see moredetailed explanations:
Refs #3809 - Remove cops for empty lines
fixes #9025 - reflect on association for _name(s) methods
Refs #3809 - Fix a few rubocop TODOs
fixes #4393 - rename ancestry label to title
fixes #2945 correction - has_and_belongs_to_many defined twice
fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations