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

Changeset 2266

Show
Ignore:
Timestamp:
09/19/05 22:12:14 (5 years ago)
Author:
minam
Message:

Default parameters work correctly with the generator #2218 [Scott Barron]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/switchtower/CHANGELOG

    r2209 r2266  
    11*SVN* 
     2 
     3* Default parameters work correctly with the generator #2218 [Scott Barron] 
    24 
    35* Attempt to require 'rubygems' explicitly when running the switchtower utility #2134 
  • tools/switchtower/lib/switchtower/generators/rails/loader.rb

    r2084 r2266  
    1111 
    1212        args = ["deployment"] 
    13         args << options[:application] || "Application" 
    14         args << options[:recipe_file] || "deploy" 
     13        args << (options[:application] || "Application") 
     14        args << (options[:recipe_file] || "deploy") 
    1515 
    1616        Rails::Generator::Scripts::Generate.new.run(args)