aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add hook for add_resource_routeSantiago Pastorino2012-04-181-0/+2
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-3/+1
|
* Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-251-1/+3
|
* fix ambiguous * and remove unused variableAaron Patterson2011-08-241-2/+2
|
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-291-1/+1
| | | | javascript_engine ("js") for apps that remove Coffee gem
* Removed rescue branch for Rails 2.x compatibilityAlexey Gaziev2011-06-201-3/+0
|
* Fix regexp in generators for right catching error messageAlexey Gaziev2011-06-201-1/+1
|
* Use mattr_accessor :namespaceStefan Sprenger2011-06-071-10/+2
|
* Use namespace if it's a mountable engineStefan Sprenger2011-06-071-0/+10
|
* Streamline generators initialization flow.José Valim2011-05-251-11/+1
|
* Hide css:* and the default stylesheet from rails gwycats2011-05-241-1/+6
|
* Update generator config to support hiding namespaces and pass the app into ↵wycats2011-05-241-0/+1
| | | | generator blocks
* Move SCSS generators and default templates from Rails to the Sass Railtie ↵tomhuda2011-05-241-1/+1
| | | | | | | | (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
* default orm and test_framework to false; change application.rb template ↵Aditya Sanghi2011-05-061-2/+2
| | | | accordingly
* Fix assets generators.José Valim2011-04-171-0/+1
|
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-171-2/+7
|
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-141-0/+1
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* Allow generators nested in more than one levelSantiago Pastorino2011-01-121-1/+1
|
* Ensure that app generator is not loaded twice to get rid of warningsPiotr Sarnacki2010-11-221-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Tidy up generators commits.José Valim2010-11-171-0/+1
|
* Perf: speed up 2 methods in railties.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Trifling typosRaphomet2010-08-211-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-241-2/+1
| | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Tidy up generators based on latest change on AM.José Valim2010-06-131-1/+1
|
* Hide remaining generators hooks [#4790 state:resolved]José Valim2010-06-081-1/+5
|
* Still copy application configuration to generator even if they are required ↵José Valim2010-06-031-6/+2
| | | | earlier. Also tidy up the guide a little bit.
* Update hidden namespace mechanism to work better with alternate choices and ↵wycats2010-05-051-4/+42
| | | | to support full namespaces (not just entire groups)
* Partially revert "A new application now comes with a layout and a stylesheet."Jeremy Kemper2010-04-091-0/+2
| | | | | | | | | This reverts commit ea2c5fa8046e2f953b366adc94f0610ccfea0828. Conflicts: railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb railties/test/generators/app_generator_test.rb
* Remove :layout option from generators.José Valim2010-04-061-5/+0
|
* A new application now comes with a layout and a stylesheet.José Valim2010-04-061-2/+0
|
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-2/+2
| | | | former since it's less obstrusive.
* Prettify generators description whenever using the default stack [#4143 ↵José Valim2010-03-121-0/+4
| | | | status:resolved]
* Add autoload to generators modules and fix failing test.José Valim2010-02-261-1/+7
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Add missing -h/--help flag to several rails command [#3909 status:resolved]Prem Sichanugrist2010-02-101-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add config.generators.templates to provide alternative paths for template ↵José Valim2010-02-061-0/+5
| | | | lookup.
* Make bin/rails call rails/commands/application, fix generators usage and ↵José Valim2010-02-031-3/+1
| | | | update .gitignores.
* Rename usage path to command to just the command nameDavid Heinemeier Hansson2010-02-021-2/+1
|
* Add config.generators.fallbacks.José Valim2010-02-011-0/+1
|
* Automatically configure generators if application is defined.José Valim2010-01-291-0/+3
|
* Move the ActiveRecord generator settings into the RailtieCarl Lerche2010-01-281-6/+1
|
* Cleanup the test_unit generator move into the railtieCarl Lerche2010-01-281-7/+2
|
* Fix the test_framework generator testsCarl Lerche2010-01-281-0/+1
|
* Test::Unit Railtie Carlhuda2010-01-281-2/+1
|
* Ensure app does not show up in generators.José Valim2010-01-261-0/+1
|
* Give higher priority to rails generators.José Valim2010-01-211-9/+14
|
* Don't let generators die if rubygems puts crap in your load path.José Valim2010-01-211-1/+3
|
* Allow railties to specify generators paths.José Valim2010-01-191-14/+24
|
* Improve script/generate help.José Valim2010-01-191-1/+11
|