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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -