Hi I am a new Rails Developer

My application_controller is:

class ApplicationController < ActionController::Base
  protect_from_forgery

  before_filter :sshow

  def sshow
    puts "==========================="
    puts YAML::dump(request.subdomains)
  end
end

now when I put kausik.localhost:3000 in my browser address bar it
returns blank Array [] instead ['kausik'] .

Also I rewrite etc/host file for this subdomain.

Please help me

Thanks & regards
Kausik

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to