This project is archived and is in readonly mode.
Make 's' reserved word in 'rails ...' command
Reported by Sasha Koss | May 15th, 2010 @ 01:48 PM | in 3.0.2
When you try run 'rails server' in non rails applications dir script fail with error:
Invalid application name server. Please give a name which does not match one of the reserved rails words.
But when you try run server with 's' alias in non rails applications dir script generate new application named 's'.
Comments and changes to this ticket
-
Sasha Koss May 15th, 2010 @ 02:32 PM
- Tag changed from rails server, rails3 to rails server, patch, rails3
Attached patch
-
Sasha Koss May 16th, 2010 @ 01:28 AM
- Tag changed from rails server, patch, rails3 to rails server, bugmash, patch, rails3
-
Sasha Koss May 16th, 2010 @ 03:31 AM
- Assigned user set to José Valim
-
Simon Jefford May 16th, 2010 @ 05:46 PM
Added a test to the patch - authorship has been retained.
+1 verified
-
José Valim May 16th, 2010 @ 05:48 PM
- Milestone cleared.
- State changed from new to open
Great work guys! Simon, if you prefer, you can add tests in a separate patch, so you both get authorship!
-
Repository May 16th, 2010 @ 06:15 PM
- State changed from open to resolved
(from [b7bdacf1abb71ec2b46ea54893fb881dea36cca8]) Added rails command aliases (s g c db) to reserved words in app generator [#4602 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/b7bdacf1abb71ec2b46ea54893fb88... -
Repository May 16th, 2010 @ 06:15 PM
(from [7be58b616337d28dc6f25e9dc26cca935437ec12]) Tests for new reserved words [#4602 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/7be58b616337d28dc6f25e9dc26cca... -
José Valim May 16th, 2010 @ 06:16 PM
- Tag changed from rails server, bugmash, patch, rails3 to rails server, patch, rails3
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 4602 Make 's' reserved word in 'rails ...' command (from [b7bdacf1abb71ec2b46ea54893fb881dea36cca8]) Added r...
- 4602 Make 's' reserved word in 'rails ...' command (from [7be58b616337d28dc6f25e9dc26cca935437ec12]) Tests f...
- 4665 Suggestion: Change to create Rails 3.0 apps by `rails init app-name` The fix number I should have written is #4602, not 8994.