aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Config is deprecated on 1.8.8 and 1.9.3 use RbConfigSantiago Pastorino2010-08-232-3/+3
|
* removes words moved in previous edit of the generator generator USAGEXavier Noria2010-08-231-1/+1
|
* adds USAGE to the generator generator USAGE (not sure this meta thing is any ↵Xavier Noria2010-08-231-2/+3
| | | | good at 8:12 AM with little coffee)
* the (public) routing DSL does not accept symbols for get|post|put|delete|matchXavier Noria2010-08-171-4/+4
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-146-10/+10
| | | | 's/[ \t]*$//' -i {} \;)
* Missed one spot for --skip-active-record, which means that new Gemfile isn't ↵Nick Sieger2010-08-111-1/+1
| | | | | | set up right Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Improve best_standards_support to use only IE=Edge in development modewycats2010-08-091-0/+4
|
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
|
* Handle edge cases in the previous patch.José Valim2010-08-021-1/+2
|
* Improved how AppGenerator generates the application name. It now detects the ↵Fred Wu2010-08-021-1/+5
| | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵Santiago Pastorino2010-08-021-1/+1
| | | | | | using the deprecated syntax [#5263 state:committed]
* DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]Johan Lundström2010-07-311-23/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* fix for rails app generator when using --pretend optionSteve Agalloco2010-07-301-1/+1
| | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* This version is going to be outdated when new nokogiri versions are releasedSantiago Pastorino2010-07-291-1/+1
|
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-302-4/+4
|
* Fixes usage message when running rails without --dev on a cloned rails repoSantiago Pastorino2010-07-261-1/+1
|
* application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-254-14/+14
| | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
* This example is better for guides and gem/plugins docsSantiago Pastorino2010-07-201-7/+0
|
* minor pass to generated code in application.rb related to :defaultsXavier Noria2010-07-161-3/+3
|
* Adds application.js when app is generated with -J and clear ↵Santiago Pastorino2010-07-172-0/+5
| | | | javascript_expansions[:defaults]
* Explain how to change javascript default filesSantiago Pastorino2010-07-171-0/+3
|
* upgrade prototype to be compatible with rails.js [#5109 state:committed]Andrew Kaspick2010-07-141-890/+2017
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-2/+2
|
* application.rb: revises the comment for autoload_paths so that is assumes ↵Xavier Noria2010-07-091-3/+3
| | | | less from the user, and unifies punctuation
* Merge remote branch 'docrails/master'Xavier Noria2010-07-072-2/+2
|\
| * Fixed typo in Rails::Generators::Base [#5051 state:resolved]Mark Hayes2010-07-061-1/+1
| |
| * Fixes README for generated apps with Rails 3 (rails *new* myapp, and Welcome ↵Jaime Iniesta2010-07-011-1/+1
| | | | | | | | aboard text)