> I'm upgrading a Rails 2.3.8 application to Rails 3, but I'm a little
> stuck: my old app name/directory is 4MyApp, but the "Rails new ."
> command complains that the application name cannot start with a digit.
>
> Is there an easy way to make the changes so that I can switch to a new
> name and also make the internal changes that are required? I see this is
> probably because a class name cannot start with a number...
What changes do you need to make in order to switch to a new name? I may not be remembering right, but there's nothing special about the name you pick for a rails application -- as far as it interacting with anything the user sees or models or what not.
If it were me I'd just... rails new FourMyApp and go from there...
-philip
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment