aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/app_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix testSantiago Pastorino2012-04-161-2/+2
|
* "rails new -h" shows message in rails directoryask2012-04-091-0/+10
|
* Usage file in generators shouldn't be fetched only based on source_rootPiotr Sarnacki2012-04-011-1/+1
| | | | | | | | In case `source_roout` is not set, `default_source_root` is used, which includes also `templates` directory. If there is no `templates` directory, `default_source_root` is not available and USAGE will not be displayed. USAGE should be also checked based on default directory excluding `templates`.
* Build fix for app_generator_test.rbArun Agrawal2012-03-181-1/+1
|
* Remove --http.José Valim2012-03-141-33/+0
|
* Do not generate app/views and sprockets entries on http appCarlos Antonio da Silva2012-03-141-1/+16
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Rename http-only app generator option to httpCarlos Antonio da Silva2012-03-141-5/+5
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Remove duplicated tests from shared generatorCarlos Antonio da Silva2012-03-141-1/+2
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Generate middleware http_only! config when running http only app generatorCarlos Antonio da Silva2012-03-141-0/+6
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Add http-only option to Rails app generatorCarlos Antonio da Silva2012-03-141-0/+10
| | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino]
* The sprockets railtie was moved to sprockets/rails/railtieGuillermo Iguaran2012-03-131-1/+1
|
* Only add the whitelist_attributes option if ActiveRecord is presentRafael Mendonça França2012-03-041-0/+6
|
* uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-241-5/+0
| | | | the update action of resources
* Add config.default_method_for_update to support PATCHDavid Lee2012-02-221-0/+5
| | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* 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
|
* Add therubyracer gem commented in default GemfileGuillermo Iguaran2012-01-121-4/+2
|
* Rails::Plugin has goneSantiago Pastorino2012-01-031-1/+0
|
* Get rid of more 1.8.x dead codeJosé Valim2011-12-201-9/+2
|
* Get rid of --old-style-hashJosé Valim2011-12-201-12/+1
|
* Warning removed in testArun Agrawal2011-12-181-1/+1
|
* No need 'abstract_unit' here. It's already in 'generators_test_helper'Arun Agrawal2011-12-181-1/+0
|
* 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
|/
* 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 therubyrhino to default Gemfile under JRubyGuillermo Iguaran2011-11-141-0/+7
|
* 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
|
* 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.
* 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.
* [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
|/
* Remove asserts for js ext stuff thats not used any moreDavid Heinemeier Hansson2011-05-241-3/+0
|