소스 검색

model add scope

abiao 4 년 전
부모
커밋
9ab00bc763
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/models/product.rb

+ 2 - 1
app/models/product.rb

@@ -138,7 +138,8 @@ class Product < ActiveRecord::Base
                 end
             end
 
-            puts strs
+            # puts strs
+            puts strs.inspect
 
 
             filters [:id,:detail,:status,:name]