Module: Webnames::Model::ClassMethods
- Defined in:
- lib/webnames/model.rb
Instance Method Summary collapse
Instance Method Details
#find(input, *args) ⇒ Object
14 15 16 |
# File 'lib/webnames/model.rb', line 14 def find(input, *args) input.to_i == 0 ? where(webname: input).first : super end |