Skip to content
This repository was 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
alexyakubenko wants to merge 2 commits intokarmi:masterfrom
alexyakubenko:master
Open

[PERSISTANCE] fixed getter methods for underscore-options of unsaved rec...#932
alexyakubenko wants to merge 2 commits intokarmi:masterfrom
alexyakubenko:master

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.

1 participant