Gabriel, I've tried your version but it doesn't work. Icons for reordering appear but they are not draggable. Any idea?
I'm using AS 1.2 / Rails 2.3.4. I uninstalled active_scaffold_sortable at first, then installed your version. I restarted Rails at last. Thanks, ebi 2009/10/6 Gabriel Sobrinho <[email protected]>: > > Hi all, > > I've forked the active_scaffold_sortable plugin and I made some changes > which increased the speed in ~ 1000+ times. > > You can see the fork here: > http://github.com/sobrinho/active_scaffold_sortable > > This fork is updated to latest AS/Rails version. > > The original time to reorder my 17 records using SQLite 3 was ~ 1.4 > seconds. After I made the change, this time was reduced to ~ 130ms. > Considerably, not? > > This reduced time is coming from a transaction. You can see the > transaction "patch" here: > http://github.com/sobrinho/active_scaffold_sortable/blob/master/lib/active_scaffold_sortable/actions/sortable.rb#L37-41 > > > Thanks for all suggestions. > > On Ter, 2009-10-06 at 12:05 +0900, EBIHARA, Yuichiro wrote: >> Hi, >> >> Regarding ActsAsListReorderingActionPlugin, you maybe should try the >> newer one, depending on your Rails version. >> http://github.com/ewildgoose/active_scaffold_acts_as_list >> >> But it doesn't seem it can work with Rails 2.3. >> http://groups.google.com/group/activescaffold/browse_thread/thread/88f85c190738de97?hl=en >> >> Finally I've decided to go with active_scaffold_sortable. >> http://github.com/activescaffold/active_scaffold_sortable/ >> >> Thanks, >> >> ebi >> >> 2009/10/5 [email protected] <[email protected]>: >> > >> > Hi, >> > >> > There was an extension >> > http://wiki.activescaffold.com/wiki/published/ActsAsListReorderingActionPlugin, >> > which worked in the past. >> > >> > That one detects that a model uses acts_as_list and adds four record >> > actions: top, move_up, move_down, bottom. >> > >> > I do not think that it will work out of the box with current versions, >> > but should nt be a big deal. >> > In addition it can be tweaked to also support acts_as_tree >> > >> > I ve integrated it into my local active_scaffold core, works without >> > any big issues. >> > >> > -- >> > Volker >> > >> > >> > On 2 Okt., 19:05, Gabriel Sobrinho <[email protected]> wrote: >> >> Hello, >> >> >> >> What AS users are using for acts_as_list? I'm using it very manually >> >> specifing the position column value into a text field (and only into >> >> update action). >> >> >> >> But this is too hard to my users, very manually. >> >> >> >> Thanks for suggestions >> >> >> >> -- >> >> Cordialmente, >> >> >> >> Gabriel Sobrinho >> >> >> >> Diretor de desenvolvimento >> >> >> >> Hite Comunicação Digital e Mídia Interativahttp://www.hite.com.br/ >> >> >> >> +55 31 8775 8378 >> > > >> > >> >> > > > > -- > Cordialmente, > > Gabriel Sobrinho > Diretor de desenvolvimento > > Hite Comunicação Digital e Mídia Interativa > http://www.hite.com.br/ > > +55 31 8775 8378 > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. 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 -~----------~----~----~----~------~----~------~--~---
