Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make generated scaffold functional tests work inside API engines | yuuji.yaginuma | 2015-08-09 | 1 | -0/+28 |
| | | | | | * set engine's route in setup * use fixture with engine namespace | ||||
* | Merge pull request #21043 from ↵ | Rafael Mendonça França | 2015-08-06 | 1 | -0/+1 |
|\ | | | | | | | | | y-yagi/loading_fixtures_in_engine_integration_tests set the correct path to `ActionDispatch::IntegrationTest.fixture_path` | ||||
| * | set the correct path to `ActionDispatch::IntegrationTest.fixture_path` | yuuji.yaginuma | 2015-07-28 | 1 | -0/+1 |
| | | | | | | | | | | `ActionDispatch::IntegrationTest.fixture_path` set by `test_help.rb`, but if the engine, path under the dummy is will be set, fixtures under test was not loaded. | ||||
* | | Enable the `api_only` option for API plugins' generators | Robin Dupret | 2015-07-23 | 1 | -0/+26 |
| | | | | | | | | | | | | | | This way, running a generator inside the plugin's directory, files that are not relevant won't be generated (e.g. views or assets). This won't interfere with the application's generators configuration. | ||||
* | | Generate an API dummy application for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+8 |
| | | |||||
* | | Make ApplicationController inherit from AC::API for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+8 |
| | | |||||
* | | Skip assets, helpers and views generation for API plugins | Robin Dupret | 2015-07-23 | 1 | -0/+12 |
|/ | |||||
* | Merge pull request #20819 from y-yagi/rails_api_gemfile | Rafael Mendonça França | 2015-07-21 | 1 | -0/+1 |
|\ | | | | | remove `web-console` from API app generated Gemfile | ||||
| * | remove `web-console` from API app generated Gemfile | yuuji.yaginuma | 2015-07-09 | 1 | -0/+1 |
| | | |||||
* | | make test runner work correctly inside engine | yuuji.yaginuma | 2015-07-12 | 2 | -4/+4 |
|/ | |||||
* | Display a more human readable list of reserved names | Robin Dupret | 2015-07-01 | 2 | -2/+2 |
| | | | | | Interpolating an array inside a String will call #inspect on it. Let's call #join to display a more human-readable error message. | ||||
* | fix NoMethodError that occurs when generating scaffold inside full mode engine | yuuji.yaginuma | 2015-06-28 | 2 | -0/+25 |
| | |||||
* | cherry-pick test and source doc from #20050 | Hirofumi Wakasugi | 2015-06-25 | 1 | -0/+8 |
| | |||||
* | Merge pull request #20605 from dcrec1/assert_file | Yves Senn | 2015-06-19 | 1 | -1/+1 |
|\ | | | | | | | assert_file understands paths with special characters | ||||
| * | assert_file understands paths with special characters | Diego Carrion | 2015-06-18 | 1 | -1/+1 |
| | | | | | | fixes #20042 | ||||
* | | fix railties tests | Mehmet Emin İNAÇ | 2015-06-18 | 1 | -2/+2 |
|/ | |||||
* | Enable wrap_parameter by default in rails api applications | Jorge Bejar | 2015-06-11 | 1 | -3/+1 |
| | |||||
* | Add rake-cors gem (commented) in Gemfile for rails api apps | Jorge Bejar | 2015-06-11 | 1 | -0/+3 |
| | |||||
* | Add AMS 0.10.0.rc1 by default for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Fix scaffold generator test for resource routes | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Api only apps should include tmp and vendor folders | Jorge Bejar | 2015-06-11 | 1 | -0/+2 |
| | |||||
* | Routes resources avoid :new and :edit endpoints if api_only is enabled | Jorge Bejar | 2015-06-11 | 1 | -6/+0 |
| | |||||
* | Disable jbuilder for Rails API apps, meanwhile it doesn't play nicely | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Add config.api_only = true to config/application.rb when using rails new --api | Santiago Pastorino | 2015-06-11 | 1 | -0/+4 |
| | |||||
* | Do not generate lib/assets directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Api apps scaffold does not generate assets | Santiago Pastorino | 2015-06-11 | 1 | -1/+6 |
| | |||||
* | Api apps scaffold does not generate helpers | Santiago Pastorino | 2015-06-11 | 1 | -1/+4 |
| | |||||
* | Api apps scaffold does not generate views | Santiago Pastorino | 2015-06-11 | 1 | -1/+8 |
| | |||||
* | Add api scaffold test for route, controller and its tests | Santiago Pastorino | 2015-06-11 | 1 | -0/+55 |
| | |||||
* | API apps scaffold generator generates an apropriate controller | Santiago Pastorino | 2015-06-11 | 1 | -0/+47 |
| | |||||
* | Api apps scaffold generates routes without new and edit actions | Santiago Pastorino | 2015-06-11 | 1 | -0/+6 |
| | |||||
* | 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/+1 |
| | |||||
* | Do not generate app/helpers directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Do not generate app/assets directory for api apps | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | |||||
* | Generate appropriate initializers for an api app | Santiago Pastorino | 2015-06-11 | 1 | -1/+8 |
| | |||||
* | rails new --api generates an api app skeleton | Santiago Pastorino | 2015-06-11 | 1 | -0/+76 |
| | |||||
* | add option to avoid generating scaffold.css | masarakki | 2015-06-09 | 1 | -0/+14 |
| | |||||
* | Removed duplicate test cases for template execution | Ronak Jangir | 2015-06-04 | 1 | -9/+0 |
| | |||||
* | Merge pull request #20387 from y-yagi/fix_engine_generated_controller_test | Yves Senn | 2015-06-02 | 2 | -0/+25 |
|\ | | | | | | | set engine's route in the functional test is generated in the engine | ||||
| * | add test to run generated test files inside mountable engine | yuuji.yaginuma | 2015-06-02 | 3 | -16/+25 |
| | | |||||
| * | add engine's namespace to fixture name | yuuji.yaginuma | 2015-05-31 | 1 | -0/+1 |
| | | |||||
| * | set engine's route in the functional test is generated in the engine | yuuji.yaginuma | 2015-05-31 | 1 | -0/+15 |
| | | |||||
* | | Removed use of mocha from railties actions_test | Ronak Jangir | 2015-06-01 | 1 | -27/+52 |
|/ | |||||
* | Generate a `.keep` file in `tmp` folder | Yoong Kang Lim | 2015-05-30 | 1 | -0/+27 |
| | | | | | | | | | | | | | 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] | ||||
* | Omit .keep in .gitignore when generated with --skip-keeps. | Ben Pickles | 2015-05-22 | 1 | -1/+5 |
| | |||||
* | list reserved words in generator error | Sean Linsley | 2015-05-05 | 2 | -2/+2 |
| | |||||
* | Remove use of mocha in the named base tests | Semyon Pupkov | 2015-04-28 | 1 | -10/+13 |
| | |||||
* | Implicitly skip spring for `rails new --dev` | Godfrey Chan | 2015-04-20 | 1 | -0/+8 |
| | | | | | | Spring seems like an obvious foot gun for the `--dev` setup, presumably you are about to make lots of changes to the codebase, so it should always reload the framework. | ||||
* | fix indent in routes when using namespaced controllers | yuuji.yaginuma | 2015-04-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | Before: namespace :foo do namespace :bar do get 'baz/index' end end After: namespace :foo do namespace :bar do get 'baz/index' end end |