From 27576df810522a422dabf4b4f8e4bf73de0ca9d0 Mon Sep 17 00:00:00 2001 From: Vijay Ubuntu Date: Wed, 9 Oct 2013 01:52:55 +0530 Subject: adding load_path to include active_model in the load path of example similar to activerecord/examples/simple.rb --- activemodel/examples/validations.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activemodel') diff --git a/activemodel/examples/validations.rb b/activemodel/examples/validations.rb index c94cd17e18..b8e74acd5e 100644 --- a/activemodel/examples/validations.rb +++ b/activemodel/examples/validations.rb @@ -1,3 +1,4 @@ +require File.expand_path('../../../load_paths', __FILE__) require 'active_model' class Person -- cgit v1.2.3