Module: ROM::Plugins::Schema::Timestamps::DSL Private
- Defined in:
- lib/rom/plugins/schema/timestamps.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#timestamps(*names) ⇒ Object
Sets non-default timestamp attributes.
Instance Method Details
#timestamps(*names) ⇒ Object
Sets non-default timestamp attributes
52 53 54 |
# File 'lib/rom/plugins/schema/timestamps.rb', line 52 def (*names) plugin(:timestamps, attributes: names).apply end |