aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/resource_helpers.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846robertomiranda2015-01-311-1/+1
| | | | ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
|
* Add warning when user tried to create model with pluralize name.Kuldeep Aggarwal2014-02-231-11/+2
| | | | | 1. Generate model with correct_name. 2. It will help new users to avoid mistakes when tried to create model with wrong name.
* moving controller_name assignment before model name conditionanilmaurya2014-01-201-3/+1
|
* Added --model-name option scaffold_controller_generator.yalab2013-10-151-5/+20
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-1/+1
|
* update Rails::Generators docs [ci skip]Francesco Rodriguez2012-10-071-3/+1
|
* Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
|
* added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-261-1/+1
| | | | the last 's' in ORM name
* allow using orm_instance without invoking orm_class first in generatorsJakub Kuźma2011-11-261-1/+1
|
* Warnings removed when running with 1.9.3Arun Agrawal2011-10-091-1/+1
|
* Railties typos.R.T. Lechow2011-03-051-1/+1
|
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-111-2/+2
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-031-2/+2
| |
* | 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>
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Change mailer generator templates and refactor the whole naming schema.José Valim and Mikel Lindsaar2010-01-251-20/+23
|
* Ensure generators can be invoked by their shortcut and remove attr_reader tasks.José Valim2010-01-181-3/+7
|
* Pass config.generators options along when RAILS_GENERATORS is set and show ↵José Valim2009-11-031-1/+7
| | | | | | --force-plural message just once. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* By default use ActiveModel API in controller generators, unless otherwise ↵José Valim2009-10-171-12/+5
| | | | specified [#3123 status:resolved]
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+74