Sha256: 6d77fa734edece3f6273a5d51f76465e4e16c4df0be155bb67758fe5fb1d6794

Contents?: true

Size: 177 Bytes

Versions: 1

Compression:

Stored size: 177 Bytes

Contents

class Post < ActiveRecord::Base

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

	lazy_model :archived #boolean
	lazy_model :choice, Post::CHOICES, {:prime => ["one", "three"]} #string

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lazy_model-0.0.1 test/support/models.rb