aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/applications/app/app_generator.rb
Commit message (Collapse)AuthorAgeFilesLines
* No more application generator.José Valim2009-06-191-263/+0
|
* 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]
* 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
* Add a rake task to apply a template to an existing application.Pratik Naik2008-12-071-1/+1
| | | | Example : rake rails:template LOCATION=~/template.rb
* Add "-m/--template" option to Rails generator to apply template to generated ↵Jeremy McAnally2008-12-021-0/+12
| | | | | | 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
* 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
* Include the new 422 in the app generationDavid Heinemeier Hansson2007-09-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-281-1/+1
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin ↵Nicholas Seckar2007-03-141-1/+2
| | | | | | default of 'mysql' to be overridden. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.Jeremy Kemper2007-03-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix app generatorRick Olson2007-02-241-2/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include two default initializers as examplesDavid Heinemeier Hansson2007-02-231-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config/initializers where all ruby files within it are automatically ↵David Heinemeier Hansson2007-02-231-0/+1
| | | | | | loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit from [5686].Jeremy Kemper2006-12-061-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include the mime.yml anyway, Mongrel will just ship with more defaults ↵David Heinemeier Hansson2006-11-231-1/+0
| | | | | | instead git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add custom mime type file for mongrel. config/mime.yml is added with ↵Rick Olson2006-11-191-0/+1
| | | | | | generated apps from the rails command. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rails -d frontbase to create a new project with a frontbase database.yml. ↵Jeremy Kemper2006-07-081-6/+6
| | | | | | Closes #4945. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-281-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator detects the XAMPP package's MySQL socket location. Closes ↵Jeremy Kemper2006-05-121-1/+2
| | | | | | #3832. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator sets a session key in application.rb so apps running on ↵Jeremy Kemper2006-05-071-2/+3
| | | | | | the same host may distinguish their cookies. Closes #2967. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/process/inspector to do simple process status information on ↵David Heinemeier Hansson2006-04-281-1/+1
| | | | | | Rails dispatchers keeping pid files in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pid file usage to script/process/spawner and script/process/reaper ↵David Heinemeier Hansson2006-04-281-0/+1
| | | | | | along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the -r/--ruby path option of the rails command was not being ↵David Heinemeier Hansson2006-04-061-3/+4
| | | | | | respected (closes #4549) [ryan.raaum@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -f/--freeze option to rails command for freezing the application to ↵David Heinemeier Hansson2006-04-011-2/+6
| | | | | | the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de