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

[PERSISTANCE] fixed getter methods for underscore-options of unsaved rec... #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexyakubenko
Copy link

...ords

For example It fixes this live exception:
[37] pry(main)> PersistentArticle.new(:id => 'someId').persisted?
NoMethodError: undefined method []' for nil:NilClass from /Users/AlexY/.rvm/gems/ruby-2.0.0-p353@startwire/gems/tire-0.6.2/lib/tire/model/persistence.rb:48:inblock (3 levels) in included'

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

1 participant