aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* | Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-013-4/+4
|/ | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Change :notification to :notify (ht: m4n)José Valim2010-06-291-1/+1
|
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-293-0/+9
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Make the sentinel flag for route a bit more robust.José Valim2010-06-281-1/+1
|
* Do not trigger the old mapper to avoid deprecation messages.José Valim2010-06-281-1/+1
|
* Update to latest rails.jsJeremy Kemper2010-06-271-57/+114
| | | | [#4411 state:resolved]
* Change the generated Gemfile to resolve, via documentation, the issue of ↵wycats2010-06-251-3/+4
| | | | rspec generators being unavailable in development mode
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-246-27/+2
| | | | | | | | 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>
* renames load_(once_)paths to autoload_(once_)paths in dependencies and configXavier Noria2010-06-241-1/+1
|
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-2312-60/+79
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Changed `ruby /path/to/rails myapp --dev` to `ruby /path/to/rails new myapp ↵Jeff Kreeftmeijer2010-06-211-1/+1
| | | | | | --dev` in the "Thor is not avalable" message. [#4915 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-201-0/+0
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>