spec/dummy/app/models/user.rb in json_builder-3.0.2 vs spec/dummy/app/models/user.rb in json_builder-3.0.3
- old
+ new
@@ -1,5 +1,7 @@
class User < ActiveRecord::Base
+ scope :old, where('id < 5')
+
def disabled?
false
end
def activated?