ruby on rails - activeadmin can not upload images under nested model Unpermitted parameters -


मैं activeadmin में छवियों को अपलोड नहीं कर सकता

रिमोट फोकू में कई रिमोट फोकोल हैं

  class टूल :: Cvt :: RemoteFocu & lt; ActiveRecord :: बेस is_to: उपयोगकर्ता has_many: remote_focu_logs,: निर्भर = & gt; : नष्ट #,: आटोशेव = & gt; True accepts_nested_attributes_for: remote_focu_logs, allow_destroy: true  

admin / remotefocu

  # नई / फॉर्म फॉर्म फ़ॉर्म: html = & gt; {: बहुस्तृत = & gt; सच} क्या | एफ | F.has_many: remote_focu_logs do | p | P.input: स्नैपशॉट, के रूप में = & gt; : फ़ाइल अंत f.actions end permit_params: user_id,: ip,: मॉडल,: संस्करण,: सेटिंग,: टिप्पणी,: परिणाम_पाथ, स्थिति:: remote_focu_logs_attributes, utf8,: _method,: authenticity_token,: commit,: locale, : Id  

त्रुटि लॉग

  unpermitted पैरामीटर: remote_focu_logs_attributes unpermitted पैरामीटर: utf8, _method, प्रामाणिकता_टोकन, कमिट, लोकेल, आईडी (0.1ms) BEGIN (0.1 एमएस) रोलबैक  

अनुमति देने की कोशिश करें remote_focu_logs_attributes: [: id,: snapshot ,: _destroy] के बजाय : remote_focu_logs_attributes


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -