1
我註釋掉的has_many,但與同導出頁面有許多後,重新啓動服務器導軌如何禁用rails管理員的has_many_association?
config.model 'User' do
# # You can copy this to a 'rails_admin do ... end' block inside your user.rb model definition
# # Found associations:
# configure :canvases, :has_many_association
# configure :level, :has_many_association
# configure :tags, :has_many_association
# # Found columns:
configure :id, :integer
configure :name, :string
configure :email, :string
configure :raw_info, :serialized
configure :created_at, :datetime
configure :updated_at, :datetime