Override raw finder SQL for ActiveRecord Fixtures
Methods
Attributes
| [RW] | recno |
Public Instance methods
[ show source ]
# File kirbybase_adapter.rb, line 1224
1224: def find
1225: if Object.const_defined?(@class_name)
1226: klass = Object.const_get(@class_name)
1227: klass.find(:first) { |rec| rec.recno == recno }
1228: end
1229: end