aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] Fix the Rails::Generators::NamedBase#template docRoque Pinel2015-06-151-2/+2
| | | | | Since #13612, `template` is no longer being used to generate migrations.
* make it possible to customize the executable inside rereun snippets.Yves Senn2015-06-131-1/+5
| | | | | | | | | | | | | | | | | | | In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ```
* Merge pull request #20480 from senny/test_runnerYves Senn2015-06-121-4/+1
|\ | | | | use our own runner for Rails framework components `bin/test`
| * inline test runner check into `as/testing/autorun.rb`.Yves Senn2015-06-111-4/+1
| | | | | | | | | | This makes it possible to easily get the runner working with existing setups that rely on `active_support/testing/autorun.rb`.
* | assigns was removed from RailsRafael Mendonça França2015-06-111-1/+0
| |
* | head :no_content is implicitly calledSantiago Pastorino2015-06-111-2/+0
| |
* | Checking if controller responds to wrap_parameter is not longer requiredJorge Bejar2015-06-111-1/+1
| |
* | Enable wrap_parameter by default in rails api applicationsJorge Bejar2015-06-111-2/+0
| |
* | Add rake-cors gem (commented) in Gemfile for rails api appsJorge Bejar2015-06-112-0/+17
| |
* | Make Rails API apps return the full resource on updateSantiago Pastorino2015-06-112-2/+2
| |
* | Document Generators.api_only! methodSantiago Pastorino2015-06-111-0/+4
| |
* | http only => API onlySantiago Pastorino2015-06-111-1/+1
| |
* | Add AMS 0.10.0.rc1 by default for api appsSantiago Pastorino2015-06-111-0/+5
| |
* | Fix class_option description for api generatorsSantiago Pastorino2015-06-112-2/+2
| |
* | Remove unneeded option from ResourceRouteGeneratorSantiago Pastorino2015-06-111-3/+0
| |
* | Api only apps should include tmp and vendor foldersJorge Bejar2015-06-111-2/+4
| |
* | Routes resources avoid :new and :edit endpoints if api_only is enabledJorge Bejar2015-06-111-3/+1
| |
* | Disable jbuilder for Rails API apps, meanwhile it doesn't play nicelySantiago Pastorino2015-06-111-0/+2
| |
* | Add config.api_only = true to config/application.rb when using rails new --apiSantiago Pastorino2015-06-111-0/+7
| |
* | config.api_only = true implies config.generators.api_only = trueSantiago Pastorino2015-06-111-2/+7
| |
* | Do not generate lib/assets directory for api appsSantiago Pastorino2015-06-111-0/+1
| |
* | Api apps scaffold does not generate assetsSantiago Pastorino2015-06-111-0/+1
| |
* | Api apps scaffold does not generate helpersSantiago Pastorino2015-06-111-0/+1
| |
* | Api apps scaffold does not generate viewsSantiago Pastorino2015-06-111-1/+2
| |
* | API apps scaffold generator generates an apropriate controllerSantiago Pastorino2015-06-114-2/+113
| |
* | config.generators.api_only = true set rails api option on generatorsSantiago Pastorino2015-06-111-0/+4
| |
* | Api apps scaffold generates routes without new and edit actionsSantiago Pastorino2015-06-111-1/+5
| |
* | Hide assets, helper, css and js namespaces for api only appsSantiago Pastorino2015-06-111-0/+5
| |
* | Add api_only option to GeneratorsSantiago Pastorino2015-06-111-1/+2
| |
* | Do not generate test/helpers directory for api appsSantiago Pastorino2015-06-111-0/+1
| |
* | Do not generate app/views directory for api appsSantiago Pastorino2015-06-111-0/+6
| |
* | Do not generate app/helpers directory for api appsSantiago Pastorino2015-06-111-0/+6
| |
* | Do not generate app/assets directory for api appsSantiago Pastorino2015-06-111-0/+6
| |
* | api option implies skipping javascript & sprocketsSantiago Pastorino2015-06-112-3/+3
| |
* | Generate appropriate initializers for an api appSantiago Pastorino2015-06-112-0/+13
| |
* | rails new --api generates an api app skeletonSantiago Pastorino2015-06-114-5/+11
| |
* | Add config.api_only option to application and remove appropriate middleware ↵Santiago Pastorino2015-06-112-4/+5
| | | | | | | | when true
* | Change the `index` arg of `ActionDispatch::Static#new` to a kwargYuki Nishijima2015-06-111-1/+1
|/
* add option to avoid generating scaffold.cssmasarakki2015-06-092-1/+4
|
* Merge pull request #19571 from kaspth/improve-runner-integrationYves Senn2015-06-087-155/+92
|\ | | | | | | Improve Test Runner's Minitest integration.
| * Improve test runner's Minitest integration.Kasper Timm Hansen2015-06-047-155/+92
| | | | | | | | | | | | | | | | | | | | | | This also adds free mix and matching of directories, files and lines filters. Like so: bin/rails test models/post_test.rb test/integration models/person_test.rb:26 You can also mix in a traditional Minitest filter: bin/rails test test/integration -n /check_it_out/
* | modify console of app method in that can use the path helpersyuuji.yaginuma2015-06-051-0/+5
|/
* Merge pull request #20387 from y-yagi/fix_engine_generated_controller_testYves Senn2015-06-023-1/+19
|\ | | | | | | set engine's route in the functional test is generated in the engine
| * add engine's namespace to fixture nameyuuji.yaginuma2015-05-312-1/+10
| |
| * set engine's route in the functional test is generated in the engineyuuji.yaginuma2015-05-312-0/+9
| |
* | Use sprockets-rails from github repoYoong Kang Lim2015-06-021-0/+2
|/ | | | See #20397
* Generate a `.keep` file in `tmp` folderYoong Kang Lim2015-05-302-1/+3
| | | | | | | | | | | | | A lot of scripts assumes the existence of this folder and most would fail if it is absent. One example of this is `rake restart` (before the previous commit) – it tries to `touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the case for a freshly-cloned project as `tmp` is `.gitignored` by default. See #20299. [Yoong Kang Lim, Sunny Juneja]
* `rake restart` should work without a `tmp` folderYoong Kang Lim2015-05-302-1/+2
| | | | | | | | | | | | | In restart.rake, the creation of tmp/restart.txt would fail if the tmp folder does not exist in the app. This is a problem because apps cloned using git would not have the tmp folder, as the folder is in .gitignore. This commit creates the tmp folder if it does not exist. Fixes #20299 [Yoong Kang Lim, Sunny Juneja]
* config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-282-3/+4
| | | | | | Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`.
* Merge pull request #20326 from hderms/dh/fix_task_bugRafael Mendonça França2015-05-271-16/+18
|\ | | | | | | Fix rake method definition leaking onto Object