Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #10339 from eiel/unused-require | Rafael Mendonça França | 2013-04-30 | 1 | -1/+0 | |
|\ \ | | | | | | | remove unused require | |||||
| * | | remove unused require | Tomohiko Himura | 2013-04-25 | 1 | -1/+0 | |
| | | | | | | | | | | | | not used remove_possible_method | |||||
* | | | Use new hash syntax in module delegation docs [ci skip] | Carlos Antonio da Silva | 2013-04-28 | 1 | -1/+1 | |
| | | | ||||||
* | | | Module#delegate checks nilness rather that falsehood if :allow_nil is true, ↵ | Xavier Noria | 2013-04-26 | 1 | -30/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and avoids multiple evaluation of the target method Notes: 1) I hope nilness is a word. 2) See rationale for avoiding multiple evaluation in a comment in the patch, credit goes to @jeremy for pointing out this gotcha in the existing implementation. 3) Embeds a little joke dedicated to @pixeltrix (it could be worse! :D). References #10347. | |||||
* | | | Merge pull request #10351 from ↵ | Xavier Noria | 2013-04-26 | 1 | -5/+5 | |
|\ \ \ | | | | | | | | | | | | | | | | | JonRowe/update_as_date_next_week_to_document_intent Propose better documentation for ActiveSupports `next_week` functionaility | |||||
| * | | | formatting | Jon Rowe | 2013-04-26 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | better document `next_week` functionaility closes #9568 | Jon Rowe | 2013-04-26 | 1 | -5/+5 | |
| |/ / | ||||||
* / / | Delegation method bug | Li Ellis Gallardo | 2013-04-25 | 1 | -0/+14 | |
|/ / | | | | | | | | | | | Add documentation and test to delegation method that make sure we're aware that when a delegated object is not nil or false and doesn't respond to the method it will still raise a NoMethodError exception. | |||||
* | | Adjust for daylight savings in String#to_time | Andrew White | 2013-04-23 | 1 | -8/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes in b79adc4323 had a bug where if the time in the String was in standard time but the current time was in daylight savings then the calculated adjustment was off by an hour. This commit fixes this and adds extra tests for the following: * time in string is standard time, current time is standard time * time in string is standard time, current time is daylight savings * time in string is daylight savings, current time is standard time * time in string is daylight savings, current time is daylight savings Fixes #10306. | |||||
* | | more descriptive NameError's messages for class attributes | Hrvoje Šimić | 2013-04-17 | 1 | -2/+2 | |
| | | ||||||
* | | The third argument of deprecation_warning is always optional | Rafael Mendonça França | 2013-04-16 | 1 | -1/+1 | |
| | | | | | | [ci skip] | |||||
* | | Fix documentation to the custom Deprecator | Rafael Mendonça França | 2013-04-16 | 1 | -1/+1 | |
| | | | | | | [ci skip] | |||||
* | | interpolate instead of string concat | Vipul A M | 2013-04-15 | 1 | -1/+1 | |
|/ | ||||||
* | Corrected paramter to parameter | Carson McDonald | 2013-04-13 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 3 | -5/+14 | |
|\ | | | | | | | | | Conflicts: guides/source/action_mailer_basics.md | |||||
| * | fix Array#uniq_by! docs [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -2/+2 | |
| | | ||||||
| * | add documentation to Benchmark#ms [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -0/+7 | |
| | | ||||||
| * | fix broken format in Array#to_sentence [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -3/+5 | |
| | | ||||||
* | | Revert "Merge pull request #10158 from steveklabnik/issue_10125" | Rafael Mendonça França | 2013-04-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | This reverts commit fa3ef8e82ab2f96cf15ef9bc885b2468fad77621, reversing changes made to e0af93dd3a5eeee2e2a67b05f34afb66cc80c00b. Reason: Routes, Active Record and the rendering stack should not depend on the default locale | |||||
* | | Fix inflector to respect default locale. | Nick Cox | 2013-04-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | The inflector was made aware of locales in 7db0b073fec6bc3e6f213b58c76e7f43fcc2ab97, but it defaulted to :en. That should actually be our default locale instead. Fixes #10125 | |||||
* | | Add option to Class#class_attribute for skipping the query method | Agis- | 2013-04-06 | 1 | -3/+5 | |
| | | ||||||
* | | `fast_xs` support has been removed. Use 'String#encode(xml: :attr)`. | Aaron Patterson | 2013-04-05 | 2 | -19/+0 | |
| | | ||||||
* | | Merge pull request #10080 from vipulnsward/railties_warning_fix_v2 | Steve Klabnik | 2013-04-03 | 1 | -0/+1 | |
|\ \ | | | | | | | add require to suppress warning; remove variable | |||||
| * | | add require to suppress warning; remove variable | Vipul A M | 2013-04-04 | 1 | -0/+1 | |
| | | | ||||||
* | | | Fixed Typo | Prathamesh Sonpatki | 2013-04-04 | 1 | -1/+1 | |
|/ / | ||||||
* / | fix some typos in AS | Vipul A M | 2013-03-30 | 1 | -1/+1 | |
|/ | ||||||
* | removing out of date comment. ↵ | Aaron Patterson | 2013-03-12 | 1 | -3/+0 | |
| | | | | :heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart::heart: @pixeltrix | |||||
* | drop memory consumption and startup speed by switching to define_method | Aaron Patterson | 2013-03-12 | 1 | -23/+28 | |
| | ||||||
* | Call String#gsub with Hash directly | Aman Gupta | 2013-03-04 | 1 | -2/+2 | |
| | ||||||
* | Keep second fraction when DateTime#change is called. | Chris Baynes | 2013-02-25 | 1 | -1/+1 | |
| | ||||||
* | Correct comment for (beginning|end)_of_minute | Gert Goet | 2013-02-22 | 2 | -4/+4 | |
| | ||||||
* | Added beginning_of_minute support to core_ext calculations for Time and DateTime | Gagan Awhad | 2013-02-21 | 2 | -0/+27 | |
| | ||||||
* | Change Class#subclasses doc example | Dalibor Nasevic | 2013-02-06 | 1 | -2/+2 | |
| | ||||||
* | revamps the RDoc of Object#try | Xavier Noria | 2013-01-28 | 1 | -22/+30 | |
| | ||||||
* | no need for \Z, \z is more concise | Xavier Noria | 2013-01-28 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #8830 from antoinelyset/master | Xavier Noria | 2013-01-28 | 1 | -2/+5 | |
|\ | | | | | Improve String#squish whitespaces matching | |||||
| * | Improve String#squish whitespaces matching | Antoine Lyset | 2013-01-22 | 1 | -2/+5 | |
| | | ||||||
* | | Merge remote-tracking branch 'docrails/master' | Xavier Noria | 2013-01-26 | 1 | -1/+1 | |
|\ \ | |/ |/| | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb guides/code/getting_started/app/controllers/comments_controller.rb | |||||
| * | Clarified the minute option on DateTime#change | Jakob Waller | 2013-01-10 | 1 | -1/+1 | |
| | | ||||||
* | | Use `DateTime.parse` inside `String#to_datetime` | Andrew White | 2013-01-21 | 1 | -8/+1 | |
| | | | | | | | | | | | | | | | | | | | | Use the standard library's `DateTime.parse` because it's marginally faster and supports partial date/time strings. Benchmark: user system total real old 3.980000 0.000000 3.980000 ( 3.987606) new 3.640000 0.010000 3.650000 ( 3.641342) | |||||
* | | Standardise the return value of `to_time` | Andrew White | 2013-01-21 | 1 | -17/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit standardises the return value of `to_time` to an instance of `Time` in the local system timezone, matching the Ruby core and standard library behavior. The default form for `String#to_time` has been changed from :utc to :local but research seems to suggest the latter is the more common form. Also fix an edge condition with `String#to_time` where the string has a timezone offset in it and the mode is :local. e.g: # Before: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 05:00:00 -0500 # After: >> "2000-01-01 00:00:00 -0500".to_time(:local) => 2000-01-01 00:00:00 -0500 Closes #2453 | |||||
* | | remove_possible_method -> remove_method | Nihad Abbasov | 2013-01-11 | 1 | -2/+2 | |
| | | | | | | | | Date#to_time and Date#xmlschema methods defined in Ruby 1.9.3 | |||||
* | | Updating Array access docs more consistent | Matt Bridges | 2013-01-10 | 1 | -4/+4 | |
| | | | | | | | | [ci skip] | |||||
* | | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. | Jeremy Kemper | 2013-01-08 | 1 | -4/+23 | |
| | | ||||||
* | | Revert "Merge branch 'master-sec'" | Jeremy Kemper | 2013-01-08 | 1 | -23/+4 | |
| | | | | | | | | | | This reverts commit 88cc1688d0cb828c17706b41a8bd27870f2a2beb, reversing changes made to f049016cd348627bf8db0d72382d7580bf802a79. | |||||
* | | Merge branch 'master-sec' | Aaron Patterson | 2013-01-08 | 1 | -4/+23 | |
|\ \ | |/ |/| | | | | | | | * master-sec: CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealing with empty hashes. Thanks Damien Mathieu | |||||
| * | CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. | Jeremy Kemper | 2013-01-08 | 1 | -4/+23 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-09 | 3 | -6/+6 | |
|\ \ | |/ |/| | | | | | Conflicts: guides/source/getting_started.md | |||||
| * | Correct method notation for #acts_like? [ci skip] | Doug Yun | 2013-01-07 | 1 | -4/+4 | |
| | | ||||||
| * | Instance_variable_names are strings. That is the most important information IMO | Akira Matsuda | 2013-01-08 | 1 | -1/+1 | |
| | |