aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/applications
Commit message (Collapse)AuthorAgeFilesLines
* No more application generator.José Valim2009-06-196-704/+0
|
* Get Railties passing againYehuda Katz2009-05-161-1/+1
|
* Added db/seeds.rb as a default file for storing seed data for the database. ↵David Heinemeier Hansson2009-05-111-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 Terentiev2009-03-121-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 Timberlake2009-03-091-1/+1
| | | | | | [#1655 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use Array.wrap() instead of Array() and handle ↵Pratik Naik2009-02-281-1/+1
| | | | action_view.cache_template_loading being false
* Ensure 16b3d2b621b1682f249209097c31b0a10f0f87ef works with Ruby 1.9Pratik Naik2009-02-281-1/+1
|
* Added :env option for gem in template runner [#1983 state:resolved]Andrew Vit2009-02-281-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>
* Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵unknown2009-02-161-2/+8
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrailsPratik Naik2009-01-181-1/+7
|
* Remove script/performance/profiler in favour of performance integration tests.Pratik Naik2009-01-181-1/+1
| | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git
* Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-281-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use SimpleLogger for Rails::TemplateRunner outside of the Generator context ↵Aaron Quint2008-12-281-0/+10
| | | | | | [#1618 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-271-66/+53
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix message when running TemplateRunner#git. [#1526 state:resolved]Sergio Gil2008-12-081-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add a rake task to apply a template to an existing application.Pratik Naik2008-12-072-3/+3
| | | | Example : rake rails:template LOCATION=~/template.rb
* Remove unused TemplateRunner attributesPratik Naik2008-12-071-1/+1
|
* Added support for plugins to be installed as submodules with the application ↵Peter Cooper2008-12-061-1/+7
| | | | | | templater. [#1517 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :env and :sudo options to TemplateRunner#rake.Pratik Naik2008-12-041-3/+6
| | | | | | | Examples : rake("gems:install", :sudo => true) rake("db:migrate", :env => "production")
* Make TemplateRunner#generate accept any number of argumentsPratik Naik2008-12-031-3/+3
|
* Remove docs for TemplateRunner#gem as the behaviour has been changedPratik Naik2008-12-021-13/+0
|
* Add "-m/--template" option to Rails generator to apply template to generated ↵Jeremy McAnally2008-12-025-0/+419
| | | | | | application. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Generate rackup dispatcher with rails:update:generate_dispatchersJoshua Peek2008-12-011-0/+1
|
* Extracted the process scripts (inspector, reaper, spawner) into the plugin ↵David Heinemeier Hansson2008-11-301-3/+2
| | | | irs_process_scripts [DHH]
* Cleanup the app generatorDavid Heinemeier Hansson2008-11-301-142/+196
|
* Fix typo in 5b5730cc6e9194fb5f67fe79d2c7849e200ba6edPratik Naik2008-11-241-4/+4
|
* Don't generate public/dispatch.cgi/fcgi/rb files by default.Yaroslav Markin2008-11-241-4/+10
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-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 Matsuda2008-11-191-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 Hansson2008-11-181-0/+4
| | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
* BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵David Heinemeier Hansson2008-11-171-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]
* Don't create test/performance/test_helper.rb. Just require the needed files ↵Pratik Naik2008-10-171-1/+0
| | | | from test directly. [#1135 state:resolved]
* Add IMB DB support to Rails application generator. [#1136 state:resolved]Antonio Cangiano2008-10-041-1/+1
| | | | | | Usage : rails app_name -d ibm_db Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-271-2/+1
| | | | | | | 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]
* Removed config.ru template from app generatorJoshua Peek2008-08-191-1/+0
|
* Add config.ru to rails app generatorPratik Naik2008-07-161-0/+1
|
* Use test/performance/test_helper to do test setup then boost log level and ↵Jeremy Kemper2008-06-151-0/+1
| | | | turn on caching
* Performance: integration test benchmarking and profiling. [Jeremy Kemper]Jeremy Kemper2008-06-141-0/+2
|
* Add script/dbconsole to app generatorJeremy Kemper2008-05-071-1/+1
|
* rename config/initializers/new_in_rails_3.rb to new_rails_defaults.rbJeremy Kemper2008-03-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partial updates include only unsaved attributes. Off by default; set ↵Jeremy Kemper2008-03-311-1/+2
| | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the default .htaccess configuration as there are so many good ↵David Heinemeier Hansson2008-03-291-3/+2
| | | | | | deployment options now (kept it as an example in README) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop adding the antiquated test/mocks/* directories and only add them to the ↵David Heinemeier Hansson2008-03-271-2/+0
| | | | | | path if theyre still there for legacy reasons [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* App generate says sqlite3 is the default and mentions frontbase. Closes ↵Jeremy Kemper2007-12-211-3/+4
| | | | | | #10550 [Cheah Chu Yeow, Will Cannings] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed the default database from mysql to sqlite3, so now running "rails ↵David Heinemeier Hansson2007-12-161-1/+1
| | | | | | myapp" will have a config/database.yml thats setup for SQLite3 (which in OS X Leopard is installed by default, so is the gem, so everything Just Works with no database configuration at all). To get a Rails application preconfigured for MySQL, just run "rails -d mysql myapp" [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-101-1/+1
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce SecretKeyGenerator for more secure session secrets than ↵Jeremy Kemper2007-11-281-1/+5
| | | | | | CGI::Session's pseudo-random id generator. Consider extracting to Active Support later. Closes #10286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove stale warning from application generator usage message. Closes #10165 ↵Jeremy Kemper2007-11-141-7/+0
| | | | | | [bronson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Request profilerJeremy Kemper2007-10-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better error messages if you leave out the :secret option for request ↵Rick Olson2007-09-281-1/+1
| | | | | | forgery protection. Closes #9670 [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de