Hi sergio cambra,
My articles index page contains
Embedded AS
<%= render :active_scaffold => 'comments' %>
when i reload the page,first its displaying like this
<https://lh3.googleusercontent.com/-7ZLueGxFxCo/UID1eWUx5uI/AAAAAAAAAB4/Td6CtppVgrI/s1600/articles.png>
Then ,after 2 seconds,it will show the table (table is empty and no
association columns)
<https://lh5.googleusercontent.com/-SFjJ0q5mFHI/UID18uEeV6I/AAAAAAAAACA/e1Z-JEya1So/s1600/articles2.png>
If table contains more data,then it will take more time.
But in Active scaffold 2.3,it is showing the table directly.
Please I dont want that link to be displayed.
Thanks,
Praveen
On Thursday, October 11, 2012 3:18:21 PM UTC+5:30, praveen wrote:
>
>
> Thanks for your reply and suggestion...i'll give it a try
>
>
> On Thursday, October 11, 2012 1:16:03 AM UTC+5:30, Sergio Cambra wrote:
>>
>> Also, you can style those links to display a loading icon for example
>>
>> On Wed, 10 Oct 2012 21:45:03 +0200, <[email protected]> wrote:
>> > You can add render_component_vho to your Gemfile.
>> >
>> > Anyway, you should improve performance for that embedded scaffold, is
>> > too long, that's not good for your users. Try removing some columns
>> > (mainly association columns), displaying less records per page, or
>> > selecting only some columns if table has many columns (with
>> > custom_finder_options). Also you can display only associated records
>> > count and use counter_cache so you can disable eager loading and load
>> > less records (it can be a great improvement for long associations):
>> > conf.columns[:association].associated_limit = 0
>> > conf.columns[:association].includes = nil
>> >
>> >
>> > On Tue, 9 Oct 2012 07:16:07 -0700 (PDT), praveen
>> > <[email protected]> wrote:
>> >> Using AS 3.2.3 ,rails 3.2, ruby 1.9.3
>> >> I have embedded a active scaffold in view file of an action and this
>> >> embedded AS has huge data.So before loading the table, it is showing a
>> >> link(controller name) but user will thought it is just a link (because
>> >> its taking 45 sec to load the table).
>> >>
>> >> In AS 2.3, It was loading the table(embedded active scaffold ) before
>> >> showing the page.
>> >> I want old functionality.
>> >>
>> >> Thanks in advance
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> >> Groups "ActiveScaffold : Ruby on Rails plugin" group.
>> >> To view this discussion on the web visit
>> >> https://groups.google.com/d/msg/activescaffold/-/iT4FQ8egTfQJ [1].
>> >> To post to this group, send email to [email protected].
>> >> To unsubscribe from this group, send email to
>> >> [email protected].
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/activescaffold?hl=en.
>> >>
>> >>
>> >> Links:
>> >> ------
>> >> [1] https://groups.google.com/d/msg/activescaffold/-/iT4FQ8egTfQJ
>>
>>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/activescaffold/-/Z6sJoH8whTUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.