Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed remaining old generators files. | José Valim | 2009-07-03 | 12 | -1612/+0 |
| | |||||
* | rm -rf rails_generator/generators | José Valim | 2009-07-02 | 80 | -1329/+0 |
| | |||||
* | No more application generator. | José Valim | 2009-06-19 | 6 | -704/+0 |
| | |||||
* | Secret key generator. You are gone. | José Valim | 2009-06-19 | 1 | -24/+0 |
| | |||||
* | Add an model_subclass generator. | Fabien Jakimowicz | 2009-05-27 | 4 | -0/+56 |
| | | | | | | | | This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments. [#2702 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Remove obsolete wiki reference [#2291 state:resolved] | Mike Gunderloy | 2009-05-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Get Railties passing again | Yehuda Katz | 2009-05-16 | 2 | -2/+2 |
| | |||||
* | Added db/seeds.rb as a default file for storing seed data for the database. ↵ | David Heinemeier Hansson | 2009-05-11 | 1 | -0/+5 |
| | | | | Can be loaded with rake db:seed (or created alongside the db with db:setup). (This is also known as the "Stop Putting Gawd Damn Seed Data In Your Migrations" feature) [DHH] | ||||
* | Fixed that template runner gem method to output :lib => false correctly ↵ | Damian Terentiev | 2009-03-12 | 1 | -1/+1 |
| | | | | | | [#1940 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure TemplateRunner#ask? works with the rake task to apply a template ↵ | Andrew Timberlake | 2009-03-09 | 1 | -1/+1 |
| | | | | | | [#1655 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Use Array.wrap() instead of Array() and handle ↵ | Pratik Naik | 2009-02-28 | 1 | -1/+1 |
| | | | | action_view.cache_template_loading being false | ||||
* | Ensure 16b3d2b621b1682f249209097c31b0a10f0f87ef works with Ruby 1.9 | Pratik Naik | 2009-02-28 | 1 | -1/+1 |
| | |||||
* | Added :env option for gem in template runner [#1983 state:resolved] | Andrew Vit | 2009-02-28 | 1 | -4/+24 |
| | | | | | | | | | For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb: gem 'rspec', :env => 'test' gem 'quietbacktrace', :env => %w[development test] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: limit const_defined? | Jeremy Kemper | 2009-02-27 | 1 | -2/+6 |
| | |||||
* | Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵ | unknown | 2009-02-16 | 1 | -2/+8 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Changed scaffold generated controller tests to use #to_param. | Pat Nakajima | 2009-02-13 | 1 | -4/+4 |
| | | | | | | | | Before, the generated controller tests were calling #id, which can change over time, making for brittle tests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1913 state:committed] | ||||
* | A few more minor scaffold template cleanups | David Heinemeier Hansson | 2009-02-05 | 5 | -7/+7 |
| | |||||
* | Update scaffolding [#1840 state:committed] | Mike Gunderloy | 2009-02-05 | 2 | -2/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -1/+7 |
| | |||||
* | 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 | ||||
* | 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] | ||||
* | 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> | ||||
* | 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 |
| |