aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* Add convenience method to hide a generator from the available onesCarlos Antonio da Silva2012-02-031-0/+9
| | | | | | It is usually useful to be able to hide a generator when running rails generate command. Such generators might be used only to dry up generators code and shouldn't be available to end users.
* Fix GH #4737. Missing helper file (LoadError) in mountable plugin.kennyj2012-02-021-7/+8
|
* Don't run bundle install when passed with --pretend optionkennyj2012-02-011-0/+5
|
* Only add ActiveRecord configuration if it is presentRafael Mendonça França2012-01-311-0/+1
|
* has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-0/+5
|
* Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with ↵José Valim2012-01-221-3/+3
| | | | | | | | bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-4/+2
|
* Fix tests, ./ is not needed for relative entries in Gemfile in newest ↵Piotr Sarnacki2012-01-071-2/+2
| | | | bundler version
* Add Gemfile entry when creating a plugin in application's directoryPiotr Sarnacki2012-01-071-1/+32
| | | | | | | | | | | | After vendor/plugins were removed from rails, the new method to create plugins is to create gem plugins. Most of the time if you create a new plugin in rails application's directory, you want to extract something from that application and use it immediately, ie. add such line to Gemfile: gem 'foo', :path => './vendor/foo' This commit makes plugin new generator to add such line automatically.
* Rails::Plugin has goneSantiago Pastorino2012-01-032-38/+0
|
* Use 1.9 hash syntax instead.José Valim2011-12-242-13/+13
|
* assert_not_match -> assert_no_match.José Valim2011-12-242-6/+6
|
* Tidy up migration types.José Valim2011-12-243-3/+8
|
* added ability to specify from cli when generating a model/migration whether ↵Dmitrii Samoilov2011-12-243-1/+131
| | | | particular property should be an index like this 'rails g model person name:string:index profile:string'
* Depend on 4.0.0.beta gems. Use https for github urls.Jeremy Kemper2011-12-221-1/+1
|
* Get rid of more 1.8.x dead codeJosé Valim2011-12-203-19/+4
|
* Get rid of --old-style-hashJosé Valim2011-12-203-45/+4
|
* Warning removed in testArun Agrawal2011-12-181-1/+1
|
* No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-182-2/+0
|
* Merge pull request #4009 from kirs/generate-rake-taskPiotr Sarnacki2011-12-171-0/+12
|\ | | | | Rake tasks generator
| * Rake tasks generator with testKir2011-12-171-0/+12
| |
* | strip whitespace errors from the generated GemfileAaron Patterson2011-12-121-0/+10
| |
* | Skip assets options in environments files when --skip-sprockets is usedGuillermo Iguaran2011-12-111-0/+7
| |
* | Merge pull request #3925 from guilleiguaran/extra-test-for-therubyrhinoYehuda Katz2011-12-091-1/+5
|\ \ | | | | | | Add test to verify that therubyrhino isn't included when JRuby isn't used
| * | Add test to verify that therubyrhino isn't included when JRuby isn't usedGuillermo Iguaran2011-12-091-1/+5
| | |
* | | Skip assets groups if --skip-sprockets option is givenGuillermo Iguaran2011-12-091-0/+5
|/ /
* | Add the .rdoc extension to the README that Rails generates for a new applicationSteve Richert2011-12-091-3/+3
| |
* | Simplifying test in app/generatorArun Agrawal2011-12-031-3/+3
| |
* | implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-0/+9
|/
* avoid absolute path for the rails.png in index.htmlkennyj2011-11-271-0/+1
|
* added tests, replaced classify with constantize - using classify here cuts ↵Jakub Kuźma2011-11-261-0/+38
| | | | the last 's' in ORM name
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-252-72/+0
|
* Updating newline fix to maintain existing linebreaks and indentation and ↵John Donahue2011-11-251-4/+6
| | | | test for b/eol on inserts
* Merge branch 'serializers'José Valim2011-11-252-0/+72
|\ | | | | | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * Add a hook for serializers in the scaffold generator (off for now).José Valim2011-11-251-0/+9
| |
| * Add generators for serializers.José Valim2011-11-251-0/+63
| |
* | Added tests for #3751ganesh2011-11-251-1/+1
|/
* fix rails plugin new CamelCasedName buglest2011-11-191-0/+6
| | | | refs #3684
* Added therubyrhino to default Gemfile under JRubyGuillermo Iguaran2011-11-141-0/+7
|
* Fixed error with 'rails generate new plugin' where the .gitignore was not ↵Tyler Coville2011-11-091-0/+8
| | | | properly generated if --dummy-path was used and added test case
* Merge pull request #3357 from rahul100885/rahul100885_wsVijay Dev2011-10-251-0/+10
|\ | | | | Added test case for postgresql database
| * Added test case for postgresql databaseRahul P. Chaudhari2011-10-181-0/+10
| |
* | Remove Turn from default Gemfile.Guillermo Iguaran2011-10-221-15/+0
|/ | | | We still looking for a best presentation for tests output.
* Added test to check that the vendor/assets/stylesheets directory is createdRahul Chaudhari2011-10-131-0/+5
|
* Added test to check that the vendor/assets/javascripts directory is createdSasha Gerrand2011-10-111-0/+5
|
* Warnings removed when running with 1.9.3Arun Agrawal2011-10-091-1/+1
|
* Isolate rake action tests that should be run under default envGuillermo Iguaran2011-10-081-4/+8
|
* The generator invokes rake with either the :env option, ENV['RAILS_ENV'], or ↵Jeremy Kemper2011-10-081-3/+5
| | | | development. So if Travis has exported RAILS_ENV=test, it'll be used instead of development, breaking these brittle expectations.
* Honour RAILS_ENV environment variable when running rake.Dmitriy Kiriyenko2011-09-291-0/+16
|
* Merge pull request #2841 from wojtekmach/app-generators-groupJosé Valim2011-09-041-0/+14
|\ | | | | Add gem group support to generators