Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ci skip] Fix the Rails::Generators::NamedBase#template doc | Roque Pinel | 2015-06-15 | 1 | -2/+2 |
| | | | | | Since #13612, `template` is no longer being used to generate migrations. | ||||
* | make it possible to customize the executable inside rereun snippets. | Yves Senn | 2015-06-13 | 1 | -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_runner | Yves Senn | 2015-06-12 | 1 | -4/+1 |
|\ | | | | | use our own runner for Rails framework components `bin/test` | ||||
| * | inline test runner check into `as/testing/autorun.rb`. | Yves Senn | 2015-06-11 | 1 | -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 Rails | Rafael Mendonça França | 2015-06-11 | 1 | -1/+0 |
| | | |||||
* | | head :no_content is implicitly called | Santiago Pastorino | 2015-06-11 | 1 | -2/+0 |
| | | |||||
* | | Checking if controller responds to wrap_parameter is not longer required | Jorge Bejar | 2015-06-11 | 1 | -1/+1 |
| | | |||||
* | | Enable wrap_parameter by default in rails api applications | Jorge Bejar | 2015-06-11 | 1 | -2/+0 |
| | | |||||
* | | Add rake-cors gem (commented) in Gemfile for rails api apps | Jorge Bejar | 2015-06-11 | 2 | -0/+17 |
| | | |||||
* | | Make Rails API apps return the full resource on update | Santiago Pastorino | 2015-06-11 | 2 | -2/+2 |
| | | |||||
* | | Document Generators.api_only! method | Santiago Pastorino | 2015-06-11 | 1 | -0/+4 |
| | | |||||
* | | http only => API only | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | | |||||
* | | Add AMS 0.10.0.rc1 by default for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+5 |
| | | |||||
* | | Fix class_option description for api generators | Santiago Pastorino | 2015-06-11 | 2 | -2/+2 |
| | | |||||
* | | Remove unneeded option from ResourceRouteGenerator | Santiago Pastorino | 2015-06-11 | 1 | -3/+0 |
| | | |||||
* | | Api only apps should include tmp and vendor folders | Jorge Bejar | 2015-06-11 | 1 | -2/+4 |
| | | |||||
* | | Routes resources avoid :new and :edit endpoints if api_only is enabled | Jorge Bejar | 2015-06-11 | 1 | -3/+1 |
| | | |||||
* | | Disable jbuilder for Rails API apps, meanwhile it doesn't play nicely | Santiago Pastorino | 2015-06-11 | 1 | -0/+2 |
| | | |||||
* | | Add config.api_only = true to config/application.rb when using rails new --api | Santiago Pastorino | 2015-06-11 | 1 | -0/+7 |
| | | |||||
* | | config.api_only = true implies config.generators.api_only = true | Santiago Pastorino | 2015-06-11 | 1 | -2/+7 |
| | | |||||
* | | Do not generate lib/assets directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | | |||||
* | | Api apps scaffold does not generate assets | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | | |||||
* | | Api apps scaffold does not generate helpers | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | | |||||
* | | Api apps scaffold does not generate views | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | | |||||
* | | API apps scaffold generator generates an apropriate controller | Santiago Pastorino | 2015-06-11 | 4 | -2/+113 |
| | | |||||
* | | config.generators.api_only = true set rails api option on generators | Santiago Pastorino | 2015-06-11 | 1 | -0/+4 |
| | | |||||
* | | Api apps scaffold generates routes without new and edit actions | Santiago Pastorino | 2015-06-11 | 1 | -1/+5 |
| | | |||||
* | | Hide assets, helper, css and js namespaces for api only apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+5 |
| | | |||||
* | | Add api_only option to Generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | | |||||
* | | Do not generate test/helpers directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | | |||||
* | | Do not generate app/views directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+6 |
| | | |||||
* | | Do not generate app/helpers directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+6 |
| | | |||||
* | | Do not generate app/assets directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+6 |
| | | |||||
* | | api option implies skipping javascript & sprockets | Santiago Pastorino | 2015-06-11 | 2 | -3/+3 |
| | | |||||
* | | Generate appropriate initializers for an api app | Santiago Pastorino | 2015-06-11 | 2 | -0/+13 |
| | | |||||
* | | rails new --api generates an api app skeleton | Santiago Pastorino | 2015-06-11 | 4 | -5/+11 |
| | | |||||
* | | Add config.api_only option to application and remove appropriate middleware ↵ | Santiago Pastorino | 2015-06-11 | 2 | -4/+5 |
| | | | | | | | | when true | ||||
* | | Change the `index` arg of `ActionDispatch::Static#new` to a kwarg | Yuki Nishijima | 2015-06-11 | 1 | -1/+1 |
|/ | |||||
* | add option to avoid generating scaffold.css | masarakki | 2015-06-09 | 2 | -1/+4 |
| | |||||
* | Merge pull request #19571 from kaspth/improve-runner-integration | Yves Senn | 2015-06-08 | 7 | -155/+92 |
|\ | | | | | | | Improve Test Runner's Minitest integration. | ||||
| * | Improve test runner's Minitest integration. | Kasper Timm Hansen | 2015-06-04 | 7 | -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 helpers | yuuji.yaginuma | 2015-06-05 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #20387 from y-yagi/fix_engine_generated_controller_test | Yves Senn | 2015-06-02 | 3 | -1/+19 |
|\ | | | | | | | set engine's route in the functional test is generated in the engine | ||||
| * | add engine's namespace to fixture name | yuuji.yaginuma | 2015-05-31 | 2 | -1/+10 |
| | | |||||
| * | set engine's route in the functional test is generated in the engine | yuuji.yaginuma | 2015-05-31 | 2 | -0/+9 |
| | | |||||
* | | Use sprockets-rails from github repo | Yoong Kang Lim | 2015-06-02 | 1 | -0/+2 |
|/ | | | | See #20397 | ||||
* | Generate a `.keep` file in `tmp` folder | Yoong Kang Lim | 2015-05-30 | 2 | -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` folder | Yoong Kang Lim | 2015-05-30 | 2 | -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" filename | Eliot Sykes | 2015-05-28 | 2 | -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_bug | Rafael Mendonça França | 2015-05-27 | 1 | -16/+18 |
|\ | | | | | | | Fix rake method definition leaking onto Object |