aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
...
| * No need for say_step in 'plugin new' generatorPiotr Sarnacki2010-11-022-18/+1
| |
| * DRY up app generator and plugin new generator. Moved shared options to ↵Piotr Sarnacki2010-11-023-52/+31
| | | | | | | | AppBase generator
| * Remove integration tests and ActionModel/ActiveRecord calls from 'rake ↵Piotr Sarnacki2010-11-026-35/+5
| | | | | | | | plugin new' generator, it shouldn't be available as default option
| * We don't need gem tasks, we have a gemspecPiotr Sarnacki2010-11-021-17/+0
| |
| * Builder should not be responsible for running store_application_definition ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | method
| * Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-021-1/+1
| |
| * Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-023-16/+32
| | | | | | | | using PluginBuilder
| * Add --dev and --edge options to rails plugin newPiotr Sarnacki2010-11-025-25/+48
| |
| * Added USAGE for rails plugin newPiotr Sarnacki2010-11-021-0/+10
| |
| * That method is already declared at AppBasePiotr Sarnacki2010-11-021-23/+0
| |
| * Add support for templates for rails plugin newPiotr Sarnacki2010-11-023-15/+30
| |
| * Ensure that options for plugin new generator are not passed to application ↵Piotr Sarnacki2010-11-021-1/+1
| | | | | | | | generator
| * Refactored AppGenerator and PluginNewGenerator to inherit from AppBase.Piotr Sarnacki2010-11-023-57/+79
| |
| * Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-0215-0/+390
| | | | | | | | | | | | 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.
* | skip testing framework if app created with --skip-test-unit [#5796 ↵Rob Zolkos2010-11-111-0/+4
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | The model generator shouldn't throw warnings when using mass nouns [#5363 ↵Jeff Kreeftmeijer2010-11-111-1/+1
|/ | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* JQuery updated to 1.4.3Santiago Pastorino2010-10-161-1230/+2035
| | | | | Check out http://blog.jquery.com/2010/10/16/jquery-143-released/ for information on what's new.
* -j parameter added to rails new command.siong19872010-10-115-50/+6281
| | | | | | | | Now you can start your apps with jquery with rails new myapp -j jquery, the default is still prototype [#5613 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-10-111-1/+1
|\
| * Fix typo 'configation' [#5575 state:resolved]Utkarsh Kukreti2010-10-111-1/+1
| |
* | Fixing two minor errors in Rails::Generators::Actions initializer method ↵Juan Maiz2010-10-081-2/+2
|/ | | | | | | | comments [#5771 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Some initial docswycats2010-10-061-0/+7
|
* Delegate everything to the generatorwycats2010-10-061-14/+4
|
* Revert "Clean up the builder abstraction in AppGenerator."wycats2010-10-061-54/+193
| | | | | | | The phrase "clean up" misrepresents the fact that this removes a feature that ships with Rails 3.0. This reverts commit 6774e12afa0f29442aa612ddf6e51d5a1b7a4356.
* Clean up the builder abstraction in AppGenerator.José Valim2010-10-061-193/+54
| | | | This commit may be reverted once documentation and a proper way to handle actions are added.
* Link to rack from github for this while.José Valim2010-10-041-0/+3
|
* brings csrf_meta_tags back to the generated layoutXavier Noria2010-10-021-1/+1
| | | | | | | | | | After more discussion, it has be agreed that this kind of changes within reasonable margins are OK for 3.1. That is, it is fine to change a little bit the generators even if that means examples in existing books won't be exact. (Note that the singular csrf_meta_tag exists as an alias and thus those outdated examples will run, same for existing applications.)
* Add gem 'arel' from git commented out as an example of how to Bundle egde ↵Santiago Pastorino2010-09-291-0/+1
| | | | | | Rails with Arel edge [#5723 state:committed]
* Refactor a few methods connected with namespacing in ↵Piotr Sarnacki2010-09-251-8/+9
| | | | | | Rails::Generators::NamedBase Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespacing to mailer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespacing for observer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespace for test_unit generatorsPiotr Sarnacki2010-09-253-0/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rails.application is set anyway, we don't need to set it manually, this was ↵Piotr Sarnacki2010-09-251-1/+1
| | | | | | purpose of different behavior in tests and in application Signed-off-by: José Valim <jose.valim@gmail.com>
* Generators fix: properly check if module should be created when creating a ↵Piotr Sarnacki2010-09-251-1/+5
| | | | | | namespaced model Signed-off-by: José Valim <jose.valim@gmail.com>
* Refactor namespaced generators to use module_namespacing block helperPiotr Sarnacki2010-09-245-15/+16
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Generators are not aware of namespace of isolated engines and applicationsPiotr Sarnacki2010-09-243-4/+60
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensures the app generator generates the correct @app_name. [#5434 ↵Fred Wu2010-09-241-4/+7
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove existing migration when using 'rails generate model' with --force ↵David Trasbo2010-09-181-1/+5
| | | | | | [#5526 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move capture to Kernel. [#5641 state:resolved]Krekoten' Marjan2010-09-181-19/+1
|
* Application settings are specified in application.rb and not environment.rbrohit2010-09-143-3/+3
|
* Remove deprecation warnings in railtiesCarlos Antonio da Silva2010-09-061-25/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Output a friendly message when no type given for GeneratedAttribute [#5461 ↵rohit2010-09-021-0/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Dont need to spell out the dependencyDavid Heinemeier Hansson2010-09-011-4/+1
|
* Have sections for both Ruby 1.8.7 and 1.9.2 for the debugger since they use ↵David Heinemeier Hansson2010-09-011-1/+5
| | | | different gems
* resolves merge conflictXavier Noria2010-08-312-2/+2
|\
| * Update README to match Rails 3 generated directory structureBryan Helmkamp2010-08-301-1/+1
| |
| * The command for creating the sessions table has changedAkira Matsuda2010-08-301-1/+1
| |
* | Fixed the session name generated by the app_generator. Also refactored the ↵Fred Wu2010-08-281-0/+3
|/ | | | | | corresponding test suites to be cleaner. [#5434 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* mysql db defaults to mysql2 gemDavid Heinemeier Hansson2010-08-231-0/+1
|
* Prefer the mysql2 gem for MySQL database.ymlsDavid Heinemeier Hansson2010-08-231-13/+4
|