Sha256: 7ab0ba76050454b7d0fdecdb761e0513bff4e2aa143d9b5581a90fb89a84e0a3
Contents?: true
Size: 523 Bytes
Versions: 13
Compression:
Stored size: 523 Bytes
Contents
# class NetzkeCoreGenerator < Rails::Generator::NamedBase class NetzkeCoreGenerator < Rails::Generator::Base def manifest record do |m| # FIXME: how do we avoid getting the same migration timestamps? # Work-around time = Time.now.utc.strftime("%Y%m%d%H%M%S") m.directory 'db/migrate' # m.file 'create_netzke_layouts.rb', "db/migrate/#{time}_create_netzke_layouts.rb" m.file 'create_netzke_preferences.rb', "db/migrate/#{time.to_i+1}_create_netzke_preferences.rb" end end end
Version data entries
13 entries across 13 versions & 2 rubygems