aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Allow a PID file to be specified to rails server [#5031 state:resolved]Sudara2010-07-081-0/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Print proper "Usage:" messages for "rails plugin" commandAkira Matsuda2010-07-071-2/+10
| | | | | | | | | * suppress outputting "Unknown command:" when no command were specified * output the "Usage:" message when no plugin names were given [#5043 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* whitespaceAkira Matsuda2010-07-071-50/+47
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge remote branch 'docrails/master'Xavier Noria2010-07-077-21/+29
|\
| * Add note about incompatibility of namespace and :controllerAndrew White2010-07-071-0/+6
| |
| * Fixed minor typo app/view to app/viewsl4u2010-07-061-1/+1
| |
| * Fixed typo in Rails::Generators::Base [#5051 state:resolved]Mark Hayes2010-07-061-1/+1
| |
| * Reword routing guide so that we talk about prefixing as a use of :as rather ↵Andrew White2010-07-041-3/+3
| | | | | | | | than as a specific prefixing option (which :name_prefix used to be).
| * Added release notes for 3 changes to helpersJeff Dean2010-07-041-1/+3
| |
| * Updated routing guide to reflect the fact that :name_prefix is now :asAndrew White2010-07-031-7/+7
| |
| * :singular is no longer a valid option for resources [#5037 state:resolved]Andrew White2010-07-031-4/+4
| |
| * Changed passed argument to :validate => false in validation skipping section.Uģis Ozols2010-07-031-2/+2
| |
| * Fixes README for generated apps with Rails 3 (rails *new* myapp, and Welcome ↵Jaime Iniesta2010-07-012-3/+3
| | | | | | | | aboard text)
* | Add a test to ensure url helpers are not action methods in ActionMailer.José Valim2010-07-071-0/+19
| |
* | documents automatic management of join models in hmt associations, in ↵Xavier Noria2010-07-061-0/+10
| | | | | | | | particular the gotcha that deletion is direct
* | Define a convention for descendants and subclasses.José Valim2010-07-051-52/+29
| | | | | | | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
* | ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will always be ↵Madjo DIAPENA2010-07-041-1/+1
| | | | | | | | | | | | true Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fix indentJeremy Kemper2010-07-021-1/+1
| |
* | reload_routes! was still referencing old Rails::Application.José Valim2010-07-021-6/+5
| |
* | bump erubis version to 2.6.6 and thor version to 0.13.7Santiago Pastorino2010-07-022-3/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Bump bundler dependency to 1.0.0.beta.2 or laterJeremy Kemper2010-07-011-1/+1
| |
* | 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>