如果我使用一个简单的rails c
命令打开我的开发控制台,并通过以下方式获取我的客户:
Balanced::Customer.all
我不仅得到结果,而且我可以使用:
customer = Balanced::Customer.all.first
customer.name = "Joe Bob"
customer.save # this works, returns true
customer = Balanced::Customer.all.first
puts customer.name
结果确实是“Joe Bob”。
我不确定究竟是什么"For security concerns regarding submitted data, all your requests MUST occur via https."
意思,如果它似乎不是真的......也许我错过了什么?