klobuczek/active_node — pull request #7 by aaronrenner (2014-04-07 19:09:28+00:00)
Title: ActiveModel::Lint::Tests and make #persisted? return a boolean

I was having an issue where rails wasn't handling my ActiveNode models correctly, so I added ActiveModel::Lint::Tests to see what was going on. One of the tests failed and said #persisted? needs to return a boolean. Here is the fix I came up with.