Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Fix active record, because AR returns false for method_defined?(field) #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

h0jeZvgoxFepBQ2C
Copy link

Wanted to include the OrderModule into my AR class, but found out that the fields address, status,... have not been saved after calling the corresponding methods.

After investigation I found out that ActiveRecord returns false for the method_defined?(field) calls, so I added another call to the corresponding AR method.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant