Module: ActiveType::NoTable::ClassMethods
- Defined in:
- lib/active_type/no_table.rb
Instance Method Summary collapse
- #column_types ⇒ Object
- #columns ⇒ Object
- #destroy ⇒ Object
- #destroy_all ⇒ Object
- #find_by_sql ⇒ Object
- #primary_key ⇒ Object
Instance Method Details
#column_types ⇒ Object
14 15 16 |
# File 'lib/active_type/no_table.rb', line 14 def column_types {} end |
#columns ⇒ Object
18 19 20 |
# File 'lib/active_type/no_table.rb', line 18 def columns [] end |
#destroy ⇒ Object
22 23 24 |
# File 'lib/active_type/no_table.rb', line 22 def destroy(*) new end |
#destroy_all ⇒ Object
26 27 28 |
# File 'lib/active_type/no_table.rb', line 26 def destroy_all(*) [] end |
#find_by_sql ⇒ Object
31 32 33 |
# File 'lib/active_type/no_table.rb', line 31 def find_by_sql(*) [] end |
#primary_key ⇒ Object
10 11 12 |
# File 'lib/active_type/no_table.rb', line 10 def primary_key nil end |