Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 4026

Show
Ignore:
Timestamp:
03/25/06 19:43:40 (2 years ago)
Author:
david
Message:

Use example.com as standard (closes #4413) [anna]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/integration.rb

    r3924 r4026  
    6868        @controller = @request = @response = nil 
    6969       
    70         self.host        = "www.example.test
     70        self.host        = "www.example.com
    7171        self.remote_addr = "127.0.0.1" 
    7272        self.accept      = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5" 
     
    103103      # Set the host name to use in the next request. 
    104104      # 
    105       #   session.host! "www.example.test
     105      #   session.host! "www.example.com
    106106      def host!(name) 
    107107        @host = name 
  • trunk/railties/lib/console_app.rb

    r3923 r4026  
    99  @app_integration_instance = nil if create 
    1010  @app_integration_instance ||= new_session do |sess| 
    11     sess.host! "www.example.test
     11    sess.host! "www.example.com
    1212  end 
    1313end