+1 for Rob’s suggestion. Check for gems that would create default scopes that aren’t necessarily obvious in the model file, like paranoia.
AB > On Jan 27, 2016, at 11:17 PM, Rob Kaufman <[email protected]> wrote: > > It is also common to have your acts_as_list scoped to specific fields, which > would cause the same wonky behaviour. I'd check to make sure that there > arn't any settings or default scopes getting in your way. > > Rob > > On Wed, Jan 27, 2016 at 4:45 PM Peter Fitzgibbons > <[email protected] <mailto:[email protected]>> wrote: > Guyren, > Sounds at first glance that the ordinal update is either missing a record or > experiencing a locking/race-condition (without error?!!) > > As you said your common result is 1, 1, 2. > Could you tell us what the positional change was that ended at that result? > > > On Wed, Jan 27, 2016 at 4:33 PM Ian Young <[email protected] > <mailto:[email protected]>> wrote: > Everyone stop trolling poor Guyren. It's not his fault he hasn't had a chance > to move to an evolved database system like CouchDB yet. > > > On Wed, Jan 27, 2016, at 04:27 PM, Jonathan Christensen wrote: >> Mongo also solves this issue out of the box. >> >> On Wed, Jan 27, 2016 at 3:47 PM, James Miller <[email protected] >> <mailto:[email protected]>> wrote: >> I'd blame Postgres and think you have no option other than switching to >> MySQL. >> >> On Wed, Jan 27, 2016 at 3:08 PM, Guyren Howe <[email protected] >> <mailto:[email protected]>> wrote: >> A project using acts_as_list is routinely mucking up the position field (a >> typical pattern is to have three items with positions 1, 1, 2). >> >> Anyone encounter this? Solutions? >> >> -- >> -- >> SD Ruby mailing list >> [email protected] <mailto:[email protected]> >> http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> >> --- >> You received this message because you are subscribed to the Google Groups >> "SD Ruby" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:sdruby%[email protected]>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> >> -- >> -- >> SD Ruby mailing list >> [email protected] <mailto:[email protected]> >> http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> >> --- >> You received this message because you are subscribed to the Google Groups >> "SD Ruby" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> >> >> -- >> -- >> SD Ruby mailing list >> [email protected] <mailto:[email protected]> >> http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> >> --- >> You received this message because you are subscribed to the Google Groups >> "SD Ruby" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] >> <mailto:[email protected]>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > > -- > -- > SD Ruby mailing list > [email protected] <mailto:[email protected]> > http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> > --- > You received this message because you are subscribed to the Google Groups "SD > Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > -- > SD Ruby mailing list > [email protected] <mailto:[email protected]> > http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> > --- > You received this message because you are subscribed to the Google Groups "SD > Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby <http://groups.google.com/group/sdruby> > --- > You received this message because you are subscribed to the Google Groups "SD > Ruby" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
