aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for partial release.Kasper Timm Hansen2014-08-171-0/+3
| | | | | | | - Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper. - Add upgrade notes. - Add sanitizer to new applications Gemfiles. - Remove 'rails-dom-testing' as a dependency.
* Fixes test for Gemfile entry changesArun Agrawal2014-08-082-2/+2
| | | | Broken by fbe38c9e9d4fe9f82518e8ffc1d757459b0c5f1c
* Pull spring gem entry into the Gemfile template instead of gemfile_entries ↵David Heinemeier Hansson2014-08-072-10/+12
| | | | so it can be grouped with the other development tools
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2014-08-072-0/+17
|\
| * Merge pull request #16359 from skanev/after-bundle-in-rails-templatesYves Senn2014-08-062-0/+17
| |\ | | | | | | | | | | | | | | | | | | Add an after_bundle callback in Rails templates Conflicts: railties/CHANGELOG.md
| | * Add an after_bundle callback in Rails templatesStefan Kanev2014-08-032-0/+17
| | | | | | | | | | | | | | | | | | The template runs before the generation of binstubs – this does not allow to write one, that makes an initial commit to version control. It is solvable by adding an after_bundle callback.
* | | Stop using padding in the generated Gemfile -- it looks shitDavid Heinemeier Hansson2014-08-072-6/+1
|/ /
* | Bring back the helpers testsJosé Valim2014-08-052-0/+11
| | | | | | | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails.
* | Fix typo [ci skip]Jon Atack2014-08-041-1/+1
| |
* | Explain why we use asset digests, not what a setter doesDavid Heinemeier Hansson2014-08-032-2/+4
| |
* | Add suggestion as to how you can app the the assets load pathDavid Heinemeier Hansson2014-08-031-0/+3
| |
* | A few more tests asserting the presence of helper test stubsDavid Heinemeier Hansson2014-08-032-5/+0
| |
* | Change the production log level default from :info to :debug. All production ↵David Heinemeier Hansson2014-08-031-2/+2
| | | | | | | | apps I have ever worked with has done this. Let us reflect that default. You often want those SQL quieries to be able to debug issues in production
* | Generating stubs for helper tests is overly specific. Most helpers should ↵David Heinemeier Hansson2014-08-033-21/+0
|/ | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them
* Give password_confirmation div the "field" class in erb form templatenoinkling2014-07-291-1/+1
|
* Additional clarification on password:digest in scaffold and model generator ↵noinkling2014-07-252-4/+16
| | | | help [ci skip]
* Add password:digest information to scaffold generator help text [ci skip]noinkling2014-07-251-1/+5
|
* Fix syntax errorRafael Mendonça França2014-07-231-1/+2
|
* Dev and edge application and plugins need to include i18n masterRafael Mendonça França2014-07-231-1/+2
|
* Set Psych as the YAML engine for RubiniusRobin Dupret2014-07-231-0/+9
| | | | | | | | | | Since the rubysl-yaml gem doesn't ship with Psych by default because of its dependency on libyaml, on Rubinius, the default engine is Syck. However, if we want to be able to run the application safely on different rubies, we need to make people using Rubinius rely on Psych. See http://git.io/uuLVag for further information.
* Merge pull request #16212 from ↵Rafael Mendonça França2014-07-181-1/+2
|\ | | | | | | | | | | aantix/additional_migration_conflict_help_messaging Additional help messaging to help the user resolve a conflicted migration
| * Modified migration conflict message to remove the string concatenation.Jim Jones2014-07-181-3/+3
| |
| * Added additional help messaging when there's scaffolding being generated and ↵Jim Jones2014-07-171-1/+2
|/ | | | | | a migration already exists for the resource. The user is now alerted that they are able to skip the conflicted migration file via the --skip option.
* Keep quietly and capture undeprecated on your suiteRafael Mendonça França2014-07-151-0/+17
|
* Merge pull request #13999 from jamox/update_rackAaron Patterson2014-07-081-2/+4
|\ | | | | This updates rails to use edge rack
| * Upgraded rackJarmo Isotalo2014-05-191-2/+4
| | | | | | | | | | | | | | | | As Rack has some non backwards compatible changes added required modifications to keep behaviour in rails close to same as before. Also modified generators to include rack/rack for not yet released version of rack
* | Merge pull request #16046 from grosser/grosser/cleangenRafael Mendonça França2014-07-041-2/+1
|\ \ | | | | | | Do not load rails without loading bundler
| * | remove bundler magicgrosser2014-07-031-2/+1
| | |
* | | Display notice in index.html pages in scaffolded generated viewsArun Agrawal2014-07-041-0/+2
|/ / | | | | | | | | | | | | | | | | As we are setting notice in destroy action we should display that For more information see https://github.com/rails/rails/pull/14044 And https://github.com/rails/jbuilder/pull/191 closes #14044
* | Talk about config.assts.version move tooRafael Mendonça França2014-06-271-1/+1
| | | | | | | | Closes #15942
* | Require shellwords since it is dependecy of this fileRafael Mendonça França2014-06-261-0/+2
| | | | | | | | Closes #15919
* | Add a '--skip-routes' flag for the Controller generator.Lucas Mazza2014-06-241-2/+6
| | | | | | | | | | This way it is possible to skip the addition of the 'get "foo/bar"' routes when generating a controller.
* | Titling the model name in views generated by scaffold.Amit Suryavanshi2014-06-183-3/+3
| | | | | | | | | | eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles" rather than Listing user_profiles.
* | :scissors:Rafael Mendonça França2014-06-171-8/+8
| |
* | Add a generic --skip-gems options to generatorRafael Mendonça França2014-06-171-8/+6
| | | | | | | | | | | | | | | | | | | | Also remove --skip-turbolinks. This option is useful if users want to remove some gems like jbuilder, turbolinks, coffee-rails, etc that don't have specific options on the generator. rails new my_app --skip-gems turbolinks coffee-rails
* | Add an option to skip installation of TurbolinksMarc Schütz2014-06-141-2/+7
| |
* | [ci skip] Fix capitalizationAkshay Vishnoi2014-06-071-4/+4
| |
* | remove rubyforge.org that was shut down [ci skip]Gaurav Sharma2014-06-062-4/+2
| |
* | File.exist? instead of File.exists? in bin/setupDavid Jones2014-06-021-1/+1
| | | | | | | | | | File.exists? is deprecated in Ruby 2.1+ https://github.com/ruby/ruby/blob/v2_1_2/file.c#L1413
* | bin/setup uses `bundle check || bundle install` to improve performance.Yves Senn2014-05-301-1/+1
| |
* | `bin/setup` script to bootstrap applications.Yves Senn2014-05-301-0/+28
| |
* | Merge pull request #15327 from alexbel/replace_double_quotes_with_single_quotesYves Senn2014-05-271-4/+13
|\ \ | | | | | | | | | Replace double quotes with single quotes while adding an entry into Gemfile
| * | Replace double quotes with single quotes while adding an entry into Gemfilealexbel2014-05-261-4/+14
|/ /
* | integration tests do not need to load fixtures by handXavier Noria2014-05-251-3/+0
| | | | | | | | | | I don't know when this changed, checked back up to 3.2 and integration tests instantiate fixtures just fine.
* | Merge pull request #15299 from andriytyurnikov/engine_friendly_rake_statsRafael Mendonça França2014-05-241-0/+4
|\ \ | | | | | | rake stats for engines
| * | rake stats for enginesAndriy Tyurnikov2014-05-241-0/+4
| | |
* | | Merge pull request #15298 from ShunsukeAida/fix_capitalizationRafael Mendonça França2014-05-241-1/+1
|\ \ \ | | | | | | | | fixed capitalization [ci skip]
| * | | fixed capitalizationShunsukeAida2014-05-251-1/+1
| |/ /
* | | Add FIXME note about the thor bugRafael Mendonça França2014-05-241-0/+2
| | |
* | | Merge pull request #9083 from bronson/patch-1Rafael Mendonça França2014-05-241-1/+4
|\ \ \ | |/ / |/| | | | | avoid using alias in generators