Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use all in place of find(:all) | Vijay Dev | 2011-05-10 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #263 from CvX/master | José Valim | 2011-05-07 | 1 | -1/+1 | |
|\ | | | | | Corrected dbconsole usage message | |||||
| * | Corrected dbconsole usage message. | 2011-04-12 | 1 | -1/+1 | ||
| | | ||||||
* | | Always flush logger at exit | Jason Rudolph | 2011-05-06 | 1 | -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 Martin | 2011-05-06 | 1 | -1/+2 | |
| | | | | | | | | application's URL | |||||
* | | Remove defined?(ActiveRecord) and use the railtie hook instead. | José Valim | 2011-05-04 | 1 | -4/+0 | |
| | | ||||||
* | | Fix console to accept [environment] [options] as specified in docs. | Emilio Tagua | 2011-04-14 | 1 | -1/+1 | |
| | | ||||||
* | | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 4 | -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 Hansson | 2011-04-12 | 4 | -4/+4 | |
| | | | | suggestion! | |||||
* | Cant use inclusion in commands/application.rb as the frameworks havent all ↵ | David Heinemeier Hansson | 2011-04-11 | 1 | -2/+1 | |
| | | | | been required yet | |||||
* | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 5 | -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 railties | David Heinemeier Hansson | 2011-03-31 | 1 | -1/+1 | |
| | ||||||
* | Direct logging of Active Record to STDOUT so it's shown inline with the ↵ | David Heinemeier Hansson | 2011-03-31 | 1 | -0/+4 | |
| | | | | results in the console [DHH] | |||||
* | reduce two method calls per request, 1 to method_missing and one to send | Aaron Patterson | 2011-02-28 | 1 | -0/+4 | |
| | ||||||
* | Drop remaining script/plugin sources references | Tim Pope | 2011-02-03 | 1 | -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 Matsuda | 2011-02-01 | 1 | -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 Matsuda | 2011-01-31 | 1 | -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 Arndt | 2011-01-29 | 1 | -0/+12 | |
| | | | | from the CLI and a Thor::Error is raised. | |||||
* | load and prefer psych as the YAML parser when it is available | Aaron Patterson | 2011-01-21 | 1 | -0/+6 | |
| | ||||||
* | Don't need to support rails plugin --version | Piotr Sarnacki | 2010-11-16 | 1 | -6/+0 | |
| | ||||||
* | Added 'rails plugin new' generator which generates gem plugin skeleton. | Piotr Sarnacki | 2010-11-02 | 1 | -0/+16 | |
| | | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3. | |||||
* | no need to check for nil | Neeraj Singh | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | Send 'rails runner' help message to stdout instead of stderr. | rohit | 2010-09-19 | 1 | -1/+1 | |
| | | | | | | [#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fix output of 'rails runner --help' [#4249 state:open] | rohit | 2010-09-18 | 1 | -1/+1 | |
| | ||||||
* | "rails console t" must not load "production" but "test" | Akira Matsuda | 2010-09-02 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 2 | -2/+2 | |
| | ||||||
* | Trifling typos | Raphomet | 2010-08-21 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Add console hook to force ActiveRecord::Base to be loaded when console ↵ | José Valim | 2010-07-18 | 1 | -4/+1 | |
| | | | | starts avoiding reference loops. | |||||
* | 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> | |||||
* | 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> | |||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -1/+1 | |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | |||||
* | 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> | |||||
* | 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 | 1 | -0/+0 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Changing command line API from 'rails blog' to 'rails new blog'. | Mikel Lindsaar | 2010-06-04 | 1 | -1/+6 | |
| | | | | | | | | | | Also removed the limitation of not being able to call your new server any of the rails commands (generate, server, dbconsole, console etc) as there is no longer any ambiguity here. http://rails.lighthouseapp.com/projects/8994/tickets/4665 Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
* | Still copy application configuration to generator even if they are required ↵ | José Valim | 2010-06-02 | 2 | -0/+2 | |
| | | | | earlier. Also tidy up the guide a little bit. | |||||
* | add support for mysql2 adapter to dbconsole | Brian Lopez | 2010-05-04 | 1 | -2/+2 | |
| | | | | | | [#4532 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Move ActionMailer generator to AM | Carlhuda | 2010-04-29 | 1 | -1/+1 | |
| | ||||||
* | The rake task :environment now loads config/environment.rb instead of ↵ | José Valim | 2010-04-29 | 3 | -1/+2 | |
| | | | | initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks. | |||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 1 | -1/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make db console work for all versions of ruby on Windows. | unknown | 2010-04-26 | 1 | -1/+2 | |
| | | | | | | [#3999 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fix regexp typo | Jeremy Kemper | 2010-04-13 | 1 | -1/+1 | |
| | ||||||
* | Make RUBY_PLATFORM windows regex consistent [#4345 state:resolved] | Anil Wadghule | 2010-04-12 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Create tmp directories if required before starting server [#3907 state:resolved] | Ravinder Singh | 2010-03-31 | 1 | -0/+5 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make script/dbconsole work with oracle (sqlplus ↵ | Edgars Beigarts | 2010-03-26 | 1 | -0/+12 | |
| | | | | | | <username>[/<password>][@<connect_identifier>]) [#3773 state:resolved] | |||||
* | bin/rails should use the new app generator path. | José Valim | 2010-03-23 | 1 | -1/+1 | |
| |