Module: DataMapper::Model
- Defined in:
- lib/dm-mysql/model.rb
Instance Method Summary collapse
-
#table_opts(options = {}) ⇒ Object
defines the table options for creating the resource in the database.
Instance Method Details
#table_opts(options = {}) ⇒ Object
defines the table options for creating the resource in the database
8 9 10 11 |
# File 'lib/dm-mysql/model.rb', line 8 def table_opts(={}) raise ArgumentError, "Table options needs to be a Hash!" if !.is_a?(Hash) @table_options ||= end |