method
next_migration_string
v2.1.0 -
Show latest stable
- Class:
Rails::Generator::Commands::Base
next_migration_string(padding = 3)protected
No documentation available.
# File railties/lib/rails_generator/commands.rb, line 72
def next_migration_string(padding = 3)
Time.now.utc.strftime("%Y%m%d%H%M%S")
end