lib/vestal_versions.rb in laserlemon-vestal_versions-0.1.0 vs lib/vestal_versions.rb in laserlemon-vestal_versions-0.2.0

- old
+ new

@@ -12,9 +12,10 @@ end def at(value) case value when Version: value + when Symbol: send(value) when Numeric: first(:conditions => {:number => value.floor}) when Date, Time: last(:conditions => ['versions.created_at <= ?', value.to_time]) end end