Skip to content

Commit

Permalink
[ryan] fixing bug with actually creating a summary using new class
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmcgarvey committed Jan 17, 2012
1 parent bb36a3a commit e68dd41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/active_metric/subject.rb
Expand Up @@ -12,7 +12,7 @@ class Subject


def summary def summary
@summary ||= samples.where(:interval => nil).first || @summary ||= samples.where(:interval => nil).first ||
self.class.sample_type.create(:samplable => self, self.class.summary_type.create(:samplable => self,
:interval => nil) :interval => nil)
end end


Expand Down
2 changes: 1 addition & 1 deletion lib/active_metric/version.rb
@@ -1,3 +1,3 @@
module ActiveMetric module ActiveMetric
VERSION = "1.5.0" VERSION = "1.5.1"
end end

0 comments on commit e68dd41

Please sign in to comment.