Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove circular require | Rafael Mendonça França | 2015-03-27 | 2 | -4/+0 |
| | |||||
* | Merge pull request #19562 from mechanicles/remove-old-link | Rafael Mendonça França | 2015-03-27 | 1 | -1/+1 |
|\ | | | | | Remove old and not working link. [ci skip] | ||||
| * | Remove old and not working link. [ci skip] | Santosh Wadghule | 2015-03-28 | 1 | -1/+1 |
| | | |||||
* | | Define a setup method instead of using setup as block | Rafael Mendonça França | 2015-03-27 | 1 | -1/+2 |
| | | | | | | | | | | setup as block run before setup actlually runs so it will fail for our case | ||||
* | | Remove Array#inquiry | Rafael Mendonça França | 2015-03-27 | 4 | -27/+1 |
| | | | | | | | | | | We are promoting too much a feature that will not be widler used. So for now lets keep just the ArrayInquirer constructor. | ||||
* | | Merge pull request #18939 from georgeclaghorn/variant-inquiry | Rafael Mendonça França | 2015-03-27 | 10 | -33/+171 |
|\ \ | |/ |/| | | | Provide friendlier access to request variants | ||||
| * | Add ActiveSupport::ArrayInquirer and Array#inquiry | George Claghorn | 2015-03-24 | 7 | -27/+112 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrapping an array in an `ArrayInquirer` gives a friendlier way to check its string-like contents. For example, `request.variant` returns an `ArrayInquirer` object. To check a request's variants, you can call: request.variant.phone? request.variant.any?(:phone, :tablet) ...instead of: request.variant.include?(:phone) request.variant.any? { |v| v.in?([:phone, :tablet]) } `Array#inquiry` is a shortcut for wrapping the receiving array in an `ArrayInquirer`: pets = [:cat, :dog] pets.cat? # => true pets.ferret? # => false pets.any?(:cat, :ferret} # => true | ||||
| * | Provide friendlier access to request variants | George Claghorn | 2015-03-24 | 4 | -37/+90 |
| | | | | | | | | Closes #18933. | ||||
* | | Merge pull request #19554 from prathamesh-sonpatki/improve-changelog | Zachary Scott | 2015-03-27 | 1 | -1/+1 |
|\ \ | | | | | | | Improve CHANGELOG for fix for respecting pluralize_table_names [ci skip... | ||||
| * | | Improve CHANGELOG for fix for respecting pluralize_table_names [ci skip] | Prathamesh Sonpatki | 2015-03-27 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #19547 from jonatack/warn-on-loading-large-query-sets | Abdelkader Boudih | 2015-03-27 | 2 | -7/+6 |
|\ \ | | | | | | | [skip ci] Improve `warn_on_records_fetched` code documentation | ||||
| * | | [skip ci] Improve `warn_on_records_fetched` documentation | Jon Atack | 2015-03-27 | 2 | -7/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | - ‘dection’ -> ‘detection’ - ‘exceeds threshold’ -> ‘exceeds the threshold’ - Other minor improvements. | ||||
* | | | Merge pull request #19540 from y-yagi/fix_fixture_file_name | Yves Senn | 2015-03-27 | 4 | -1/+21 |
|\ \ \ | | | | | | | | | respect `pluralize_table_names` when generate fixture file. fixes #19519 | ||||
| * | | | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 4 | -1/+21 |
| | | | | |||||
* | | | | Merge pull request #19535 from JuanitoFatas/doc/av-comment | Yves Senn | 2015-03-27 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | [ci skip] Unify the code comment in ActionView::Renderer#render_template... | ||||
| * | | | | [ci skip] Unify the code comment in ActionView::Renderer#render_template. | Juanito Fatas | 2015-03-27 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #19543 from mechanicles/fix-doc | Matthew Draper | 2015-03-27 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Correct doc sentence [ci skip] | ||||
| * | | | | | Correct doc sentence [ci skip] | Santosh Wadghule | 2015-03-27 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Missing require 'active_support/deprecation' | Akira Matsuda | 2015-03-27 | 3 | -0/+5 |
|/ / / / / | |||||
* | | | | | Merge pull request #19541 from jonatack/warn-on-loading-large-query-sets | Richard Schneeman | 2015-03-27 | 1 | -0/+5 |
|\ \ \ \ \ | | |_|/ / | |/| | | | [skip ci] Update configuring.md with #18846 | ||||
| * | | | | [skip ci] Update configuring.md with #18846 | Jon Atack | 2015-03-27 | 1 | -0/+5 |
|/ / / / | | | | | | | | | | | | | | | | | Add `config.active_record.warn_on_records_fetched_greater_than` to the Configuring Rails Guide. | ||||
* | | | | Partially merge #17650 | Sean Griffin | 2015-03-26 | 3 | -147/+20 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merges 647eb2cf1cd65b0391e3584361f0fc76246e64f3. The pull request as a whole is quite large, and I'm reviewing the smaller pieces individually. | ||||
| * | | | | PostgreSQL, Use ruby-pg's built-in capabilities for array en-/decoding in C. | Lars Kanis | 2015-03-25 | 3 | -147/+10 |
| | | | | | | | | | | | | | | | | | | | | This obsoletes the ruby based implementations. | ||||
| * | | | | PostgreSQL, Add input type casts for primitive types. | Lars Kanis | 2015-03-25 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby-pg's default way to serialize values for transmission to the database is to call #to_s . This however creates a temporary String object for each value. Setting a class based type map avoids the allocation of this additional String. The performance benefit is measurable in microbenchmarks, but not with the overhead of activerecord. However it's free to use and has no drawback. | ||||
* | | | | | Partially merge #17650 | Sean Griffin | 2015-03-26 | 8 | -24/+24 |
|\| | | | | |_|/ / |/| | | | | | | | | | | | Merges 1d8d5a74b81b8aab1f5e6d233d509a92525ed4e1. The pull request as a whole is quite large, and I'm reviewing the smaller pieces individually. | ||||
| * | | | PostgreSQL, Fix OID based type casts in C for primitive types. | Lars Kanis | 2015-03-25 | 8 | -24/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The type map was introduced in aafee23, but wasn't properly filled. This mainly adjusts many locations, that expected strings instead of integers or boolean. add_pg_decoders is moved after setup of the StatementPool, because execute_and_clear could potentially make use of it. | ||||
* | | | | Merge pull request #18846 from hundredwatt/feat/warn-on-result-set-size | Rafael Mendonça França | 2015-03-26 | 5 | -0/+102 |
|\ \ \ \ | | | | | | | | | | | Add `config.active_record.warn_on_result_set_size` option | ||||
| * | | | | Add `config.active_record.warn_on_records_fetched_greater_than` option | Jason Nochlin | 2015-03-25 | 5 | -0/+102 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When set to an integer, a warning will be logged whenever a result set larger than the specified size is returned by a query. Fixes #16463 The warning is outputed a module which is prepended in an initializer, so there will be no performance impact if `config.active_record.warn_on_records_fetched_greater_than` is not set. | ||||
* | | | | Merge pull request #19536 from JuanitoFatas/doc/av-determine_template | Rafael Mendonça França | 2015-03-26 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Add missing :html option in determine_template error message. | ||||
| * | | | Add missing :html option in determine_template error message. | Juanito Fatas | 2015-03-27 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-03-26 | 12 | -40/+41 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: guides/source/4_0_release_notes.md | ||||
| * | | | [ci skip] Fix `&>` with `%>` | yui-knk | 2015-03-25 | 1 | -9/+9 |
| | | | | |||||
| * | | | Rails 5 requires 2.2.1. [ci skip] | Juanito Fatas | 2015-03-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Follow up of https://github.com/rails/rails/pull/19263. | ||||
| * | | | [ci skip] Change to a singular form (`the comment model`) | yui-knk | 2015-03-24 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Capitalize title | yui-knk | 2015-03-22 | 1 | -1/+1 |
| | | | | |||||
| * | | | Better title in Testing Guide | Kir Shatrov | 2015-03-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | suggested by @senny https://github.com/rails/rails/pull/18305#issuecomment-73847595 | ||||
| * | | | [ci skip] Add a line between code example and docs | yui-knk | 2015-03-21 | 1 | -0/+1 |
| | | | | |||||
| * | | | [ci skip] Add <tt> tag to `save!` and `create!` | yui-knk | 2015-03-21 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Fix link format | yui-knk | 2015-03-15 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Remove spaces | yui-knk | 2015-03-14 | 1 | -27/+27 |
| | | | | |||||
| * | | | [ci skip] Add space after erb block. | yui-knk | 2015-03-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Add space after erb block. | yui-knk | 2015-03-12 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add backquote to :as option. | yui-knk | 2015-03-11 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Remove unnecessary space | yui-knk | 2015-03-04 | 1 | -2/+2 |
| | | | | |||||
| * | | | [ci skip] Fix fenced code block lang | yui-knk | 2015-03-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | [ci skip] Add `.` | yui-knk | 2015-03-03 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #19521 from mudphone/test_fixture_docs | Arthur Nogueira Neves | 2015-03-25 | 1 | -2/+2 |
|\ \ \ \ | |_|/ / |/| | | | [skip ci] Minor edits for clarity in the test fixture guide. | ||||
| * | | | [skip ci] Minor edits for clarity, to make smooth, & separate clauses. | Kyle Oba | 2015-03-25 | 1 | -2/+2 |
|/ / / | | | | | | | | | | | | | | | | * Add conjunction for clarity. * Add comma between independent clauses: create command, and generation of fixtures. | ||||
* | | | Merge pull request #19496 from andreynering/docs-migrations-change | Kasper Timm Hansen | 2015-03-25 | 1 | -0/+8 |
|\ \ \ | | | | | | | | | Documenting remove_column as a reversible migration method | ||||
| * | | | Documenting remove_column as a reversible migration method [ci skip] | Andrey Nering | 2015-03-25 | 1 | -0/+8 |
|/ / / |