Updated gems and split code into multiple files
Fixed indentation and removed duplicate it-block in specs
Extracted helper into separate file
Renamed helper methods and added tests
DRYed up helper method calls
[Ignore][Formatting] Whitespace indentation
[Bug]: undefined local variable 'rater'
DRYed up rating model configuration
Removed unnecessary code and simplified remaining code