2012-06-01 3 views

답변

1

ActiveResource 후 호출 구문은 다음과 같습니다 여기

post(your_custom_method_name, options={}, body='') 

옵션은 쿼리 매개 변수를

예입니다 :

Customer.post(:bulk_import, {}, { new_customers: new_customers}.to_json)