Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'mainstream/master' | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
|\ | |||||
| * | Remove script/performance/profiler in favour of performance integration tests. | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
| | | | | | | | | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-01-10 | 1 | -1/+1 |
|\| | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb | ||||
| * | Allow custom rails generators to pass in their own binding to Create command ↵ | Joshua Peek | 2008-12-28 | 1 | -1/+1 |
| | | | | | | | | so that the corresponding erb templates get rendered with the proper binding [#1493 state:resolved] | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2008-12-28 | 1 | -67/+64 |
|\| | |||||
| * | Ensure template runner tests don't depend on hash ordering [#1654 ↵ | Mike Gunderloy | 2008-12-28 | 1 | -1/+1 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵ | Aaron Quint | 2008-12-28 | 1 | -0/+10 |
| | | | | | | | | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵ | Aaron Quint | 2008-12-27 | 1 | -66/+53 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Added documentation to gsub_file method | Andrew Timberlake | 2008-12-28 | 1 | -1/+7 |
|/ | |||||
* | Make generated Metal bits a pure rack endpoint application (not middleware) | Joshua Peek | 2008-12-17 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of calling super to pass the request on, return a 404. The modified app looks like this: # app/metal/poller.rb class Poller def self.call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/html"}, "Hello, World!"] else [404, {"Content-Type" => "text/html"}, "Not Found"] end end end But you aren't locked in to just Rails: # app/metal/api.rb require 'sinatra' Sinatra::Application.default_options.merge!(:run => false, :env => :production) Api = Sinatra.application unless defined? Api get '/interesting/new/ideas' do 'Hello Sinatra!' end | ||||
* | Introduce Rails Metal | Joshua Peek | 2008-12-16 | 3 | -0/+28 |
| | | | | | | | | | | | | | | | | | | | # app/metal/poller.rb class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "application/json"}, Message.recent.to_json] else super end end end * There is a generator to help you get started `script/generate metal poller` * Also, metal bits can be ran standalone with rackup `rackup app/metal/poller.rb` | ||||
* | Fix message when running TemplateRunner#git. [#1526 state:resolved] | Sergio Gil | 2008-12-08 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add a rake task to apply a template to an existing application. | Pratik Naik | 2008-12-07 | 2 | -3/+3 |
| | | | | Example : rake rails:template LOCATION=~/template.rb | ||||
* | Remove unused TemplateRunner attributes | Pratik Naik | 2008-12-07 | 1 | -1/+1 |
| | |||||
* | Added support for plugins to be installed as submodules with the application ↵ | Peter Cooper | 2008-12-06 | 1 | -1/+7 |
| | | | | | | templater. [#1517 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Add :env and :sudo options to TemplateRunner#rake. | Pratik Naik | 2008-12-04 | 1 | -3/+6 |
| | | | | | | | Examples : rake("gems:install", :sudo => true) rake("db:migrate", :env => "production") | ||||
* | Make TemplateRunner#generate accept any number of arguments | Pratik Naik | 2008-12-03 | 1 | -3/+3 |
| | |||||
* | Remove docs for TemplateRunner#gem as the behaviour has been changed | Pratik Naik | 2008-12-02 | 1 | -13/+0 |
| | |||||
* | Add "-m/--template" option to Rails generator to apply template to generated ↵ | Jeremy McAnally | 2008-12-02 | 7 | -0/+423 |
| | | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Generate rackup dispatcher with rails:update:generate_dispatchers | Joshua Peek | 2008-12-01 | 1 | -0/+1 |
| | |||||
* | Extracted the process scripts (inspector, reaper, spawner) into the plugin ↵ | David Heinemeier Hansson | 2008-11-30 | 1 | -3/+2 |
| | | | | irs_process_scripts [DHH] | ||||
* | Cleanup the app generator | David Heinemeier Hansson | 2008-11-30 | 1 | -142/+196 |
| | |||||
* | Explicitly require AS::Deprecation for the SecretKeyGenerator. Bring in ↵ | Jeremy Kemper | 2008-11-24 | 1 | -0/+2 |
| | | | | ActiveSupport::TestCase for its tests. | ||||
* | Fix typo in 5b5730cc6e9194fb5f67fe79d2c7849e200ba6ed | Pratik Naik | 2008-11-24 | 1 | -4/+4 |
| | |||||
* | Don't generate public/dispatch.cgi/fcgi/rb files by default. | Yaroslav Markin | 2008-11-24 | 1 | -4/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵ | David Heinemeier Hansson | 2008-11-22 | 1 | -3/+4 |
| | | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH] | ||||
* | Require active_support/secure_random for Ruby 1.9. | Akira Matsuda | 2008-11-19 | 1 | -0/+1 |
| | | | | | | [#1326 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added config.i18n settings gatherer to config/environment, auto-loading of ↵ | David Heinemeier Hansson | 2008-11-18 | 1 | -0/+4 |
| | | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH] | ||||
* | Add helper test generators [#1199 state:resolved] | Eugene Bolshakov | 2008-11-17 | 12 | -14/+92 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵ | David Heinemeier Hansson | 2008-11-17 | 1 | -1/+2 |
| | | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH] | ||||
* | Fixed plugin generator so that generated unit tests would subclass ↵ | Mathias Meyer | 2008-10-30 | 4 | -12/+16 |
| | | | | | | ActiveSupport::TestCase, also introduced a helper script to reduce the needed require statements. [#1137 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Fix script/generate warning | Pratik Naik | 2008-10-21 | 1 | -1/+2 |
| | |||||
* | Don't create test/performance/test_helper.rb. Just require the needed files ↵ | Pratik Naik | 2008-10-17 | 2 | -2/+2 |
| | | | | from test directly. [#1135 state:resolved] | ||||
* | Remove the class_path from the collisions test. | Michael Koziarski | 2008-10-14 | 9 | -11/+11 |
| | | | | The class_path is often taken already in situations like Admin namespaces etc. | ||||
* | Don't include the path when checking class collisions [#545 state:resolved] | Joshua Peek | 2008-10-13 | 1 | -0/+1 |
| | |||||
* | Add IMB DB support to Rails application generator. [#1136 state:resolved] | Antonio Cangiano | 2008-10-04 | 1 | -1/+1 |
| | | | | | | Usage : rails app_name -d ibm_db Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Dont reference the class being tested when it can be assumed | David Heinemeier Hansson | 2008-09-09 | 1 | -1/+0 |
| | |||||
* | Formally deprecate the old secret key generator | Michael Koziarski | 2008-08-27 | 1 | -0/+1 |
| | |||||
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom. | Hongli Lai (Phusion | 2008-08-27 | 2 | -149/+5 |
| | | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed] | ||||
* | Generate belongs_to association when generating a model | Tarmo Tänav | 2008-08-23 | 2 | -1/+5 |
| | |||||
* | Generate belongs_to associations automatically for 'references' types [#640 ↵ | Tarmo Tänav | 2008-08-23 | 1 | -0/+3 |
| | | | | state:resolved] | ||||
* | Removed config.ru template from app generator | Joshua Peek | 2008-08-19 | 1 | -1/+0 |
| | |||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Set config.active_record.timestamped_migrations = false to have migrations ↵ | Nik Wakelin | 2008-07-17 | 1 | -1/+16 |
| | | | | | | with numeric prefix instead of UTC timestamp. [#446 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 4 | -14/+17 |
| | |||||
* | Add config.ru to rails app generator | Pratik Naik | 2008-07-16 | 1 | -0/+1 |
| | |||||
* | Ensure script/generate finds generators from symlinked plugins. [#449 ↵ | Daniel Guettler | 2008-07-12 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Fixed generator collisions for nested controller modules." | Joshua Peek | 2008-07-11 | 1 | -16/+9 |
| | | | | This reverts commit 2d372d704987e05712ccd937e78d8dbd41242efe. | ||||
* | Ensure Rails::Generator quotes file names while generating diff. [#264 ↵ | Carl Porth | 2008-07-02 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure observer test inherits from ActiveSupport::TestCase | Pratik Naik | 2008-06-27 | 1 | -1/+1 |
| |