Flowdock
method

interpret_status

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: ActionController
interpret_status(status) private

Given a status parameter, determine whether it needs to be converted to a string. If it is a fixnum, use the STATUS_CODES hash to lookup the default message. If it is a symbol, use the SYMBOL_TO_STATUS_CODE hash to convert it.

Show source
Register or log in to add new notes.