But where is the translation of the symbol to the error code number? On Feb 12, 5:54 pm, Emery Finkelstein <[email protected]> wrote: > They're just the underscored names of HTTP statuses as symbols. You > can find a list of http statuses > here:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html > > return head (:method_not_allowed) sends an empty response with HTTP > status 405. > > On Feb 12, 1:28 am, greghauptmann <[email protected]> wrote: > > > > > Hi, > > > Where can I find the pre-defined constants for the "head" method? > > > e.g. "return head(:method_not_allowed)" => implies > > ":method_not_allowed" must come from somewhere
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

