class CustomStreams::InstallGenerator
Public Instance Methods
copy_migrations()
click to toggle source
# File lib/custom_streams/generator.rb, line 7 def copy_migrations stamp = proc {|time| time.utc.strftime("%Y%m%d%H%M%S")} copy_file "activities.rb", "db/migrate/#{stamp[Time.now]}_create_activities.rb" end