| Class | Row |
| In: |
app/models/row.rb
|
| Parent: | ActiveRecord::Base |
| keys | [RW] | attr_accessor :id |
| table | [RW] |
This method assigns the table, id, and database attributes
# File app/models/row.rb, line 15
15: def initialize( table, keys )
16: switch_ar( table.database, table.name ) do |c|
17: c.find( :first )
18: end
19: end