- 15 5月, 2016 3 次提交
-
-
由 Xavier Noria 提交于
Conventionally envs are ordered development -> test -> production.
-
由 Xavier Noria 提交于
Add Action Cable guide to list
-
由 Xavier Noria 提交于
-
- 14 5月, 2016 8 次提交
-
-
由 Eileen M. Uchitelle 提交于
Document and test ActionDispatch server_port
-
由 Vijay Dev 提交于
Conflicts: guides/source/configuring.md
-
由 Rafael França 提交于
Perfomance fix for ActiveSupport Enumerable#index_by
-
由 lvl0nax 提交于
Calculating ------------------------------------- before 34.731k i/100ms after 48.206k i/100ms ------------------------------------------------- before 508.451k (± 1.2%) i/s - 2.570M after 720.068k (± 0.9%) i/s - 3.615M Comparison: after: 720067.6 i/s before: 508451.1 i/s - 1.42x slower
-
由 Rafael França 提交于
Add missing space and newline for clarity
-
由 Eileen M. Uchitelle 提交于
Add notes on cosmetic patches to contributing guidelines
-
由 Joe Masilotti 提交于
-
由 Vipul A M 提交于
Add output snippet from `ActionController::API.ancestors - ActionController::Metal.ancestors` command for api apps. [ci skip]
-
- 13 5月, 2016 6 次提交
-
-
由 Jon Moss 提交于
This effectively publishes the "Action Cable Overview" guide. If we don't think this is ready for the prime time, we can mark it as a "work in progress" guide. [ci skip]
-
由 Kang-Kyu Lee 提交于
-
由 Sean Griffin 提交于
The error message that we give today makes this error difficult to debug if you receive it. I have no clue why we're printing the object ID of the class (the commit doesn't give context), but I've left it as it was deliberate.
-
由 Richard Schneeman 提交于
Rename test method
-
由 Molchanov Andrey 提交于
-
由 Tom Kadwill 提交于
-
- 12 5月, 2016 7 次提交
-
-
由 Sean Griffin 提交于
When looking for mutation, we compare the serialized version of the value to the before_type_cast form. `Type::Serialized` was breaking this contract by passing the already serialized attribute to the subtype's mutation detection. This never manifested previously, as all mutable subtypes either didn't do anything in their `serialize` method, or had a way to detect double serialization (e.g. `is_a?(String)`). However, now that JSON types can handle string primitives, we need to avoid double serialization. Fixes #24993.
-
由 Jon Moss 提交于
Signed-off-by: NJeremy Daer <jeremydaer@gmail.com>
-
由 Sean Griffin 提交于
Define ActiveRecord::Attribute::Null#type_cast
-
由 Kasper Timm Hansen 提交于
Improve documentation and tests for raw_host_with_port and host_with_…
-
由 Tom Kadwill 提交于
-
由 Arthur Neves 提交于
When calling remove_connection in a subclass, that should not fallback to the parent, otherwise it will remove the parent connection from the handler.
-
由 Matthew Erhard 提交于
Using ActiveRecord::Base.attribute to declare an attribute with a default value on a model where the attribute is not backed by the database would raise a NotImplementedError when model.save is called. The error originates from https://github.com/rails/rails/blob/59d252196b36f6afaafd231756d69ea21537cf5d/activerecord/lib/active_record/attribute.rb#L84. This is called from https://github.com/rails/rails/blob/59d252196b36f6afaafd231756d69ea21537cf5d/activerecord/lib/active_record/attribute.rb#L46 on an ActiveRecord::Attribute::Null object. This commit corrects the behavior by implementing ActiveRecord::Attribute::Null#type_cast. With ActiveRecord::Attribute::Null#type_cast defined, ActiveRecord::Attribute::Null#value (https://github.com/rails/rails/blob/59d252196b36f6afaafd231756d69ea21537cf5d/activerecord/lib/active_record/attribute.rb#L173..L175) can be replaced with its super method (https://github.com/rails/rails/blob/59d252196b36f6afaafd231756d69ea21537cf5d/activerecord/lib/active_record/attribute.rb#L36..L40). fixes #24979
-
- 11 5月, 2016 16 次提交
-
-
由 Arthur Nogueira Neves 提交于
Getting Started Guide: Add invoke test_unit to files table [ci skip]
-
由 Francis Go 提交于
-
由 Vipul A M 提交于
Added clarity to documentation of ArrayInquirer#any? [ci skip]
-
由 Mohit Natoo 提交于
- Added clarity to documentation of ArrayInquirer#any? [ci skip] - Added clarity to documentation of ArrayInquirer#any? [ci skip]
-
由 प्रथमेश Sonpatki 提交于
Getting Started Guide: Add channels and jobs to purpose table [ci skip]
-
由 Francis Go 提交于
-
由 Santiago Pastorino 提交于
API only apps: Preserve request format for HTML requests too
-
由 Arthur Nogueira Neves 提交于
Dont cache the conn_spec_name when empty
-
由 Arthur Neves 提交于
`remove_connection` can reset the `connection_specification_name`, so we need to to set it after the remove_connection call on `establish_connection` method.
-
由 Arthur Neves 提交于
We cannot cache the connection_specification_name when it doesnt exist. Thats because the parent value could change, and we should keep failling back to the parent. If we cache that in a children as an ivar, we would not fallback anymore in the next call, so the children would not get the new parent spec_name.
-
由 Vipul A M 提交于
[ci skip] Update documents of `ConnectionHandler`
-
由 प्रथमेश Sonpatki 提交于
Getting Started Guide: Update Ruby version to 2.3.1p112 [ci skip]
-
由 Francis Go 提交于
[ci skip]
-
由 yui-knk 提交于
Follow up of #24844. The key of `@owner_to_pool` was changed from `klass.name` to `spec.name`. By this change "memory leaks in development mode" will not happen, bacause the equality of string is not changed by reloading of model files.
-
由 Arthur Neves 提交于
remove_connection When calling `remove_connection` on a model, we delete the pool so we also need to reset the `connection_specification_name` so it will fallback to the parent. This was the current behavior before rails 5, which will fallback to the parent connection pool. [fixes #24959] Special thanks to @jrafanie for working with me on this fix.
-
由 Prathamesh Sonpatki 提交于
- Earlier we were responding with JSON format for HTML requests in a API app. - Now we will respond with HTML format for such requests in API apps. - Also earlier we were not testing the API app's JSON requests properly. We were actually sending HTML requests. Now we send correct JSON requests. Also added more test coverage. - Based on the discussion from this commit - https://github.com/rails/rails/commit/05d89410bf97d0778e78558db3c9fed275f8a614. [Prathamesh Sonpatki, Jorge Bejar]
-