| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The exact inspect output of a BigDecimal is out of scope for what we're trying
to communicate about `dup` and `duplicable?` here.
Adding two examples distracts is disctracting, so keep the docs from before
since our minimal version is Ruby 2.2.2.
[ Koichi ITO, Jon Moss, Kasper Timm Hansen ]
This reverts commit 2163874dedaf83e67599c2930c2686caa165fbad, reversing
changes made to 46fdbc5290335ed38fa9fe2b6b0ef8abe4eccb1b.
|
|
|
|
| |
cf. https://github.com/ruby/bigdecimal/pull/42
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Complex and Rational objects can not be duplicated.
Duplicable objects in Ruby 2.4.0 include:
- most numbers
- symbols
- `nil`
- `true`
- `false`
|
|
|
|
| |
Follow up to 7c848e6dd493ff236d33a0410a92f4c3e5cc3c7f
|
|
|
|
|
|
|
|
| |
The hashes returned in some examples of the following sections had items in a different order than their receivers. That may mislead readers into believing those methods will not preserve element order.
Extensions to Hash/Working with Keys/transform_keys and transform_keys!
Extensions to Hash/Working with Keys/stringify_keys and stringify_keys!
Extensions to Hash/Working with Keys/symbolize_keys and symbolize_keys!
Extensions to Hash/Slicing
|
| |
|
|\ |
|
| |
| |
| |
| | |
`_key_[]` [ci skip]
|
|/
|
|
|
|
| |
See the rationale in the documentation included in this patch.
We are going to gradually introduce this predicate in the code base.
|
|
|
|
| |
the instance objects
|
|
|
|
| |
Follow up to #17845.
|
|
|
|
|
|
|
|
| |
Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005
* Forward compat with new unified Integer class in Ruby 2.4+.
* Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3.
* Drops needless Fixnum distinction in docs, preferring Integer.
|
| |
|
|
|
|
|
| |
In this patch, all log-related stuff in `ActiveSupport::Dependencies`
is removed because the logging is no longer useful.
|
|
|
|
|
| |
After Ruby 1.9, we can easily get the constants that have been
defined locally by `Module.constants(false)`.
|
|
|
|
|
|
| |
and DateTime
[ci skip] Adding `on_weekend?` method in edge rails guides
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is a pass over the documentation which fills the missing gaps of
`ApplicationRecord`.
[ci skip]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Rails 5.1 `ActionController::TestCase` will be moved out of Rails
into it's own gem.
Please use `ActionDispatch::IntegrationTest` going foward.
Because this will be moved to a gem I used `# :stopdoc:` instead of
deleting the documentation. This will remove it from the Rails
documentation but still leave the method documented for when we move it
to a gem.
Guides have been updated to use the routing structure used in Integration
and all test examples have been updated to inherit from
`ActionDispatch::IntegrationTest` instead of `ActionController::TestCase.
Fixes #22496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added test cases
Using kwargs instead of three seperate functions
Updated parameterize in transliterate.rb
Updated parameterize in transliterate.rb
Added deprecation warnings and updating RDoc+Guide
Misspelled separtor. Fixed.
Deprecated test cases and added support to parameterize with keyword parameters
Squashing commits.
Fixed test cases and added deprecated test cases
Small changes to Gemfile.lock and CHANGELOG
Update Gemfile.lock
|
|
|
| |
https://twitter.com/avdi/status/660141673993777156
|
|
|
|
| |
We use one period after spaces, not two.
|
|\
| |
| | |
Use Module.prepend instead of alias_method and unify behavior of all Numeric extensions
|
| |
| |
| |
| | |
alias_method
|
| | |
|
| |
| |
| |
| |
| | |
https://github.com/rails/rails/commit/48583f8bf74d1cefefea3cd6591bd546a9eaff6c , to_time returns times formatted as YYYY-MM-DD HH:MM:SS UTC [ci skip]
`to_time` method returns in `YYYY-MM-DD HH:MM:SS UTC` format after this commit https://github.com/rails/rails/commit/48583f8bf74d1cefefea3cd6591bd546a9eaff6c .
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 9876a16904f817e11713bc85479dd70da1de454b.
Reason: Oxford commas are preferred. This is now documented in
the documentation guidelines.
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
[ci skip] Fix docs and guide about 'Array.wrap'
|
| | | |
|
|/ / |
|
|/ |
|
|
|
|
| |
`Proc#bind` is removed with 4.1 release
|
| |
|
|
|
| |
…as discussed #19413
|
| |
|
|\
| |
| | |
[ci skip] Fix to comment
|
| | |
|
|/ |
|
| |
|