aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Add gem_group support to generatorsWojciech Mach2011-09-041-0/+14
| |
* | Warnings removed for "assert_match /" Please doArun Agrawal2011-09-041-3/+3
| | | | | | | | not add more.!
* | Warnings removed for using shadow variable.Arun Agrawal2011-09-041-2/+2
|/
* fix indent for generator environment methodAlexey Vakhov2011-09-021-1/+1
|
* Merge pull request #2390 from arunagw/test_for_environment_fileSantiago Pastorino2011-08-241-0/+9
|\ | | | | Test added to check development.rb, test.rb and production.rb content
| * Test added to check mass_assignment_sanitizer is not present if ↵Arun Agrawal2011-08-031-0/+9
| | | | | | | | --skip-active-record provided.
* | Merge pull request #2620 from cesario/3-1-0Santiago Pastorino2011-08-211-1/+1
|/ | | | Fix CI and rename 1 misleading test case.
* Covering more files in test for plugin new generator. Vishnu Atrai2011-07-291-0/+2
|
* Test add for plugin new generator generate mailerArun Agrawal2011-07-291-4/+5
|
* pluging generator test fixVishnu Atrai2011-07-281-8/+8
|
* Merge pull request #2116 from guilleiguaran/fix-environment-generator-actionSantiago Pastorino2011-07-181-0/+7
|\ | | | | Fix Rails::Generators::Actions#environment when env is passed
| * Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-0/+7
| |
* | As we are adding db folder in it. Required in test also.Arun Agrawal2011-07-171-1/+1
|/
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-0/+1
| | | | tmp/assets_cache between deploys.
* Generate valid default fixtures for models with a type columnMarc-Andre Lafortune2011-07-111-0/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* fix engines rake tasksJake Varghese2011-07-041-0/+8
|
* Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-293-23/+10
| | | | javascript_engine ("js") for apps that remove Coffee gem
* [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-291-4/+10
| | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* fix test when running Jruby. If Jruby Platform is available the gem will change.Arun Agrawal2011-06-291-2/+10
|
* Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-1/+2
|\ | | | | Generating /lib/assets for assets
| * Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-1/+2
| |
* | Tests added when no option is given with #jruby. It should generateArun Agrawal2011-06-221-0/+8
| | | | | | | | sqlite3 based app
* | Making tests according to the changes #jrubyArun Agrawal2011-06-221-3/+4
| |
* | Test added for jdbc-adapterArun Agrawal2011-06-221-0/+6
| |
* | Attributes on scaffold and model generators default to string.José Valim2011-06-173-16/+21
| | | | | | | | This allows the following: "rails g scaffold Post title body:text author"
* | Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ \ | | | | | | Remove "is_assed" with something more meaningful
| * | Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| | |
* | | namespace engine assetsRyan Bates2011-06-121-12/+16
|/ /
* | Merge pull request #1356 from flippingbits/fix_engine_generatorJosé Valim2011-06-093-14/+13
|\ \ | |/ |/| Fix engine's generator
| * Use RAILS_ISOLATED_ENGINE and fix namespaced generators testsStefan Sprenger2011-06-071-9/+1
| |