This project is archived and is in readonly mode.
Generating with --skip-prototype doesn't remove protoype from index.html
Reported by Max Hawkins | January 30th, 2010 @ 12:34 AM | in 3.0.2
When generating with rails --skip-prototype
prototype is removed from public/javascripts but the default
index.html still depends on prototype.
Comments and changes to this ticket
-
José Valim February 3rd, 2010 @ 10:12 AM
- State changed from new to open
- Assigned user set to José Valim
- Milestone cleared.
Please provide a patch. :)
-
PacoGuzman February 6th, 2010 @ 04:46 PM
Maybe we can use google ajax api, isn't it?
I wrote a patch using google ajax api, maybe the code added to the generator could be better. Let me know in that case
-
José Valim February 6th, 2010 @ 04:51 PM
- State changed from open to wontfix
No, we cannot use Google Ajax API. We should not assume ppl are online. :)
Actually, I think it's ok for index.html to contain prototype files. If you give --skip-prototype, the index page is not going to work anyway, with or without prototype headers and you are just going to trash the file next.
-
Max Hawkins February 6th, 2010 @ 08:57 PM
I've always hated having to delete index.html. What do you think of putting it into the builtin Rails::InfoController?
Then all people would need to is change their default route (which they're going to do anyway.)
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
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>