Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵ | Xavier Noria | 2010-06-05 | 1 | -4/+18 |
| | | | | thanks to Marc-Andre Lafortune | ||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2010-06-02 | 1 | -13/+9 |
|\ | |||||
| * | revises the documentation of String#truncate and the truncate helper | Xavier Noria | 2010-06-02 | 1 | -13/+9 |
| | | |||||
* | | You need the ruby-debug available in your Gemfile for debugger to work | David Heinemeier Hansson | 2010-06-02 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:rails/rails | David Heinemeier Hansson | 2010-06-01 | 2 | -2/+2 |
|\ | |||||
| * | Unforce builder from AS | Santiago Pastorino | 2010-06-01 | 2 | -2/+2 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Extracted String#truncate from TextHelper#truncate [DHH] | David Heinemeier Hansson | 2010-06-01 | 1 | -0/+33 |
|/ | |||||
* | Unforce i18n from AS | Santiago Pastorino | 2010-05-31 | 2 | -3/+10 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-05-27 | 3 | -19/+20 |
|\ | |||||
| * | Use multibyte proxy class on 1.9, refactor Unicode. | Norman Clarke | 2010-05-21 | 1 | -13/+17 |
| | | | | | | | | | | | | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 2 | -6/+3 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | A small rdoc change made on lines 39 and 41 on ↵ | jacortinas | 2010-05-25 | 1 | -2/+2 |
|/ | | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name. | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-05-19 | 4 | -33/+12 |
|\ | |||||
| * | removes deprecations of last_(month|year) from master, they will be ↵ | Xavier Noria | 2010-05-19 | 2 | -22/+0 |
| | | | | | | | | deprecated in 2.3 instead | ||||
| * | Renames Array#rand -> Array#random_element | Rizwan Reza | 2010-05-17 | 1 | -11/+1 |
| | | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
| * | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -0/+11 |
| | | | | | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | ||||
* | | in Ruby things in general happen at runtime, no need to specify that | Xavier Noria | 2010-05-19 | 1 | -2/+3 |
| | | |||||
* | | Updating the doc with the info that class_inheritable_accessor | Neeraj Singh | 2010-05-19 | 1 | -0/+2 |
|/ | | | | copies properties to child at runtime | ||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -11/+0 |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. | ||||
* | Change on Array extension from rand => random_element [#4555 state:committed] | Santiago Pastorino | 2010-05-16 | 1 | -1/+11 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Initial work to improve the state of encodings for templates | wycats | 2010-05-16 | 1 | -0/+11 |
| | |||||
* | Add missing require to with_options [#4601 state:resolved] | Carlos Antonio da Silva | 2010-05-15 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Better code formatting and proper line numbers for stack traces | Neeraj Singh | 2010-05-14 | 1 | -1/+1 |
| | | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵ | Xavier Noria | 2010-05-12 | 2 | -7/+28 |
| | | | | deprecates last_(month|year) | ||||
* | aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+1 |
| | | | | Date#monday -> Date#beginning_of_week | ||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 1 | -0/+18 |
| | | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9. | ||||
* | let Time.time_with_datetime_fallback handle properly years in the range 0..138 | Xavier Noria | 2010-05-05 | 2 | -3/+11 |
| | |||||
* | date/conversions needs time/calculations for (utc|local)_time | Xavier Noria | 2010-05-03 | 1 | -0/+1 |
| | |||||
* | let Date.yesterday and Date.tomorrow be based on Date.current rather than ↵ | Xavier Noria | 2010-05-02 | 1 | -2/+2 |
| | | | | Date.today | ||||
* | Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵ | José Valim | 2010-04-29 | 5 | -168/+34 |
| | | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array. | ||||
* | array.to_xml should be able to handle all types of data elements [#4490 ↵ | Neeraj Singh | 2010-04-29 | 5 | -65/+74 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | updates String#to_(date|date_time|time) to return nil for blank strings | Daniel Neighman | 2010-04-21 | 1 | -0/+3 |
| | |||||
* | much complete rdoc for String#ord | Xavier Noria | 2010-04-19 | 1 | -3/+19 |
| | |||||
* | revises the rdoc of String#ord | Xavier Noria | 2010-04-19 | 1 | -1/+5 |
| | |||||
* | remove code for Ruby < 1.8.7 | Santiago Pastorino | 2010-04-18 | 1 | -12/+0 |
| | |||||
* | removes code written for Ruby < 1.8.7 | Xavier Noria | 2010-04-17 | 1 | -7/+0 |
| | |||||
* | Added missing require and delete unused one on proc.rb | Santiago Pastorino | 2010-04-13 | 1 | -1/+1 |
| | |||||
* | Not using class_eval wasn't adding clarity here | wycats | 2010-04-10 | 1 | -15/+24 |
| | |||||
* | Made arrays of ActiveRecords, and any classes, with namespaces convert to ↵ | mfoster | 2010-04-10 | 1 | -1/+1 |
| | | | | | | valid xml. [#3824 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 3 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fisting stack trace [#4349 state:resolved] | Aaron Patterson | 2010-04-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 6 | -7/+7 |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | ||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -1/+1 |
| | |||||
* | Revert "Hash#symbolize_keys(!) optimizations" | Jeremy Kemper | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | Was slower in common case. [#3891 state:open] This reverts commit 2060977b767061a42eb8db2d5c3a30d205a94123. | ||||
* | Ruby 1.9.2: marshaling round-trips Time#zone | Jeremy Kemper | 2010-03-28 | 2 | -26/+56 |
| | |||||
* | Actually check the value of the ivar | wycats | 2010-03-27 | 1 | -4/+2 |
| | |||||
* | LINE on class_eval need + 1, also removed comments [#4281 state:committed] | Santiago Pastorino | 2010-03-27 | 2 | -44/+47 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | flatten not needed here | Santiago Pastorino | 2010-03-27 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> |