diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-08 16:12:15 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-08 16:12:15 -0700 |
commit | 40ce6ab5f157fd1c37f46277c645ac5e20830191 (patch) | |
tree | ce70814d2020a913e2de0cdf8b0ca6f8ffdd5d48 | |
parent | 96a366cd9b52a4e80b0cb36c20f4c0011159d745 (diff) | |
parent | 27576df810522a422dabf4b4f8e4bf73de0ca9d0 (diff) | |
download | rails-40ce6ab5f157fd1c37f46277c645ac5e20830191.tar.gz rails-40ce6ab5f157fd1c37f46277c645ac5e20830191.tar.bz2 rails-40ce6ab5f157fd1c37f46277c645ac5e20830191.zip |
Merge pull request #12470 from nameisvijay/activemodel_example_fix
adding load_path to include active_model in the load path of example
-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 |