Hello,
I'm trying to mix in a module so that AR::Base will sort all record by ID
by default.
I've worked up a repo with a few methods of doing things similar to this,
but I can't get this working as I want (I started with the rails project
from
at 6:58:35 AM UTC+1, Ruby Railhead wrote:
Idea 3: Subclass ActiveRecord::Base (to say ActiveRecordLocal) and mix in
the modules mentioned above into this class.
Thoughts: This makes is clearer that when you're using ActiveRecordLocal,
you're not getting the stock ActiveRecord::Base
Hello, All:
I am grappling with an interesting problem that I can't believe I'm the
first to tackle. Hoping someone has covered this ground before, or is
experienced enough to give good suggestions, and can suggest a reasonable
path forward.
The issue is related to transactions and
3 matches
Mail list logo