我的所有页面上都有ruby调试器,但我从来没有理解错误消息。有人能带我穿过这个吗?我想我知道什么是无关紧要的散列(key可以是sym或str),但我不知道它为什么重要。最后一句,允许的:假,吓到我了。这与强参数有关吗?是不允许的“创建”动作吗?
--- !ruby/object:ActionController::Parameters
parameters:
!ruby/hash:ActiveSupport::HashWithIndifferentAccess
utf8: "â"
authenticity_token:
nlXTh3Ml5zzRAF9gPFc5KXzAbCoqXXyduq (shortened) ==
stripeToken: tok_1Dv(shortened)X
user: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
card_brand: Visa
card_exp_month: '12'
card_exp_year: '2021'
card_last4: '4242'
controller: pledge_charges
action: create
permitted: false