Sha256: 02e071ad9bedaf08480d805df0b8baf1e0cb312c258eb2baf2d326a96ebc5aca

Contents?: true

Size: 234 Bytes

Versions: 3

Compression:

Stored size: 234 Bytes

Contents

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lazy_model-0.0.4 test/support/models.rb
lazy_model-0.0.3 test/support/models.rb
lazy_model-0.0.2 test/support/models.rb