Module: Opinio::Orm::ActiveRecord::Schema
- Includes:
- Schema
- Defined in:
- lib/opinio/orm/active_record.rb
Instance Method Summary collapse
-
#apply_opinio_schema(name, type, options = {}) ⇒ Object
Tell how to apply schema methods.
Methods included from Schema
Instance Method Details
#apply_opinio_schema(name, type, options = {}) ⇒ Object
Tell how to apply schema methods.
9 10 11 |
# File 'lib/opinio/orm/active_record.rb', line 9 def apply_opinio_schema(name, type, ={}) column name, type.to_s.downcase.to_sym, end |