mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
6 lines
105 B
Ruby
6 lines
105 B
Ruby
class WithoutTable < ActiveRecord::Base
|
|
def self.default_scope
|
|
where(:published => true)
|
|
end
|
|
end
|