adding "-j" parameter for "rails new" command #16

wants to merge 1 commit into


None yet

2 participants


it seems like there are more and more people using "jquery" as the default javascript library when they start up a new rails app.

for this commit, i removed the usual "--skip-prototype" parameter and substituted it with the "--skip-javascript" parameter. then, i added a new "-j" or "--javascript" parameter. this parameter accepts either "jquery" or "prototype".

btw, the default javascript library now is still "prototype".


Please discuss first on rails core mailing list if We really should provide that as an option. One could argue for example we should Allow rspec to be given to test framework option using the same argument, which just complicates maintenance on rails side.

@tomstuart tomstuart pushed a commit to econsultancy/rails that referenced this pull request May 17, 2011
@radar radar Xavier Noria suggestions added! Guides #16, parts 27-29. ee69bac
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment