Permalink
Browse files

Moved tasks to lib, Rails 3 support

  • Loading branch information...
josepjaume authored and nelsonsilva committed Apr 26, 2010
1 parent a19b247 commit fce808fe677b575aa4b0521b0a2919999bbe1856
Showing with 1 addition and 1 deletion.
  1. +1 −1 { → lib}/tasks/yUMLmeRails.rake
@@ -1,5 +1,5 @@
YUMLME_URL="http://yuml.me/diagram/scruffy/class/"
-FILENAME=File.join(RAILS_ROOT, 'doc','diagrams',"model.#{Time.now.strftime('%Y%m%d-%H%M%S')}.png")
+FILENAME=File.join(Rails.root, 'doc','diagrams',"model.#{Time.now.strftime('%Y%m%d-%H%M%S')}.png")
def generate_diagram(file=FILENAME)
require 'open-uri'

0 comments on commit fce808f

Please sign in to comment.