Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes usage message when running rails without --dev on a cloned rails repo | Santiago Pastorino | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-26 | 1 | -1/+1 |
|\ | |||||
| * | Fix small middlewares typo | Jack Dempsey | 2010-07-24 | 1 | -1/+1 |
| | | |||||
* | | Object#returning removed | Santiago Pastorino | 2010-07-25 | 1 | -1/+0 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 4 | -14/+14 |
|/ | | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there. | ||||
* | Change some missing README -> README.rdoc | Santiago Pastorino | 2010-07-22 | 1 | -8/+8 |
| | |||||
* | Make config.generators accept string namespaces, you can do now ↵ | Santiago Pastorino | 2010-07-21 | 1 | -0/+1 |
| | | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | We are doing the same in this conditions | Santiago Pastorino | 2010-07-21 | 1 | -3/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | This example is better for guides and gem/plugins docs | Santiago Pastorino | 2010-07-20 | 1 | -7/+0 |
| | |||||
* | Add console hook to force ActiveRecord::Base to be loaded when console ↵ | José Valim | 2010-07-18 | 3 | -12/+24 |
| | | | | starts avoiding reference loops. | ||||
* | Add skip_eager_load!, skip_autoload! and friends to path objects. | José Valim | 2010-07-17 | 1 | -28/+12 |
| | |||||
* | minor pass to generated code in application.rb related to :defaults | Xavier Noria | 2010-07-16 | 1 | -3/+3 |
| | |||||
* | Adds application.js when app is generated with -J and clear ↵ | Santiago Pastorino | 2010-07-17 | 2 | -0/+5 |
| | | | | javascript_expansions[:defaults] | ||||
* | Explain how to change javascript default files | Santiago Pastorino | 2010-07-17 | 1 | -0/+3 |
| | |||||
* | upgrade prototype to be compatible with rails.js [#5109 state:committed] | Andrew Kaspick | 2010-07-14 | 1 | -890/+2017 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -2/+2 |
| | |||||
* | application.rb: revises the comment for autoload_paths so that is assumes ↵ | Xavier Noria | 2010-07-09 | 1 | -3/+3 |
| | | | | less from the user, and unifies punctuation | ||||
* | Allow a PID file to be specified to rails server [#5031 state:resolved] | Sudara | 2010-07-08 | 1 | -0/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Print proper "Usage:" messages for "rails plugin" command | Akira Matsuda | 2010-07-07 | 1 | -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> | ||||
* | whitespace | Akira Matsuda | 2010-07-07 | 1 | -50/+47 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-07 | 2 | -2/+2 |
|\ | |||||
| * | Fixed typo in Rails::Generators::Base [#5051 state:resolved] | Mark Hayes | 2010-07-06 | 1 | -1/+1 |
| | | |||||
| * | Fixes README for generated apps with Rails 3 (rails *new* myapp, and Welcome ↵ | Jaime Iniesta | 2010-07-01 | 1 | -1/+1 |
| | | | | | | | | aboard text) | ||||
* | | 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 | 6 | -259/+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 |
| |