mustmodify / valuable

quick ruby modeling -- basically attr_accessor with default values, light-weight casting, and a constructor
http://valuable.mustmodify.com/
MIT License
72 stars 3 forks source link

create a Rails association thing #16

Open mustmodify opened 9 years ago

mustmodify commented 9 years ago

class PatronSearch has_value :ticket, :klass => Ticket end

should create ticket_id=, ticket_id, ticket, ticket=, and tie all those in together.