You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class QuestionAttribute < ApplicationRecord
actable
accepts_nested_attribute_for ?
end
class Industry
acts_as :question_attribute, dependent: :nullify, autosave: false
end
I have this setup with several classes like industry. I want to include accepts_nested_attributes_for in the QuestionAttribute class, but I don't know what the relationship is?
A question_attribute belongs_to ?
accepts_nested_attribute_for :actable does not throw an error in the model. However, when I try and save with actable_attributes: [:name] in my question_attributes params I get the attached error message.
The text was updated successfully, but these errors were encountered:
class QuestionAttribute < ApplicationRecord
actable
accepts_nested_attribute_for ?
end
class Industry
acts_as :question_attribute, dependent: :nullify, autosave: false
end
I have this setup with several classes like industry. I want to include accepts_nested_attributes_for in the QuestionAttribute class, but I don't know what the relationship is?
A question_attribute belongs_to ?
accepts_nested_attribute_for :actable does not throw an error in the model. However, when I try and save with actable_attributes: [:name] in my question_attributes params I get the attached error message.
The text was updated successfully, but these errors were encountered: