aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-08 16:12:15 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-10-08 16:12:15 -0700
commit40ce6ab5f157fd1c37f46277c645ac5e20830191 (patch)
treece70814d2020a913e2de0cdf8b0ca6f8ffdd5d48
parent96a366cd9b52a4e80b0cb36c20f4c0011159d745 (diff)
parent27576df810522a422dabf4b4f8e4bf73de0ca9d0 (diff)
downloadrails-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.rb1
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