class StepQuiz < ActiveRecord::Base
belongs_to :step
has_many :step_quiz_questions, :dependent => :destroy
accepts_nested_attributes_for :step
accepts_nested_attributes_for :step_quiz_questions, :allow_destroy => true
attr_accessible :step_id, :instructions, :correct_to_pass, :retakes_allowed, :time_limit, :step_attributes, :step_quiz_questions_attributes
end
Разрешено ли мне дважды вызывать acceptpts_nested_attributes_for для данной модели. Похоже, что работает без ошибок.