Nothing visible can be seen on rails_admin, even though I have followed the instructions on the README.
class ProductImage < ActiveRecord::Base
belongs_to :product
mount_uploader :image, DefaultUploader
end
class Product < ActiveRecord::Base
has_many :product_images
def create_associated_image(image)
product_images.create(image: image)
end
end
RailsAdmin.config do |config|
config.actions do
dashboard
index
new
dropzone do
only Product # Example Album
end
export
bulk_delete
show
edit
delete
show_in_app
end
end