aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make sure ENV['RAILS_ENV'] and RAILS_ENV are kept in syncJamis Buck2005-10-121-5/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Honor the runner -e toggle even if the RAILS_ENV constant has already been setJamis Buck2005-10-121-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use the correct scope for Rake tasksDavid Heinemeier Hansson2005-10-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Migrating should also dump the latest schemaDavid Heinemeier Hansson2005-10-121-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mv lib/version.rb to lib/rails_version.rbJamis Buck2005-10-101-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add versioning convention from SwitchTower to all Rails components. Add ↵Marcel Molina2005-10-091-0/+9
| | | | | | --version, -v option to the 'rails' command. Closes #1840. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Prototype to V1.4.0_pre11, script.aculo.us to [2502] and fix the ↵Thomas Fuchs2005-10-091-4/+7
| | | | | | rails generator to include the new .js files [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backing out of #2496. Comparing md5 checksums is in no way faster than doing ↵Marcel Molina2005-10-081-2/+1
| | | | | | a direct compare. Benchmarks help. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Compare md5 checksums of files rather than files themselves, as it's far ↵Marcel Molina2005-10-081-1/+2
| | | | | | faster for large files (like logs). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Skip directories when checking for identical source and destination files.Marcel Molina2005-10-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Evaluate dynamic templates before checking if the new file is identical to ↵Marcel Molina2005-10-081-5/+13
| | | | | | the old one. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the generator skip a file if it already exists and is identical to the ↵Marcel Molina2005-10-081-3/+10
| | | | | | new file. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look here, braces: gimme some elbow room. #2418Jeremy Kemper2005-10-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include script/process dirDavid Heinemeier Hansson2005-10-061-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include runDavid Heinemeier Hansson2005-10-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of script/run portal idea. Muscle memory too deepDavid Heinemeier Hansson2005-10-064-6/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Keep Units and Functionals around for those who don't upgrade their app ↵Jeremy Kemper2005-10-051-1/+1
| | | | | | right away. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load plugins lastJamis Buck2005-10-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* prepend to load path before loading the pluginJamis Buck2005-10-051-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add experimental plugin support #2335Jamis Buck2005-10-051-1/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update the spinner to the latest commandsDavid Heinemeier Hansson2005-09-301-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont redefine RAILS_ENV once setDavid Heinemeier Hansson2005-09-301-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the order of framework settings significant so ↵David Heinemeier Hansson2005-09-301-16/+35
| | | | | | config.action_controller.allow_concurrency can be specified before config.action_controller.fragment_cache_store, which relies on the value of the former git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont bitch over resetting constDavid Heinemeier Hansson2005-09-291-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the act of commandsDavid Heinemeier Hansson2005-09-298-15/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed all the scripts in script/* and replaced it with one generic portal: ↵David Heinemeier Hansson2005-09-2915-8/+352
| | | | | | script/run git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Going to pull all commands into RailsDavid Heinemeier Hansson2005-09-293-0/+232
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Solved the hanging issue.. USR2 is now the preferred way of restarting FCGIs!David Heinemeier Hansson2005-09-281-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Solved the hanging issue.. USR2 is now the preferred way of restarting FCGIs!David Heinemeier Hansson2005-09-281-3/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont log it twiceDavid Heinemeier Hansson2005-09-281-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added in-process restarting on USR2 -- still missing a good way to free up ↵David Heinemeier Hansson2005-09-281-10/+32
| | | | | | the socket, so not a complete solution yet. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make table_name and controller_name in generators honor ↵Marcel Molina2005-09-282-3/+3
| | | | | | AR::Base.pluralize_table_names. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* #2261 was supposed to have been closed as wontfix, not sure why it wasn't,Scott Barron2005-09-271-1/+1
| | | | | | | | sorry. We discussed this on IRC and reached the conclusion that it was an undesirable addition. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket 2261 - Include lib/tasks/*.rake in rake statsJeremy Kemper2005-09-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket 2297 - rake stats clearly labels functional and unit testsJeremy Kemper2005-09-272-11/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the migration generator only check files ending in *.rb when ↵Sam Stephenson2005-09-271-1/+1
| | | | | | calculating the next file name #2317 [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added prevention of duplicate migrations from the generator #2240 ↵David Heinemeier Hansson2005-09-241-0/+2
| | | | | | [fbeausoleil@ftml.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add db_schema_dump and db_schema_import rake tasks to work with the new ↵Jamis Buck2005-09-231-1/+15
| | | | | | ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only configure settings for loaded frameworksDavid Heinemeier Hansson2005-09-221-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-201-0/+1
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include ActionView as a configurable frameworkDavid Heinemeier Hansson2005-09-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include libs/ in rake stats #2223 [Marcel Molina]David Heinemeier Hansson2005-09-191-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that generate scaffold claims all words are reserved #2200, #2211 ↵David Heinemeier Hansson2005-09-171-2/+3
| | | | | | [alancfrancis@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't set the :MimeTypes option if it is nil (causes routing errors on ↵Jamis Buck2005-09-151-5/+6
| | | | | | stylesheets and javascripts, somehow) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cant use silence_warnings before active support is loadedDavid Heinemeier Hansson2005-09-151-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-151-6/+2
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the ↵David Heinemeier Hansson2005-09-151-0/+11
| | | | | | connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved session and fragment options outDavid Heinemeier Hansson2005-09-131-6/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only include dirs that exists in the statsDavid Heinemeier Hansson2005-09-131-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Control depedency mechanism, breakpoints, and whiny nils through the configDavid Heinemeier Hansson2005-09-131-50/+93
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de