Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/raspy.rb
Class Method Summary collapse
Class Method Details
.[](ind) ⇒ Object
13 14 15 |
# File 'lib/raspy.rb', line 13 def self.[](ind) Rusql::Column.new( self.as_rusql_table, ind ) end |
.as_rusql_table ⇒ Object
6 7 8 9 10 11 |
# File 'lib/raspy.rb', line 6 def self.as_rusql_table t = Rusql::Table.new t.name = self.table_name.to_sym t end |