Skip to content

Commit

Permalink
Fixed deprecated usage of persisted_state. Fixed name error: replaced…
Browse files Browse the repository at this point in the history
… Resource::State with Resource::PersistenceState.
  • Loading branch information
krissi committed Oct 18, 2011
1 parent f69c0f8 commit 7040b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldap_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load(records, query)
resource.instance_variable_set(:@_repository, repository)

if identity_map
resource.persisted_state = Resource::State::Clean.new(resource) unless resource.persisted_state?
resource.persistence_state = Resource::PersistenceState::Clean.new(resource) unless resource.persistence_state?

# defer setting the IdentityMap so second level caches can
# record the state of the resource after loaded
Expand Down

0 comments on commit 7040b1f

Please sign in to comment.