This is helpful to have the single login for multiple level domains.
Edit your environment configuration and add something like this;
(E.g in environment.rb or production.rb)
config.action_controller.session = {:domain => “.arthurneil.com”, :key => ‘_arthurs_session_id’, :secret => ‘4gfsdf234jmfv35ksdf23m44m4m4neserf345′}
Likewise, to target the cookies based on particular domain, try;
(E.g)
cookies[:my_test_cookie] = {:value => “test”, :expires => 365.days.from_now,:domain => ‘.arthurneil.com’}
