- 11 11月, 2015 1 次提交
-
-
由 Xavier Noria 提交于
-
- 07 11月, 2015 1 次提交
-
-
由 Swaathi K 提交于
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
-
- 22 10月, 2015 1 次提交
-
-
由 Konstantinos Rousis 提交于
-
- 21 10月, 2015 2 次提交
-
-
由 Sean Griffin 提交于
Given that this pull request affects a mutable value, we need to test for and document the affects on the receiver in this case. Additionally, this pull request was missing a CHANGELOG entry.
-
由 Sean Griffin 提交于
-
- 02 10月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
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 0a120a81
-
- 25 9月, 2015 1 次提交
-
-
由 Lucas Mazza 提交于
With this we can perform new assertions on the returned value without having to cache it with an outer variable or wrapping all subsequent assertions inside the `assert_difference` block. Before: ``` post = nil assert_difference -> { Post.count }, 1 do Post.create end assert_predicate post, :persisted? ``` Now: ``` post = assert_difference -> { Post.count } do Post.create end assert_predicate post, :persisted? ```
-
- 23 9月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
Rails 4.2.3 AS::Callbacks will not halt chain if `false` is returned. That is the behavior of specific callbacks like AR::Callbacks and AM::Callbacks.
-
- 21 9月, 2015 1 次提交
-
-
由 Andrew White 提交于
The concept of a blank date or time doesn't make sense so we can short circuit the calls for `blank?` on these classes to gain small speed boost. Fixes #21657
-
- 19 9月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
The thread_safe gem is being deprecated and all its code has been merged into the concurrent-ruby gem. The new class, Concurrent::Map, is exactly the same as its predecessor except for fixes to two bugs discovered during the merge.
-
- 04 9月, 2015 1 次提交
-
-
由 Anshul Sharma 提交于
-
- 01 9月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 29 8月, 2015 1 次提交
-
-
由 Leigh Halliday 提交于
The problem existed where if your ArrayInquirer values were strings but you checked them using any? with a symbol, it would not find the value. Now it will correctly check whether both the String form or the Symbol form are included in the Array. `
-
- 28 8月, 2015 1 次提交
-
-
由 Vipul A M 提交于
- Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of user passed `options[:delimited_regex]` if available. Changed `DELIMITED_REGEX` to `DEFAULT)DELIMITED_REGEX` to signify what it means. - Added tests for number to delimited and number to currency in both actionview and activesupport. Changes Changes
-
- 11 8月, 2015 1 次提交
-
-
由 Jean Boussier 提交于
-
- 27 7月, 2015 1 次提交
-
-
由 Max Jacobson 提交于
Fix #20869
-
- 19 7月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
Before: ```ruby twz = DateTime.now.in_time_zone twz.eql?(twz.dup) => false ``` Now: ```ruby twz = DateTime.now.in_time_zone twz.eql?(twz.dup) => true ``` Please notice that this fix the `TimeWithZone` comparison to itself, not to `DateTime`. Based on #3725, `DateTime` should not be equal to `TimeWithZone`.
-
- 18 7月, 2015 1 次提交
-
-
由 Bernard Potocki 提交于
ActiveSupport::HashWithIndifferentAccess select and reject should return enumerator if called without block
-
- 14 7月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
The concurrent-ruby gem is a toolset containing many concurrency utilities. Many of these utilities include runtime-specific optimizations when possible. Rather than clutter the Rails codebase with concurrency utilities separate from the core task, such tools can be superseded by similar tools in the more specialized gem. This commit replaces `ActiveSupport::Concurrency::Latch` with `Concurrent::CountDownLatch`, which is functionally equivalent.
-
- 11 7月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 10 7月, 2015 2 次提交
-
-
由 Simon Eskildsen 提交于
-
由 Simon Eskildsen 提交于
-
- 09 6月, 2015 1 次提交
-
-
由 Grey Baker 提交于
Use `ActiveSupport::Multibyte::Unicode.tidy_bytes` to handle invalid UTF-8 strings in `ERB::Util.unwrapped_html_escape` and `ERB::Util.html_escape_once`. Prevents user-entered input passed from a querystring into a form field from causing invalid byte sequence errors.
-
- 08 6月, 2015 1 次提交
-
-
由 Aditya Sanghi 提交于
:nail: remove extraneous bracket
-
- 01 6月, 2015 1 次提交
-
-
由 Nikolay Kondratyev 提交于
Passing 999999000 < `:nsec` < 999999999 and 999999 < `:usec` < 1000000 to change a time with utc_offset doesn't throw an `ArgumentError`.
-
- 29 5月, 2015 1 次提交
-
-
由 Kevin Deisz 提交于
Allows fetching the same values from arrays as from ActiveRecord associations.
-
- 24 5月, 2015 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 23 5月, 2015 1 次提交
-
-
由 Gaurish Sharma 提交于
By: Aditya Sanghi(@asanghi) Gaurish Sharma(gaurish)
-
- 20 5月, 2015 2 次提交
-
-
由 Yves Senn 提交于
-
由 Nate Smith 提交于
`Delegator` inherits from `BasicObject`, which means that it will not have `Object#try` defined. It will then delegate the call to the underlying object, which will not (necessarily) respond to the method defined in the enclosing `Delegator`. This patches `Delegator` with the `#try` method to work around the surprising behaviour. Fixes #5790
-
- 19 5月, 2015 1 次提交
-
-
由 karanarora 提交于
-
- 16 5月, 2015 1 次提交
-
-
由 Prathamesh Sonpatki 提交于
-
- 14 5月, 2015 2 次提交
-
-
由 Mehmet Emin İNAÇ 提交于
By this way Integer, Rational, Float, Fixnum, Bignum classes have the same behaviour
-
由 David Heinemeier Hansson 提交于
-
- 23 4月, 2015 2 次提交
-
-
由 Andrew White 提交于
Previously when converting AS::TimeWithZone to YAML it would be output as a UTC timestamp. Whilst this preserves the time information accurately it loses the timezone information. This commit changes that so that it is saved along with the time information. It also provides nicer encoding of AS::TimeZone instances themselves which previously embedded all of the data from the TZInfo records. Fixes #9183.
-
由 Paul A Jungwirth 提交于
This makes it easier to parse user-inputted times as from a given time zone.
-
- 22 4月, 2015 1 次提交
-
-
由 Yves Senn 提交于
-
- 03 4月, 2015 1 次提交
-
-
由 Iain Beeston 提交于
At present, if you skip a callback that hasn't been defined, activesupport callbacks silently does nothing. However, it's easy to mistype the name of a callback and mistakenly think that it's being skipped, when it is not. This problem even exists in the current test suite. CallbacksTest::SkipCallbacksTest#test_skip_person attempts to skip callbacks that were never set up. This PR changes `skip_callback` to raise an `ArgumentError` if the specified callback cannot be found.
-
- 31 3月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit 9420de59. Reason: Turns out we want to keep this method.
-
- 28 3月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
We are promoting too much a feature that will not be widler used. So for now lets keep just the ArrayInquirer constructor.
-