Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ARGV.empty? is useless. If ARGV is empty, ARGV.first != "new" will always be ↵ | Madjo DIAPENA | 2010-07-04 | 1 | -1/+1 |
| | | | | | | true Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | reload_routes! was still referencing old Rails::Application. | José Valim | 2010-07-02 | 1 | -6/+5 |
| | |||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 9 | -21/+17 |
| | | | | 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é Valim | 2010-06-29 | 1 | -1/+1 |
| | |||||
* | Create a deprecation behavior that triggers a notification for deprecation ↵ | wycats | 2010-06-29 | 3 | -0/+9 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Make the sentinel flag for route a bit more robust. | José Valim | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | Do not trigger the old mapper to avoid deprecation messages. | José Valim | 2010-06-28 | 1 | -1/+1 |
| | |||||
* | Update to latest rails.js | Jeremy Kemper | 2010-06-27 | 1 | -57/+114 |
| | | | | [#4411 state:resolved] | ||||
* | A few changes were done in this commit: | José Valim | 2010-06-28 | 6 | -47/+56 |
| | | | | | | * 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; | ||||
* | Change the generated Gemfile to resolve, via documentation, the issue of ↵ | wycats | 2010-06-25 | 1 | -3/+4 |
| | | | | rspec generators being unavailable in development mode | ||||
* | Dont reload the environment, just not needed bro | David Heinemeier Hansson | 2010-06-24 | 1 | -2/+0 |
| | |||||
* | Remove the --singeleton option from scaffold generator. | Prem Sichanugrist | 2010-06-24 | 7 | -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é Valim | 2010-06-24 | 5 | -258/+14 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Remove run_initializers from class methods. | José Valim | 2010-06-24 | 1 | -8/+0 |
| | |||||
* | Fix initializable tests | Jeremy Kemper | 2010-06-24 | 1 | -1/+1 |
| | |||||
* | Move Collection responsibility from application to initializable | Jeremy Kemper | 2010-06-24 | 2 | -2/+2 |
| | |||||
* | Speed up boot by tsorting as infrequently as possible | Jeremy Kemper | 2010-06-24 | 2 | -8/+3 |
| | |||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 5 | -21/+21 |
| | |||||
* | Patch for Namespace problem in Scaffold. [#4763 state:resolved] | Mohammed Siddick.E | 2010-06-23 | 12 | -60/+79 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Note that 'rails server' allows specifying mongrel, thin, etc [#4845 ↵ | Trevor Turk | 2010-06-22 | 1 | -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 ↵ | rohit | 2010-06-22 | 1 | -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 Kreeftmeijer | 2010-06-21 | 1 | -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 Noria | 2010-06-21 | 1 | -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é Valim | 2010-06-21 | 2 | -1/+2 |
| | |||||
* | Remove unused webrick_server file. | José Valim | 2010-06-21 | 1 | -156/+0 |
| | |||||
* | files in the lib directory are no longer autoloaded | Xavier Noria | 2010-06-21 | 1 | -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é Valim | 2010-06-20 | 2 | -49/+10 |
| | |||||
* | Improve documentation for add_lib_to_load_paths! | José Valim | 2010-06-20 | 1 | -3/+16 |
| | |||||
* | Added absolute path for config.ru as well. Turns out this is also needed to ↵ | Ryan Duryea | 2010-06-20 | 1 | -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 file | Ryan Duryea | 2010-06-20 | 1 | -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 ↵ | rohit | 2010-06-20 | 2 | -0/+0 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Strip trailing whitespace from generated applications [#4905 state:resolved] | Chris Griego | 2010-06-20 | 5 | -8/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵ | Andrew White | 2010-06-20 | 6 | -5/+13 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge branch 'master' of github.com:rails/rails | José Valim | 2010-06-20 | 1 | -24/+36 |
|\ | |||||
| * | Adds a few connection parameters for IBM databases. | Antonio Cangiano | 2010-06-18 | 1 | -24/+36 |
| | | | | | | | | | | | | [#3852] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Clear DescendantsTracker on each request. | José Valim | 2010-06-19 | 1 | -0/+2 |
|/ | |||||
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵ | Xavier Noria | 2010-06-14 | 4 | -4/+4 |
| | | | | not "ActiveRecord" | ||||
* | Tidy up generators based on latest change on AM. | José Valim | 2010-06-13 | 1 | -1/+1 |
| | |||||
* | Create mailers folder when starting a new rails app | Lawrence Curtis | 2010-06-12 | 1 | -0/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Support ruby 1.8.7 and 1.9.2 (and development versions) | Jeremy Kemper | 2010-06-11 | 1 | -3/+17 |
| | |||||
* | Single ruby version requirement message | Jeremy Kemper | 2010-06-11 | 1 | -9/+3 |
| | |||||
* | abort generation/booting on Ruby 1.9.1 | Xavier Noria | 2010-06-10 | 1 | -0/+6 |
| | |||||
* | detect being inside a rails application even from a subdirectory | Chad Fowler | 2010-06-10 | 2 | -19/+29 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix [#4631 ↵ | Jeff Kreeftmeijer | 2010-06-10 | 2 | -9/+24 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cut down even further on rake -T noise | David Heinemeier Hansson | 2010-06-09 | 3 | -23/+78 |
| | |||||
* | Cut down on tasks shown in rake -T | David Heinemeier Hansson | 2010-06-09 | 5 | -21/+21 |
| | |||||
* | Remove outdated section on web servers that didnt really tell you much anyway | David Heinemeier Hansson | 2010-06-09 | 1 | -26/+1 |
| | |||||
* | Remove needless links and search box and update doc links | David Heinemeier Hansson | 2010-06-09 | 1 | -17/+0 |
| | |||||
* | You dont have to manually mention the application layout, its automatically used | David Heinemeier Hansson | 2010-06-09 | 1 | -1/+0 |
| | |||||
* | Get ready for beta 4 | David Heinemeier Hansson | 2010-06-08 | 1 | -1/+1 |
| |