aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| * add fixed fileDermot Haughey2015-05-271-16/+20
| | | | | | | | | | | | add framework_test add another test
* | :bomb: Fix another leftoverRafael Mendonça França2015-05-271-1/+1
| |
* | Merge pull request #19867 from radar/rename-app-rails-loaderRafael Mendonça França2015-05-272-3/+3
|\ \ | |/ |/| Remove redundant 'Rails' from Rails::AppRailsLoader constant
| * Remove redundant 'Rails' from Rails::AppRailsLoader constantRyan Bigg2015-05-212-3/+3
| |
* | Remove web-console and spring from test group on default Gemfile.Kassio Borges2015-05-271-2/+4
| |
* | Add missing type reference hereZachary Scott2015-05-241-1/+1
| |
* | Omit .keep in .gitignore when generated with --skip-keeps.Ben Pickles2015-05-222-1/+7
| |
* | [ci skip] Remove comments about Rails 3.1claudiob2015-05-112-11/+8
| | | | | | | | | | | | | | | | | | Stems from https://github.com/rails/rails/pull/20105#issuecomment-100900939 where @senny said: > From my point of view, all the docs (guides, API) are version bound. > They should describe that version and continue to be available when newer versions are released. > The cross referencing can be done by the interested user.
* | Refactor railties console and dbconsole commandsMehmet Emin İNAÇ2015-05-103-101/+99
| | | | | | | | fix minor convention problems
* | Merge pull request #20063 from trayo/masterRafael Mendonça França2015-05-071-0/+10
|\ \ | | | | | | Adds documentaion for the Rails.root and Rails.public_path methods
| * | better docs for Rails.root and Rails.public_pathTravis Yoder2015-05-071-0/+10
| | |
* | | require object/blank not usedAnkit Gupta2015-05-061-1/+0
| | | | | | | | | | | | the current class is not the blank?, present? as well as other inheriting, the test suite runs
* | | Merge pull request #20023 from mohnish/patch-1Yves Senn2015-05-061-2/+1
|\ \ \ | | | | | | | | | | | | Use the built-in rake tasks
| * | | Use the built-in rake tasksMohnish Thallavajhula2015-05-041-2/+2
| | | | | | | | | | | | Use the `log:clear` and `tmp:clear` rake tasks in the setup file template
* | | | list reserved words in generator errorSean Linsley2015-05-052-2/+2
| | | |
* | | | Merge pull request #19756 from georgemillo/docsRobin Dupret2015-05-051-17/+26
|\ \ \ \ | |/ / / |/| | | fixing English in Rails::Engine docs
| * | | fixing English in Rails::Engine docsGeorge Millo2015-04-231-17/+26
| | |/ | |/| | | | | | | [ci skip]
* | | Fix URI.escape is obsolete warningsAndrew White2015-05-051-1/+1
| |/ |/|