ruby on rails - What does this line of my Log mean? -
when sending 'post' request, in log. processing subgroupscontroller#add_timespan */*
what mean?
log tells following:
controller_name#action_name respond mime type
here list of default rails mime types:
"*/*" => :all "text/plain" => :text "text/html" => :html "application/xhtml+xml" => :html "text/javascript" => :js "application/javascript" => :js "application/x-javascript" => :js "text/calendar" => :ics "text/csv" => :csv "application/xml" => :xml "text/xml" => :xml "application/x-xml" => :xml "text/yaml" => :yaml "application/x-yaml" => :yaml "application/rss+xml" => :rss "application/atom+xml" => :atom "application/json" => :json "text/x-json" => :json
source (http://apidock.com/rails/mime)
for more in-depth info (i know little this) check docs (http://api.rubyonrails.org/classes/actioncontroller/mimeresponds.html) , blog post (http://ryanbigg.com/2009/04/how-rails-works-2-mime-types-respond_to/)
Comments
Post a Comment