aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands
Commit message (Collapse)AuthorAgeFilesLines
* broadcasting to the console and remove file tailing middlewareAaron Patterson2012-01-201-1/+7
|
* do not do reverse lookups on incoming requests for webrick. fixes #4542Aaron Patterson2012-01-191-0/+1
|
* fixes in api docsVijay Dev2012-01-132-2/+2
|
* No need to require psych since require yaml does that.Rafael Mendonça França2012-01-041-1/+0
|
* No need to use rescue block to require psychRafael Mendonça França2012-01-041-6/+1
|
* Rails::Plugin has goneSantiago Pastorino2012-01-031-544/+0
|
* gem ruby-debug19 for console error if ruby-debug19 not foundVishnu Atrai2011-12-251-1/+1
|
* Get rid of more 1.8.x dead codeJosé Valim2011-12-201-1/+1
|
* dbconsole: Use the app's database_configuration instead of duplicating code.Dieter Komendera2011-12-141-1/+1
|
* Remove the -h option to dbconsole which is the shorter form of --headerVijay Dev2011-11-221-1/+1
| | | | | | This is done since the -h option to dbconsole hides the conventional -h for help and forces users to use --help to see the usage options for dbconsole.
* Substituted RailsCommands for Rails::CommandsDaniel Dyba2011-11-161-159/+161
|
* Changed Commands module to RailsCommands.Daniel Dyba2011-11-161-3/+3
| | | | | | This is to avoid a conflict that occurs when you add Rake to your Gemfile. There is a Commands Object in Rake that conflicts with the Commands module in plugin.rb. See rails issue #1866.
* Extend IRB right before starting IRB to remove dependency on IRB from ↵Akira Matsuda2011-11-101-0/+2
| | | | Rails::Application
* Use toplevel Rack::ContentLengthJeremy Kemper2011-10-191-1/+1
|
* Use again Rack's ContentLength middleware part 2Santiago Pastorino2011-10-181-0/+1
|
* Use again Rack's ContentLength middlewareSantiago Pastorino2011-10-181-1/+0
|
* Print information about .railsrc to usersGuillermo Iguaran2011-10-021-0/+1
|
* Read extra args for 'rails new' from ~/.railsrcGuillermo Iguaran2011-10-021-0/+7
|
* replace dev.ror.com plugin url with a dummy oneVijay Dev2011-06-161-2/+2
|
* make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
|
* Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-091-1/+3
|\ | | | | Fix engine's generator
| * Refactor identifying generator's destination rootStefan Sprenger2011-05-271-5/+2
| |
| * Introducing engine commandsStefan Sprenger2011-05-261-1/+6
| |
* | Fixing Rails::Server#app under Rack::URLMapGuillermo Iguaran2011-06-071-1/+1
| |
* | Remove trailing white-spacesGuillermo Iguaran2011-06-052-6/+6
|/
* Everyone receives app as argument for consistency.José Valim2011-05-251-1/+2
|
* Actually this file may be invoked directly as well with --dev.José Valim2011-05-252-1/+3
|
* Streamline generators initialization flow.José Valim2011-05-253-7/+1
|
* Move content length to the server, this brings the same behavior as in rack 1.2.José Valim2011-05-231-0/+1
|
* Merge pull request #247 from goncalossilva/performance_testJeremy Kemper2011-05-172-62/+55
|\ | | | | Performance tests improved
| * benchmarker and profiler now use the new performance testing tools (support ↵Gonçalo Silva2011-05-102-62/+55
| | | | | | | | for Rubinius and JRuby and high configurability)
* | Use all in place of find(:all)Vijay Dev2011-05-101-1/+1
|/
* Merge pull request #263 from CvX/masterJosé Valim2011-05-071-1/+1
|\ | | | | Corrected dbconsole usage message
| * Corrected dbconsole usage message.2011-04-121-1/+1
| |
* | Always flush logger at exitJason Rudolph2011-05-061-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change, running code via script/runner would demonstrate different logging behavior than running the same code via a rake task. In production mode the script/runner approach would always flush the logger, but the rake-based approach would not automatically flush the logger. This discrepancy violates the principle of least surprise, and it could lead to the loss of important production logging data. This change removes special-case code in the "runner" command, and replaces it with a general solution to ensure that the logger gets flushed at exit. This solution works for "runner", "console", "server", rake tasks, and any other process that loads the Rails environment.
* | Take into account the Rack::Server :SSLEnable option when building the ↵Daniel Martin2011-05-061-1/+2
| | | | | | | | application's URL
* | Remove defined?(ActiveRecord) and use the railtie hook instead.José Valim2011-05-041-4/+0
| |
* | Fix console to accept [environment] [options] as specified in docs.Emilio Tagua2011-04-141-1/+1
| |
* | Remove `#among?` from Active SupportPrem Sichanugrist2011-04-134-4/+4
|/ | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-124-4/+4
| | | | suggestion!
* Cant use inclusion in commands/application.rb as the frameworks havent all ↵David Heinemeier Hansson2011-04-111-2/+1
| | | | been required yet
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-115-5/+15
| | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-311-1/+1
|
* Direct logging of Active Record to STDOUT so it's shown inline with the ↵David Heinemeier Hansson2011-03-311-0/+4
| | | | results in the console [DHH]
* reduce two method calls per request, 1 to method_missing and one to sendAaron Patterson2011-02-281-0/+4
|
* Drop remaining script/plugin sources referencesTim Pope2011-02-031-6/+1
| | | | | | [#3742 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Accept 'postgres' as a PostgreSQL driver name in dbconsole for non-AR ORMs ↵Akira Matsuda2011-02-011-1/+1
| | | | | | | | like DataMapper and Sequel [#6180 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* "rails dbconsole t" must not load "production" but "test"Akira Matsuda2011-01-311-1/+1
| | | | | | [#6293 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use Thor's self.exit_on_failure? to exit whenever accessing the generators ↵Philip Arndt2011-01-291-0/+12
| | | | from the CLI and a Thor::Error is raised.
* load and prefer psych as the YAML parser when it is availableAaron Patterson2011-01-211-0/+6
|