Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

#assign_attributes method doesn't exist for MongoMapper:Document instances #21

Closed
lkalwa opened this Issue · 1 comment

2 participants

@lkalwa

I'm not 100% sure this request should go here, or directly to MongoMapper maintainers.
Gems like devise are using this method (https://github.com/rails/rails/blob/32709ea41ed1ec2a89590e9bc6656c1ecd462d30/activerecord/lib/active_record/attribute_assignment.rb#L66) for about 3 months now and this problem is still quite burdensome for devise && mongo_mapper combination.

@ianwhite
Owner

This is a very late response, so it may be out of date.

Is this the case: #assign_attributes is used by Devise on a model returned by orm_adapter?

If so, then this is outside of orm_adpater's current scope, as we just hand back the models without wrapping them, and hope they are ActiveModel compliant :)

Please reopen, or ping me if this is not the issue

@ianwhite ianwhite closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.