Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed comments to DataMapper instead of ActiveRecord.

  • Loading branch information...
commit f2b79b5a62bdd54a1e6d6bc3ff11686c0c7659a9 1 parent 2644d50
Blake Gentry authored
View
2  remarkable_datamapper/lib/remarkable_datamapper.rb
@@ -9,7 +9,7 @@
end
end
-# Load Remarkable ActiveRecord files
+# Load Remarkable DataMapper files
dir = File.dirname(__FILE__)
require File.join(dir, 'remarkable_datamapper', 'base')
require File.join(dir, 'remarkable_datamapper', 'describe')
View
2  remarkable_datamapper/lib/remarkable_datamapper/matchers/validates_is_unique.rb
@@ -208,7 +208,7 @@ def new_value_for_stringfiable_scope(scope)
# * <tt>:allow_nil</tt> - when supplied, validates if it allows nil or not.
# * <tt>:allow_blank</tt> - when supplied, validates if it allows blank or not.
# * <tt>:message</tt> - value the test expects to find in <tt>errors.on(:attribute)</tt>.
- # Regexp, string or symbol. Default = <tt>I18n.translate('activerecord.errors.messages.taken')</tt>
+ # Regexp, string or symbol. Default = <tt>I18n.translate('datamapper.errors.messages.taken')</tt>
#
# == Examples
#
Please sign in to comment.
Something went wrong with that request. Please try again.