Permalink
Browse files

[ryan] fixing bug with actually creating a summary using new class

  • Loading branch information...
1 parent bb36a3a commit e68dd4180451c0829c7077aa237dfb48683df053 @ryanmcgarvey ryanmcgarvey committed Jan 17, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/active_metric/subject.rb
  2. +1 −1 lib/active_metric/version.rb
@@ -12,7 +12,7 @@ class Subject
def summary
@summary ||= samples.where(:interval => nil).first ||
- self.class.sample_type.create(:samplable => self,
+ self.class.summary_type.create(:samplable => self,
:interval => nil)
end
@@ -1,3 +1,3 @@
module ActiveMetric
- VERSION = "1.5.0"
+ VERSION = "1.5.1"
end

0 comments on commit e68dd41

Please sign in to comment.