spec/models.rb in active_null-0.0.5 vs spec/models.rb in active_null-0.0.6
- old
+ new
@@ -6,9 +6,14 @@
'I am an override.'
end
end
end
+class MicroPost < Post
+ extend ActiveNull
+ null_model
+end
+
class Comment < ActiveRecord::Base
extend ActiveNull
belongs_to :post
null_model
end