lib/visage-app/profile.rb in visage-app-0.9.0.pre1 vs lib/visage-app/profile.rb in visage-app-0.9.0.pre2

- old
+ new

@@ -65,10 +65,10 @@ :metrics => @options[:metrics], :profile_name => @options[:profile_name], :url => @options[:profile_name].downcase.gsub(/[^\w]+/, "+") } # Save it. - profiles = self.load + profiles = self.class.load profiles[attrs[:url]] = attrs Visage::Config::File.open('profiles.yaml') do |file| file << profiles.to_yaml end