lib/ripple/validations/associated_validator.rb in ripple-0.9.0 vs lib/ripple/validations/associated_validator.rb in ripple-0.9.2

- old
+ new

@@ -12,10 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. # # Taken from ActiveRecord::Validations::AssociatedValidators # -require 'ripple' +require 'active_model/validator' module Ripple module Validations class AssociatedValidator < ActiveModel::EachValidator def validate_each(record, attribute, value)