Permalink
Browse files

The error message when no adapter has been specified correctly refers…

… to LiveValidations now, not LiveValidation.
  • Loading branch information...
1 parent b519af9 commit 0a993d07726aa72dd9255139d9d463390c7e8fd6 @augustl committed Feb 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/live_validations.rb
View
@@ -11,7 +11,7 @@ def use(adapter_klass)
def current_adapter
adapter = @_current_adapter
- return adapter || raise(AdapterNotSpecified, "Please specify an adapter with `LiveValidation.use(AdapterClassHere)'.")
+ return adapter || raise(AdapterNotSpecified, "Please specify an adapter with `LiveValidations.use(AdapterClassHere)'.")
end
def current_adapter=(adapter)

0 comments on commit 0a993d0

Please sign in to comment.