diff --git a/lib/couchbase-orm/error.rb b/lib/couchbase-orm/error.rb index aaab0e3e..4f0f7fd1 100644 --- a/lib/couchbase-orm/error.rb +++ b/lib/couchbase-orm/error.rb @@ -14,7 +14,7 @@ def initialize(record = nil) if record @record = record errors = @record.errors.full_messages.join(", ") - message = I18n.t(:"#{@record.class.i18n_scope}.errors.messages.record_invalid", errors: errors, default: :"errors.messages.record_invalid") + message = I18n.t(:"#{@record.class.i18n_scope}.errors.messages.record_invalid", errors: errors, default: :"couchbase.errors.messages.record_invalid") else message = "Record invalid" end