You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used Redis for years but just getting started with Ohm. I like the timestamps in ohm-contrib but using created_at and updated_at uses up more RAM.
If you mean just simply changing the attributes to be shorter, no one yet has tried to implement it. It would be trivial but I doubt you'd get a lot of mileage from it TBH.
I have used Redis for years but just getting started with Ohm. I like the timestamps in ohm-contrib but using
created_at
andupdated_at
uses up more RAM.In Mongoid there is a
Mongoid::Timestamps::Short
which createsc_at
andu_at
saving disk space. But in your Ruby code you can access either by the long aliascreated_at
or by the short name.http://www.rubydoc.info/github/mongoid/mongoid/Mongoid/Timestamps/Short
Has anyone tried to implement such feature in ohm-contrib?
The text was updated successfully, but these errors were encountered: