I have a page where about 500 records are displayed, or should be
displayed but I have observed that when I limit records around 50 only,
servers start getting hiccups and showing message that ‘Something went
wrong’ and blah blah. But when I am limiting records to 30, it works
smoothly.
Please tell me what to do. Do I need a large bucked (data type) to put
records in? Or do I need to modify something at server side?
May I suggest that you look at ActiveScaffold.
Using AS, I am displaying for one table with 40,000 records displaying
15 records (configurable) per page speedily and with no issues.
That ‘blah blah’ probably tells you what went wrong. Without the
details of what errors you’re getting it will be hard to suggest a
fix.
Fred
that blah blah is that ‘we have been notified of this issue’
and there’s Error 500 Internal Server Error on top
Fix your configuration so that you get the actual exception been
through with stack trace etc… and you’ll find problems a lot easier
to fix (config.action_controller.consider_all_requests_local in
development.rb, production.rb etc… do this)
Fix your configuration so that you get the actual exception been
through with stack trace etc… and you’ll find problems a lot easier
to fix (config.action_controller.consider_all_requests_local in
development.rb, production.rb etc… do this)
Fred
I checked the logs and it says ‘Lost connection to the MySQL server’.
But if I limit records to 30, it never happens and works fine. It seems
that problem is with MySQL when I get slightly large amount of data out
of it
I have a page where about 500 records are displayed, or should be
displayed but I have observed that when I limit records around 50
only,
servers start getting hiccups and showing message that ‘Something went
wrong’ and blah blah. But when I am limiting records to 30, it works
smoothly.
Please tell me what to do. Do I need a large bucked (data type) to put
records in? Or do I need to modify something at server side?
That ‘blah blah’ probably tells you what went wrong. Without the
details of what errors you’re getting it will be hard to suggest a fix.
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.