Sha256: c11cd0ce9cb9cab42b5b8c88b218cfd95d9f84969c688dd26371219558a62b10

Contents?: true

Size: 236 Bytes

Versions: 10

Compression:

Stored size: 236 Bytes

Contents

class Post < ActiveRecord::Base

	CHOICES = ["one", "two", "three"]
	TYPES = ["OldClass"]

	lazy_boolean :archived #boolean
	lazy_state :choice, Post::CHOICES, {:prime => ["one", "three"]} #string
	lazy_state :old_type, Post::TYPES

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lazy_model-0.1.0 test/support/models.rb
lazy_model-0.0.13 test/support/models.rb
lazy_model-0.0.12 test/support/models.rb
lazy_model-0.0.11 test/support/models.rb
lazy_model-0.0.10 test/support/models.rb
lazy_model-0.0.9 test/support/models.rb
lazy_model-0.0.8 test/support/models.rb
lazy_model-0.0.7 test/support/models.rb
lazy_model-0.0.6 test/support/models.rb
lazy_model-0.0.5 test/support/models.rb