aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary `ENV[]` from `log:clear` example [ci skip]yuuji.yaginuma2016-01-161-1/+1
|
* bring back `TEST` env for `rake test`.Yves Senn2016-01-121-0/+4
| | | | | | | Closes #23027. This does not restore complete backwards compatibility. It simply passes the contets of the `TEST` env to the new runner.
* rake log:clear task updated refs[#22544]Pramod2016-01-091-0/+10
| | | | | | | | - Avoided truncating all files if no ENV['LOGS'] specified - Updated task to accept LOGS=all for truncating all files from log/ i.e. log/*log - If no LOGS specified will truncates standard environment log files i.e. 'development,test,production' - CHANGELOG & guide update added - bin/setup test cases fixed
* release notes, extract notable changes from Railties CHANGELOG.Yves Senn2015-12-221-4/+4
| | | | [ci skip]
* [ci skip] No more no changes entries in the CHANGELOGs (cases left in #22718)Akshay Vishnoi2015-12-221-3/+0
|
* Fixes using `add_source` with a block after using `gem` in a custom railsWill Fisher2015-12-211-0/+4
| | | | generator template.
* Add CHANGELOG headers for Rails 5.0.0.beta1eileencodes2015-12-181-0/+5
|
* README.rdoc -> README.md for newly generated pluginsyuuji.yaginuma2015-12-171-0/+4
| | | | I think Markdown is nowadays a better default.
* let config.file_watcher be the way to enable the evented file watcherXavier Noria2015-12-131-5/+5
| | | | | | | | | | | Before this commit, the sole presence of the Listen constant enabled the evented file watcher (unless listen resorted to the polling backend). This way, applications may depend on listen for other stuff independently of this feature. Also, allows teams with mixed setups to decide at boot time whether the evented watcher should be enabled for each particular instance.
* Update Changelog with the added response_format option in AD::DebugExceptionsJorge Bejar2015-12-091-0/+9
|
* Fix #22232: rake test tasks exit status codeArkadiusz Fal2015-12-071-0/+7
| | | | | | | The exit status code was not set when tests were fired with `rake`. Now, it is being set and it matches behavior of running tests via `rails` command (`rails test`), so no matter if `rake test` or `rails test` command is used the exit code will be set.
* Add Rails command infrastructure and encapsulate development cachingChuck Callebs2015-12-041-0/+7
|
* allow use of minitest-rails gem with test runnerChris Kottom2015-11-301-0/+6
|
* add `bin/test` script to rails pluginyuuji.yaginuma2015-11-281-0/+6
|
* Make the `static_index` config part of the `config.public_server` configYuki Nishijima2015-11-161-0/+5
| | | | Also call it `public_server.index_name` so it'll make more sense.
* registers these changes in the CHANGELOGsXavier Noria2015-11-111-0/+5
|
* Move `static_cache_contorl` deprecation changelog entry to Railties.Kasper Timm Hansen2015-11-041-0/+22
| | | | | | | The configuration for `config.static_cache_control`, and its replacement `config.public_file_server.headers` are implemented in Railties. People would configure this in environment files, which is Railties domain too.
* Add enabled flag to the public file server.Kasper Timm Hansen2015-11-031-0/+19
| | | | | | | | As discussed in https://github.com/rails/rails/pull/19135#issuecomment-153385986. Replaces `serve_static_files` to unify the static options under the `public_file_server` wing. Deprecates `serve_static_files` accessors, but make them use the newer config internally.
* Route generator should be idempotent - closes #22082Thiago Pinto2015-10-311-0/+4
|
* rails/application: allow passing an env to config_forSimon Eskildsen2015-10-301-0/+4
|
* Allow rake:stats to account for rake tasksKevin Deisz2015-10-191-0/+4
|
* Update the URL when changing mailer preview formatsJames Kerr2015-10-061-0/+6
| | | | | | Added javascript to update the URL on mailer previews with the currently selected email format. Reloading the page now keeps you on your selected format rather than going back to the default html version.
* Revert "removing Rack::Runtime from the default stack."Aaron Patterson2015-10-031-3/+0
| | | | | | | | | | | | | | | | | | This reverts commit 37423e4ff883ad5584bab983aceb4b2b759a1fd8. Jeremy is right that we shouldn't remove this. The fact is that many engines are depending on this middleware to be in the default stack. This ties our hands and forces us to keep the middleware in the stack so that engines will work. To be extremely clear, I think this is another smell of "the rack stack" that we have in place. When manipulating middleware, we should have meaningful names for places in the req / res lifecycle **not** have engines depend on a particular constant be in a particular place in the stack. This is a weakness of the API that we have to figure out a way to address before removing the constant. As far as timing attacks are concerned, we can reduce the granularity such that it isn't useful information for hackers, but is still useful for developers.
* removing Rack::Runtime from the default stack.Aaron Patterson2015-10-021-0/+3
| | | | | | | | | | | | The runtime header is a potential target for timing attacks since it returns the amount of time spent on the server (eliminating network speed). Total time is also not accurate for streaming responses. The middleware can be added back via: ```ruby config.middleware.ues ::Rack::Runtime ```
* Refactor AS::Callbacks halt config and fix the documentationRoque Pinel2015-10-011-3/+4
| | | | | | | | | Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a818d413c64ff9867125f0b03788fc306f8
* Add fail fast to test runner.Kasper Timm Hansen2015-09-291-0/+32
| | | | | Passing `--fail-fast` to the test runner will now abort the test run on the first failure. The run continues on any unexpected errors.
* Add inline failure reporting to test runner.Kasper Timm Hansen2015-09-281-0/+30
| | | | | | | | | Any failures or errors will be reported inline during the run by default. Skipped tests will be reported if run in verbose mode. Any result is output with failure messages and a rerun snippet for that test. Rerun snippets won't be output after a run, unless `--defer-output` is passed.
* Fix displaying mailer previews on non local requests.Wojciech Wnętrzak2015-09-171-0/+5
| | | | | When config `action_mailer.show_previews` is set, previews are displayed regardless of local request check.
* Use the PORT environment variable for rails serverDavid Cornu2015-08-181-0/+4
|
* Plugins are generated with the version 0.1.0Daniel Morris2015-08-161-0/+5
| | | | | | The semantic versioning specification uses MAJOR.MINOR.PATCH – it would make more sense to set the version to 0.1.0 for initial development since a patch release cannot be created before a minor feature release.
* Add a changelog entry for #21124 [ci skip]Robin Dupret2015-08-161-0/+6
| | | | [Kir Shatrov & Robin Dupret]
* Added bin/update script to update application automaticallyMehmet Emin İNAÇ2015-08-071-0/+4
| | | | | | | | | | use system! fix changelog use bundle check first and use rake use system instead system! for bundle check
* Only load statistics.rake once from inside engineErsin Akinci2015-08-061-1/+8
| | | | | | | | | | | | | | When running rake stats from inside an engine, the engine's Rakefile attempts to reload statistics.rake after the test app loads it, which results in STATS_DIRECTORIES being redefined and an annoying warning. This patch skips loading statistics.rake from tasks.rb if rake's current scope isn't empty, i.e. if we are running from inside an engine and not the test app dir or a normal app. Fixes #20510.
* Add rake dev:cache task to enable dev mode caching.Chuck Callebs2015-08-041-0/+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
* Add the `--api` option for the plugin generatorRobin Dupret2015-07-231-0/+5
|
* Merge pull request #20724 from y-yagi/fix_scaffold_in_full_engineYves Senn2015-06-291-0/+4
|\ | | | | | | fix NoMethodError that occurs when generating scaffold inside full mode engine
| * fix NoMethodError that occurs when generating scaffold inside full mode engineyuuji.yaginuma2015-06-281-0/+4
|/
* cherry-pick test and source doc from #20050Hirofumi Wakasugi2015-06-251-0/+4
|
* Merge pull request #20605 from dcrec1/assert_fileYves Senn2015-06-191-0/+5
|\ | | | | | | assert_file understands paths with special characters
* | Remove ContentLength middleware from the defaults.Aaron Patterson2015-06-171-0/+5
|/ | | | | ContentLength is not part of the rack SPEC since rack/rack@86ddc7a6ec68d7b6951c2dbd07947c4254e8bc0d If you want it, just add it as a middleware in your config.
* make it possible to customize the executable inside rereun snippets.Yves Senn2015-06-131-0/+4
| | | | | | | | | | | | | | | | | | | 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 ```
* Add CHANGELOG entries for API apps functionalitySantiago Pastorino2015-06-111-0/+7
|
* Merge pull request #20387 from y-yagi/fix_engine_generated_controller_testYves Senn2015-06-021-0/+4
| | | | set engine's route in the functional test is generated in the engine
* Generate a `.keep` file in `tmp` folderYoong Kang Lim2015-05-301-0/+7
| | | | | | | | | | | | | 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]
* config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-0/+8
| | | | | | 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 #20023 from mohnish/patch-1Yves Senn2015-05-061-0/+4
| | | | Use the built-in rake tasks
* Fix mailer previews with attachmentsAndrew White2015-05-041-0/+7
| | | | | | Use the mail gem's own API to locate the correct part. Fixes #14435.
* Merge pull request #19949 from thiagoaugusto/create-thiago-punctuation-fixYves Senn2015-04-291-1/+1
|\ | | | | | | CHANGELOG punctuation fix
| * CHANGELOG punctuation fixThiago Augusto2015-04-291-1/+1
|/ | | Punctuation fix
* Remove sqlite support from `rails dbconsole`Andrew White2015-04-221-0/+4
| | | | | | Support for versions of SQLite less than 3 was removed in #6011 as part of the Rails 4.0 release. Therefore there is no need to have support for it in the `rails dbconsole` command anymore.