test/support/models.rb in lazy_model-0.0.4 vs test/support/models.rb in lazy_model-0.0.5

- old
+ new

@@ -1,10 +1,10 @@ class Post < ActiveRecord::Base CHOICES = ["one", "two", "three"] TYPES = ["OldClass"] - lazy_model :archived #boolean - lazy_model :choice, Post::CHOICES, {:prime => ["one", "three"]} #string - lazy_model :old_type, Post::TYPES + lazy_boolean :archived #boolean + lazy_state :choice, Post::CHOICES, {:prime => ["one", "three"]} #string + lazy_state :old_type, Post::TYPES end \ No newline at end of file