Mongoid module Versioning #1451

Open
kritik opened this Issue Dec 21, 2012 · 0 comments

Projects

None yet

2 participants

kritik commented Dec 21, 2012

When I include module Mongoid::Versioning to the model, rails admin says that I need to put

accepts_nested_attributes_for :versions

When I put this line and go to view/edit this model ruby becomes out of memory

As I don't need to view/edit this model, I tried to configure it not to show version

config.model Product do
    weight 4
    exclude_fields :clean_cdrs
    exclude_fields :versions
  end

But still the same result

@mshibuya mshibuya was assigned Jan 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment