diff options
author | Vijay Ubuntu <invent.vijay@gmail.com> | 2013-10-09 01:52:55 +0530 |
---|---|---|
committer | Vijay Ubuntu <invent.vijay@gmail.com> | 2013-10-09 01:52:55 +0530 |
commit | 27576df810522a422dabf4b4f8e4bf73de0ca9d0 (patch) | |
tree | 9795057d7166499530efe693a917a318e8200802 /activemodel | |
parent | d2d6e4a980800cefce4066724ddd541ae22730c1 (diff) | |
download | rails-27576df810522a422dabf4b4f8e4bf73de0ca9d0.tar.gz rails-27576df810522a422dabf4b4f8e4bf73de0ca9d0.tar.bz2 rails-27576df810522a422dabf4b4f8e4bf73de0ca9d0.zip |
adding load_path to include active_model in the load path of example
similar to activerecord/examples/simple.rb
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/examples/validations.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |