I have Client and Message, on client has_many message, and if client has 1 Million message rails_admin, try to load all 1M, how to disable load in this case?
I read Wiki and don't find any solution (
Me too, have you found the solution yet?
No so far (
@sferik @Curter29 is there any known solution to this? I've inherited an app where Users have hundreds of thousands of messages, and they are all displayed on the rails admin page for that user. I can't find any way to limit the number that are displayed. Any help would be most welcome or I'll have to remove rails_admin altogether.
Excluding fields from model doesn't work?
Hello @hajder from fresh view, maybe this can help
I don't have this problem, just following RailsAdmin repo and trying to help a little :)
@hajder - ah, it does, thanks! I didn't realise it was possible to hide children (the name field confused me a bit). For anybody else wondering about this, to hide has_many children from view do:
RailsAdmin.config do |config|
config.model Parent do
exclude_fields :children, :other_children
that would work in the case of the following model:
# example model
class Parent < ActiveRecord::Base
God bless ruby community