Sha256: 0704e12c2833661911c8579d53c20e2f3eeb0439076da2a1f53ecdde20055556

Contents?: true

Size: 182 Bytes

Versions: 13

Compression:

Stored size: 182 Bytes

Contents

class Song < ActiveRecord::Base

  default_scope :conditions => { :trashed => true }

  Consul::Util.define_scope(self, :recent, :conditions  => ['created_at > ?', 1.week.ago])

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
consul-0.11.2 spec/shared/app_root/app/models/song.rb
consul-0.11.1 spec/shared/app_root/app/models/song.rb
consul-0.11.0 spec/shared/app_root/app/models/song.rb
consul-0.10.2 spec/shared/app_root/app/models/song.rb
consul-0.10.1 spec/shared/app_root/app/models/song.rb
consul-0.10.0 spec/shared/app_root/app/models/song.rb
consul-0.9.1 spec/shared/app_root/app/models/song.rb
consul-0.9.0 spec/shared/app_root/app/models/song.rb
consul-0.8.0 spec/shared/app_root/app/models/song.rb
consul-0.7.0 spec/shared/app_root/app/models/song.rb
consul-0.6.1 spec/shared/app_root/app/models/song.rb
consul-0.6.0 spec/shared/app_root/app/models/song.rb
consul-0.5.0 spec/shared/app_root/app/models/song.rb