Class: ActiveRecord::NoRdbBase
- Inherits:
-
Base
- Object
- Base
- ActiveRecord::NoRdbBase
- Defined in:
- lib/no_rdb_base.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.columns ⇒ Object
27 28 29 |
# File 'lib/no_rdb_base.rb', line 27 def columns @columns end |
.connection ⇒ Object
18 19 20 |
# File 'lib/no_rdb_base.rb', line 18 def connection raise "this is NoRdbBase class. No connection exists" end |
.push_column(column) ⇒ Object
22 23 24 25 |
# File 'lib/no_rdb_base.rb', line 22 def push_column(column) @columns ||= Array.new @columns.push column end |