aboutsummaryrefslogtreecommitdiffstats
path: root/railties
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
|
* adding missing assertion and fixing the testNeeraj Singh2010-06-241-2/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fixing test by replacing assert with assert_equalNeeraj Singh2010-06-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-249-51/+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>
* adding middleware test for RAILS_CACHENeeraj Singh2010-06-241-0/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove obsolete test case, since we have move Rails::LogSubscriber to ↵Prem Sichanugrist2010-06-241-9/+0
| | | | | | ActiveSupport::LogSubscriber in [6788db824ab732b13493a9d702dd8fb89fa153c8] [#4816 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* AS::Isolation functional on Windows/JRuby.Nick Sieger2010-06-241-2/+0
| | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com>
* Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵José Valim2010-06-247-382/+14
| | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
* Remove run_initializers from class methods.José Valim2010-06-242-33/+14
|
* 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-243-9/+4
|
* Don't halt railties tests on failuresJeremy Kemper2010-06-241-2/+2
|
* Array#sample now exists, so test for #forty_two insteadJeremy Kemper2010-06-241-1/+1
|
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-247-24/+27
|
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-2313-60/+185
| | | | 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>
* Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME ↵rohit2010-06-221-0/+49
| | | | | | [#2244 state:open] Signed-off-by: José Valim <jose.valim@gmail.com>
* Bump rack-mount to 0.6.5 for tokenizer speedupJeremy Kemper2010-06-211-1/+1
|
* 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-212-8/+2
| | | | | | | 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-212-2/+8
| | | | | | | | | | | 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 )
* Merge remote branch 'rails/master'Xavier Noria2010-06-2033-233/+317
|\ | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb
| * I18n.reload! is only called if any of the locale files actually changed.José Valim2010-06-202-108/+114
| |
| * 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
| |
| * Add test for migration generator with name not starting with add or remove. ↵rohit2010-06-201-0/+15
| | | | | | | | | | | | [#4835 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
| * 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-207-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-207-5/+23
| | | | | | | | | | | | 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-195-35/+77
| |/
| * Merge branch 'master' of github.com:rails/railsJosé Valim2010-06-171-0/+2
| |\
| | * use RDoc 2.2 to generate the documentation of individual componentsXavier Noria2010-06-161-0/+2
| | |
| * | Add a failing test for ticket #4874José Valim2010-06-171-0/+14
| |/
* | Generators Guide: Typo of my ownrspeicher2010-06-201-1/+1
| |
* | Generators Guide: Style/grammar changes and minor typosrspeicher2010-06-201-24/+24
| |
* | Generators Guide: Make titles conform to conventionsrspeicher2010-06-201-8/+8
| |
* | Generators Guide: Remove semicolons from prologue, as none of the other ↵rspeicher2010-06-201-6/+6
| | | | | | | | guides had them
* | cleaner output for rake validate_guides: dot-style, brief summary and ↵Jaime Iniesta2010-06-181-6/+29
| | | | | | | | detailed description below
* | Merge remote branch 'origin/master'Bryan Woods2010-06-162-21/+21
|\ \
| * | Clarify language around list of finder methods.kaygee2010-06-161-2/+2
| | | | | | | | | | | | Clarify that finder methods return an instance of class ActiveRecord::Relation.
| * | Fix incorrect pluralization in 'These methods allows you to pass arguments...'.kaygee2010-06-161-1/+1
| | |