up: table_name is already configured
This commit is contained in:
parent
008909edf3
commit
a5474cfd51
@ -108,7 +108,7 @@ module Rating
|
|||||||
end
|
end
|
||||||
|
|
||||||
def rate_table_name
|
def rate_table_name
|
||||||
@rate_table_name ||= ::Rating.config.rate_model.constantize.table_name
|
@rate_table_name ||= Rate.table_name
|
||||||
end
|
end
|
||||||
|
|
||||||
def scope_type_query(scopeable)
|
def scope_type_query(scopeable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user