aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorlouise <louise>2009-05-18 09:46:12 +0000
committerlouise <louise>2009-05-18 09:46:12 +0000
commit0864e25f20fb89bb7d26327954c8b41af09716b0 (patch)
tree268b639f4ed21221d44824fbda93f4e252bac6b7 /lib/tasks
parent39062e0254453e6fc74e7a201278bbe21436cc9c (diff)
Temporary task for debugging regex warning
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/temp.rake13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/tasks/temp.rake b/lib/tasks/temp.rake
new file mode 100644
index 000000000..26c769999
--- /dev/null
+++ b/lib/tasks/temp.rake
@@ -0,0 +1,13 @@
+namespace :temp do
+
+ desc 'Debug regexp warning in remove_lotus_quoting-method'
+ task :debug_regexp_warning => [:environment] do
+ messages = IncomingMessage.find(:all)
+ messages.each do |message|
+ puts message.info_request.title
+ message.get_body_for_quoting
+ sleep 2
+ end
+ end
+
+end \ No newline at end of file