Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Fix #has_attribute? on persistent models. #824

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

Conversation

MitinPavel
Copy link

has_attribute? from Tire::Model::Persistence raises "undefined local variable or method `properties' for ..." error. The pull-request fixes the issue.

By the way, if nobody has ever complained about the issue, it might be more wisdom to just remove the unused method from API.

P. S. Thanks for such good gem.

@karmi
Copy link
Owner

karmi commented Aug 4, 2013

I think at some point in time ActiveModel required/recommended/etc has_attribute -- thanks for the fix, I'll have a look into the wider context.

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.

None yet

2 participants