在 rails 应用程序的控制台输出中,我看到如下内容:
INFO: Started GET "/pharmacy?chart=medications&brand_name=BrandName_449&dose=6&form=Form_3&filter=phy_group"
Processing by PharmacyController#level_one as JSON
Parameters: {"chart"=>"medications", "brand_name"=>"BrandName_449", "dose"=>"6", "form"=>"Form_3", "filter"=>"phy_group"}
Completed 200 OK in 73ms (Views: 0.4ms)
但如果我说它puts params.length
返回我七。
怎么了?不应该是五个吗?