Browse files

adding load_path to include active_model in the load path of example

similar to activerecord/examples/simple.rb
  • Loading branch information...
1 parent d2d6e4a commit 27576df810522a422dabf4b4f8e4bf73de0ca9d0 @nameisvijay nameisvijay committed Oct 9, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 activemodel/examples/validations.rb
View
1 activemodel/examples/validations.rb
@@ -1,3 +1,4 @@
+require File.expand_path('../../../load_paths', __FILE__)
require 'active_model'
class Person

0 comments on commit 27576df

Please sign in to comment.