Class: Tagcrumbs::State

Inherits:
Place
  • Object
show all
Defined in:
lib/tagcrumbs/resources/models/state.rb

Overview

A State is a Place and connects Countries and Cities.

Class Method Summary collapse

Class Method Details

.search(q, args = {}) ⇒ Object

Search a State by name



9
10
11
# File 'lib/tagcrumbs/resources/models/state.rb', line 9

def self.search(q, args={})
  super(q, args.merge(:for => :state))
end