Class: ScopedModel
- Defined in:
- lib/permalink_fu/test/permalink_fu_test.rb
Class Method Summary collapse
Methods inherited from BaseModel
Class Method Details
.exists?(conditions) ⇒ Boolean
404 405 406 407 408 409 410 |
# File 'lib/permalink_fu/test/permalink_fu_test.rb', line 404 def self.exists?(conditions) if conditions[1] == 'foo' && conditions[2] != 5 true else false end end |