Module: Ramaze::Helper::Canonical

Defined in:
lib/cortex_reaver/helper/canonical.rb

Instance Method Summary collapse

Instance Method Details

#canonicalizeObject

Returns the canonical name for this model, given a candidate new name.



7
8
9
10
11
12
# File 'lib/cortex_reaver/helper/canonical.rb', line 7

def canonicalize
  respond self.class.const_get('MODEL').canonicalize(
    request[:new],
    :id => request[:id]
  )
end