I got the same error using rails 4.1. Just solved it. I noticed the warnings in my release:
Unpermitted parameters: _destroy, id Unpermitted parameters: _destroy, id Unpermitted parameters: _destroy, id
So, I just passed them allow_params:
permit_params assets_attributes: [:image, :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :_destroy, :id]
to the AA resource page. And it worked. Hope this helps. If not, here are my listings.
ActiveAdmin.register Product do permit_params :name, :description, :price, :brand_id, :category_id, assets_attributes: [:image, :image_file_name, :image_content_type, :image_file_size, :image_updated_at, :_destroy, :id] form multipart: true do |f| f.inputs "" do f.input :category_id, as: :select, collection: Category.all, include_blank: false f.input :brand_id, as: :select, collection: Brand.all, include_blank: false f.input :name f.input :description f.input :price end f.inputs '' do f.has_many :assets, allow_destroy: true, heading: '', new_record: false do |fasset| fasset.input :image, as: :file, hint: fasset.template.image_tag(fasset.object.image.url(:thumb)) end end f.actions end end class Product < ActiveRecord::Base belongs_to :category belongs_to :brand has_many :assets, dependent: :destroy, autosave: true accepts_nested_attributes_for :assets, allow_destroy: true, :reject_if => lambda { |attributes| attributes[:image].blank? } validate :name, presence: true validate :description, presence: true validate :price, presence: true end class Asset < ActiveRecord::Base belongs_to :product has_attached_file :image, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :default_url => "/images/:style/missing.png" validates_attachment_content_type :image, :content_type => /\Aimage\/.*\Z/ validates_with AttachmentPresenceValidator, :attributes => :image end