diff --git a/obj_to_form.rb b/obj_to_form.rb deleted file mode 100644 index e7f9783c2..000000000 --- a/obj_to_form.rb +++ /dev/null @@ -1,11 +0,0 @@ -def filename(klass) = [klass.to_s.underscore, "rb"].join(".") - -def write(path, body) - path = Rails.root.join("app", "models", path) - puts "#{path}" - File.write(path, body) unless File.exist?(path) -end -FormHandler.instance.current_lettings_form.sections.each do |section| - path = filename(section.class) - write(path, "hi") -end; nil