aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/bird.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/models/bird.rb')
-rw-r--r--activerecord/test/models/bird.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/models/bird.rb b/activerecord/test/models/bird.rb
new file mode 100644
index 0000000000..341d2eeffc
--- /dev/null
+++ b/activerecord/test/models/bird.rb
@@ -0,0 +1,3 @@
+class Bird < ActiveRecord::Base
+ validates_presence_of :name
+end \ No newline at end of file