aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* | Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-0114-72/+48
|/ | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Change :notification to :notify (ht: m4n)José Valim2010-06-291-1/+1
|
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-295-1/+12
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Push a failing test for issues [#4994] and [#5003].José Valim2010-06-291-1/+14
|
* Make the sentinel flag for route a bit more robust.José Valim2010-06-281-1/+1
|
* Do not trigger the old mapper to avoid deprecation messages.José Valim2010-06-281-1/+1
|
* Update CHANGELOGs.José Valim2010-06-281-0/+4
|
* Update to latest rails.jsJeremy Kemper2010-06-271-57/+114
| | | | [#4411 state:resolved]
* A few changes were done in this commit:José Valim2010-06-2810-119/+119
| | | | | | * Added :autoload to engines path API and redefine usage to be in sync with 6f83a5036d8a9c3f8ed7; * Do not autoload code in *lib* for applications (now you need to explicitly require them). This makes an application behave closer to an engine (code in lib is still autoloaded for plugins); * Always autoload code in app/ for engines and plugins. This makes engines behave closer to an application and should allow us to get rid of the unloadable hack required when controllers inside engines inherit from ApplicationController;
* Merge remote branch 'rails/master'Xavier Noria2010-06-2849-740/+324
|\
| * 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 )
* | your beloved and infamuous typo only spottable in github colored diff, thank youXavier Noria2010-06-281-1/+1
| |
* | AS guide: documents String|conversionsXavier Noria2010-06-271-0/+84
| |
* | Provide example for working around that regexp anchors can't be in route ↵Trevor Turk2010-06-251-1/+10
| | | | | | | | constraints
* | added to_xml section for controllerNeeraj Singh2010-06-251-0/+19
| |
* | regexp anchors can't be in route constraintsNeeraj Singh2010-06-251-0/+6
| |
* | Guides: replace reference to hpricot with nokogiri [#3290 state:resolved]rohit2010-06-231-2/+2
| |
* | fixing some comma and grammar problems in the note about SQLite3 and other ↵Jamison Dance2010-06-221-1/+1
| | | | | | | | database configurations
* | Ignore file guides/output/layout.html on W3C validationsJaime Iniesta2010-06-211-0/+1
| |
* | Guides: AS Core Extensions, minor typerohit2010-06-211-1/+1
| |
* | Guides: AS Core Extentions, fix warning message to display correctly.rohit2010-06-211-2/+1
| |
* | Guides: AS Core Extentions, minor typos fixed.rohit2010-06-211-2/+2
| |
* | Generators Guide: Fix another typo I introducedrspeicher2010-06-201-1/+1
|/
* 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
| |