egoholic/quasar — pull request #5 by egoholic (2012-03-01 21:42:46+00:00)
Title: добавил property-reader`ы

Теперь можно делать так:

a = Article.last
Article Load (0.1ms) SELECT `documents`.* FROM `documents` ORDER BY `documents`.`id` DESC LIMIT 1

=> #

1.9.3p0 :029 > a.description

Property Load (0.2ms) SELECT `properties`.* FROM `properties` WHERE `properties`.`document_id` = 13 AND `properties`.`name` = 'description' LIMIT 1
=> nil