aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* Change the generated Gemfile to resolve, via documentation, the issue of ↵wycats2010-06-251-3/+4
| | | | rspec generators being unavailable in development mode
* Dont reload the environment, just not needed broDavid Heinemeier Hansson2010-06-241-2/+0
|
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-247-29/+3
| | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-245-258/+14
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Remove run_initializers from class methods.José Valim2010-06-241-8/+0
|
* Fix initializable testsJeremy Kemper2010-06-241-1/+1
|
* Move Collection responsibility from application to initializableJeremy Kemper2010-06-242-2/+2
|
* Speed up boot by tsorting as infrequently as possibleJeremy Kemper2010-06-242-8/+3
|
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-245-21/+21
|
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-2312-60/+79
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵Trevor Turk2010-06-221-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Rails Runner now sets $0 and $PROGRAM_NAME to name of file being run [#2244 ↵rohit2010-06-221-0/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Changed `ruby /path/to/rails myapp --dev` to `ruby /path/to/rails new myapp ↵Jeff Kreeftmeijer2010-06-211-1/+1
| | | | | | --dev` in the "Thor is not avalable" message. [#4915 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "files in the lib directory are no longer autoloaded"Xavier Noria2010-06-211-5/+1
| | | | | | | This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f.
* Alias app to build_middleware_stack for clarity.José Valim2010-06-212-1/+2
|
* Remove unused webrick_server file.José Valim2010-06-211-156/+0
|
* files in the lib directory are no longer autoloadedXavier Noria2010-06-211-1/+5
| | | | | | | | | | | Conceptually, the lib directory is closer 3rd party libraries than to the application itself. Thus, Rails adds it to Ruby's load path ($LOAD_PATH, $:) but it is no longer included in dependencies' load paths. To enable autoloading back put this in your config/application.rb config.load_paths += %W( #{config.root}/lib )
* Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader.José Valim2010-06-202-49/+10
|
* Improve documentation for add_lib_to_load_paths!José Valim2010-06-201-3/+16
|
* Added absolute path for config.ru as well. Turns out this is also needed to ↵Ryan Duryea2010-06-201-1/+2
| | | | | | | | fix the daemon issue under ruby 1.8.7 [#4531 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Pass rack the absolute path of server's pid fileRyan Duryea2010-06-201-1/+1
| | | | | | | | | When running as a daemon, rack will cd to "/" and paths relative to the root of the rails app aren't valid when rack is setting up. Because of this, "rails server -d" was failing silently when trying to write it's pid file Signed-off-by: José Valim <jose.valim@gmail.com>
* remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-202-0/+0
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Strip trailing whitespace from generated applications [#4905 state:resolved]Chris Griego2010-06-205-8/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵Andrew White2010-06-206-5/+13
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of github.com:rails/railsJosé Valim2010-06-201-24/+36
|\
| * Adds a few connection parameters for IBM databases.Antonio Cangiano2010-06-181-24/+36
| | | | | | | | | | | | [#3852] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Clear DescendantsTracker on each request.José Valim2010-06-191-0/+2
|/
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-144-4/+4
| | | | not "ActiveRecord"
* Tidy up generators based on latest change on AM.José Valim2010-06-131-1/+1
|
* Create mailers folder when starting a new rails appLawrence Curtis2010-06-121-0/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Support ruby 1.8.7 and 1.9.2 (and development versions)Jeremy Kemper2010-06-111-3/+17
|
* Single ruby version requirement messageJeremy Kemper2010-06-111-9/+3
|
* abort generation/booting on Ruby 1.9.1Xavier Noria2010-06-101-0/+6
|
* detect being inside a rails application even from a subdirectoryChad Fowler2010-06-102-19/+29
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵Jeff Kreeftmeijer2010-06-102-9/+24
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Cut down even further on rake -T noiseDavid Heinemeier Hansson2010-06-093-23/+78
|
* Cut down on tasks shown in rake -TDavid Heinemeier Hansson2010-06-095-21/+21
|
* Remove outdated section on web servers that didnt really tell you much anywayDavid Heinemeier Hansson2010-06-091-26/+1
|
* Remove needless links and search box and update doc linksDavid Heinemeier Hansson2010-06-091-17/+0
|
* You dont have to manually mention the application layout, its automatically usedDavid Heinemeier Hansson2010-06-091-1/+0
|
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* Hide remaining generators hooks [#4790 state:resolved]José Valim2010-06-081-1/+5
|
* Add delete to middleware stack proxy.José Valim2010-06-071-0/+4
|
* Improve performance of the Logger middleware by using simpler versions of ↵wycats2010-06-041-3/+4
| | | | methods
* Improve performance of the log subscriber by remembering the list of all ↵wycats2010-06-041-3/+10
| | | | loggers instead of trying to extract them each time
* Readme file changes:Rizwan Reza2010-06-051-56/+23
| | | | | | | * Took out stuff that's not relevant (or useful) anymore. * Some formatting. * Added helpful links to get started with Rails. * Took out Apache htaccess tutorial since we aren't teaching Apache here.
* Merge branch 'master' of git://github.com/rails/railsRizwan Reza2010-06-058-12/+23
|\
| * Missed fixing the banner on the Usage output for ThorMikel Lindsaar2010-06-041-1/+1
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Changing command line API from 'rails blog' to 'rails new blog'.Mikel Lindsaar2010-06-044-5/+15
| | | | | | | | | | | | | | | | | | | | Also removed the limitation of not being able to call your new server any of the rails commands (generate, server, dbconsole, console etc) as there is no longer any ambiguity here. http://rails.lighthouseapp.com/projects/8994/tickets/4665 Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-025-7/+16
| |\