Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/rails_or.rb
Class Method Summary collapse
Class Method Details
.or(*args) ⇒ Object
116 117 118 |
# File 'lib/rails_or.rb', line 116 def self.or(*args) self.where('').or(*args) end |