소스 검색

model add scope

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

+ 2 - 1
app/models/product.rb

@@ -132,7 +132,7 @@ class Product < ActiveRecord::Base
         weight -240
 
         list do
-            strs="123"
+
 =begin
             #field :gross_interest_rate do
                 visible false
@@ -142,6 +142,7 @@ class Product < ActiveRecord::Base
                 end
             end
 =end
+            puts 1233334
             puts mer
             scopes [:inactive]
             filters [:id,:detail,:status,:name]