aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* Added bin/update script to update application automaticallyMehmet Emin İNAÇ2015-08-071-0/+28
| | | | | | | | | | use system! fix changelog use bundle check first and use rake use system instead system! for bundle check
* Merge pull request #21043 from ↵Rafael Mendonça França2015-08-061-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.yaginuma2015-07-281-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.
* | Merge pull request #20961 from ccallebs/add-dev-mode-cachingKasper Timm Hansen2015-08-051-2/+12
|\ \ | | | | | | Add dev caching toggle / server options
| * | Add rake dev:cache task to enable dev mode caching.Chuck Callebs2015-08-041-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from @Sonopa's commits on PR #19091. Add support for dev caching via "rails s" flags. Implement suggestions from @kaspth. Remove temporary cache file if server does not have flags. Break at 80 characters in railties/CHANGELOG.md Remove ability to disable cache based on server options. Add more comprehensive options: --dev-caching / --no-dev-caching
* | | Inform user to add script in correct location into the application.js ↵Mehmet Emin İNAÇ2015-08-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | manifest file [ci skip] use it change the warning
* | | Merge pull request #21104 from atul-shimpi/masterYves Senn2015-08-032-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | Inform user to add styles in correct location in application.css [ci skip]
| * | | Inform user to add styles in correct location in application.cssatul-shimpi2015-08-032-2/+4
|/ / /
* | | Merge pull request #20992 from JuanitoFatas/fix/bin-setup-scriptYves Senn2015-07-311-1/+1
|\ \ \ | |/ / |/| | Don't fail when checking dependencies in bin/setup script
| * | Don't fail when checking dependencies in bin/setup scriptJuanito Fatas2015-07-231-1/+1
| |/
* | Merge pull request #20759 from vngrs/fix_wrong_docRafael Mendonça França2015-07-271-2/+2
|\ \ | | | | | | Change wrong usage in documentation about autoload_paths [ci skip]
| * | Change wrong usage in documentation about autoload_paths [ci skip]Mehmet Emin İNAÇ2015-07-021-2/+2
| | | | | | | | | | | | We can't use this configuration outside of the application.rb
* | | Enable the `api_only` option for API plugins' generatorsRobin Dupret2015-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | | 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 pluginsRobin Dupret2015-07-231-0/+1
| | |
* | | Make ApplicationController inherit from AC::API for API pluginsRobin Dupret2015-07-231-1/+1
| | |
* | | Skip assets, helpers and views generation for API pluginsRobin Dupret2015-07-231-8/+15
| | |
* | | Add the `--api` option for the plugin generatorRobin Dupret2015-07-231-0/+7
| |/ |/|
* | Merge pull request #20926 from rsanheim/fail-fast-bin-setupRafael Mendonça França2015-07-211-5/+9
|\ \ | | | | | | add system! to fail fast in bin/setup
| * | add system! to fail fast in bin/setupRob Sanheim2015-07-181-5/+9
| | |
* | | Merge pull request #20819 from y-yagi/rails_api_gemfileRafael Mendonça França2015-07-211-1/+3
|\ \ \ | | | | | | | | remove `web-console` from API app generated Gemfile
| * | | remove `web-console` from API app generated Gemfileyuuji.yaginuma2015-07-091-1/+3
| | | |
* | | | titleizing the New LinkThiago Pinto2015-07-201-1/+1
| |/ / |/| |
* | | [skip ci] Lookup can be a noun but it is not a verbJon Atack2015-07-171-3/+3
|/ / | | | | | | Various grammar corrections and wrap to 80 characters.
* | Merge pull request #20767 from y-yagi/remove_unnecessary_fixture_methodYves Senn2015-07-061-4/+0
|\ \ | | | | | | remove unnecessary loading fixtures from `navigation_test.rb`
| * | remove unnecessary loading fixtures from `navigation_test.rb`yuuji.yaginuma2015-07-031-4/+0
| |/ | | | | | | | | it has been corrected in 0176aef1ebaa9f69001c7045a51727a8ea9b61b8 as for loading of fixtures in `test_helper.rb`, loading fixtures for each test is unnecessary.
* / Display a more human readable list of reserved namesRobin Dupret2015-07-012-2/+6
|/ | | | | 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 engineyuuji.yaginuma2015-06-284-3/+7
|
* Merge pull request #20714 from y-yagi/fix_file_fixture_pathRafael Mendonça França2015-06-271-1/+1
|\ | | | | correct `file_fixture_path` in plugins `test_helper.rb`
| * correct `file_fixture_path` in plugins `test_helper.rb`yuuji.yaginuma2015-06-271-1/+1
| | | | | | | | `fixture_path` does not end with a slash
* | modify add_source in application template to take a block for gem entriesHirofumi Wakasugi2015-06-251-2/+16
|/
* Merge pull request #20605 from dcrec1/assert_fileYves Senn2015-06-191-1/+1
|\ | | | | | | assert_file understands paths with special characters
| * assert_file understands paths with special charactersDiego Carrion2015-06-181-1/+1
| | | | | | fixes #20042
* | Merge pull request #20596 from vngrs/use_single_quote_in_gemfileKasper Timm Hansen2015-06-171-1/+1
|\ \ | | | | | | Use single quote in Railties generators Gemfile [ci skip]
| * | Use single quote in Railties generators Gemfile [ci skip]Mehmet Emin İNAÇ2015-06-171-1/+1
| |/
* / Bump AMS to 0.10.0.rc2Santiago Pastorino2015-06-161-1/+1
|/
* [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.
* 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
|
* 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
|