up: table_name is already configured

main
Washington Botelho 2018-02-08 17:16:03 -02:00
parent 008909edf3
commit a5474cfd51
No known key found for this signature in database
GPG Key ID: 5DE4F42A8F073617
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ module Rating
end
def rate_table_name
@rate_table_name ||= ::Rating.config.rate_model.constantize.table_name
@rate_table_name ||= Rate.table_name
end
def scope_type_query(scopeable)