class Product

START:relationships

Public Class Methods

latest() click to toggle source
# File app/models/product.rb, line 22
def self.latest
  Product.order(:updated_at).last
end