Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | Merge pull request #20384 from kaspth/per-request-cache | David Heinemeier Hansson | 2015-07-20 | 1 | -0/+63 |
|\ \ | | | | | | | Use digest cache in development. | ||||
| * | | Make digest cache work in development. | Kasper Timm Hansen | 2015-07-18 | 1 | -0/+63 |
| | | | | | | | | | | | | | | | | | | Avoid computing the same fragment digest many times when looping over templates. The cache is cleared on every request so template changes are still picked up. | ||||
* | | | make test runner work correctly inside engine | yuuji.yaginuma | 2015-07-12 | 2 | -4/+4 |
|/ / | |||||
* | | Rely on the load interlock for non-caching reloads, too | Matthew Draper | 2015-07-09 | 1 | -7/+7 |
| | | |||||
* | | Soften the lock requirements when eager_load is disabled | Matthew Draper | 2015-07-09 | 1 | -4/+21 |
|/ | | | | | We don't need to fully disable concurrent requests: just ensure that loads are performed in isolation. | ||||
* | 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. | ||||
* | `dump_schema_after_migration` applies migration tasks other than db:migrate | Yves Senn | 2015-06-30 | 1 | -6/+8 |
| | | | | | | | | | | | | | Closes #20743. The task `db:_dump` now only dumps the schema if `ActiveRecord::Base.dump_schema_after_migration` is true. This has effects: - `db:migrate:up` - `db:migrate:down` - `db:forward` - `db:rollback` | ||||
* | tests, railties tests should use `bin/` executables when possible. | Yves Senn | 2015-06-30 | 9 | -121/+121 |
| | | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path. | ||||
* | 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 |
| | |||||
* | do not show "Failed tests" message when a failed test is not | yuuji.yaginuma | 2015-06-23 | 1 | -0/+1 |
| | |||||
* | remove unused variable in reporter test | yuuji.yaginuma | 2015-06-22 | 1 | -1/+0 |
| | |||||
* | Merge pull request #20605 from dcrec1/assert_file | Yves Senn | 2015-06-19 | 2 | -1/+9 |
|\ | | | | | | | assert_file understands paths with special characters | ||||
| * | assert_file understands paths with special characters | Diego Carrion | 2015-06-18 | 2 | -1/+9 |
| | | | | | | fixes #20042 | ||||
* | | fix railties tests | Mehmet Emin İNAÇ | 2015-06-18 | 1 | -2/+2 |
|/ | |||||
* | make it possible to customize the executable inside rereun snippets. | Yves Senn | 2015-06-13 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | 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 ``` | ||||
* | Fix failing tests for Rails-API | Sean Griffin | 2015-06-11 | 1 | -1/+1 |
| | | | | This looks to be just out of sync tests | ||||
* | 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 |
| | |||||
* | Use new hash syntax | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Disable jbuilder for Rails API apps, meanwhile it doesn't play nicely | Santiago Pastorino | 2015-06-11 | 1 | -0/+1 |
| | |||||
* | Add test to show api only apps allow overriding generator options | Santiago Pastorino | 2015-06-11 | 1 | -0/+16 |
| | |||||
* | Add config.api_only = true to config/application.rb when using rails new --api | Santiago Pastorino | 2015-06-11 | 1 | -0/+4 |
| | |||||
* | config.api_only = true implies config.generators.api_only = true | Santiago Pastorino | 2015-06-11 | 2 | -2/+1 |
| | |||||
* | 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 | 2 | -1/+7 |
| | |||||
* | Api apps scaffold does not generate helpers | Santiago Pastorino | 2015-06-11 | 2 | -1/+5 |
| | |||||
* | Api apps scaffold does not generate views | Santiago Pastorino | 2015-06-11 | 2 | -1/+9 |
| | |||||
* | 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 | 2 | -0/+67 |
| | |||||
* | config.generators.api_only = true set rails api option on generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+2 |
| | |||||
* | Api apps scaffold generates routes without new and edit actions | Santiago Pastorino | 2015-06-11 | 1 | -0/+6 |
| | |||||
* | Hide assets, helper, css and js namespaces for api only apps | Santiago Pastorino | 2015-06-11 | 1 | -0/+15 |
| | |||||
* | 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 AC::API + its middleware stack integration test | Santiago Pastorino | 2015-06-11 | 1 | -0/+29 |
| |