Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new reporting method Kernel#quietly | Xavier Noria | 2011-05-13 | 1 | -1/+13 |
| | |||||
* | Remove a circular require in AS deprecations. This is safe as AS ↵ | Josh Kalderimis | 2011-05-12 | 1 | -2/+0 |
| | | | | deprecations is autoloaded as needed. | ||||
* | Merge pull request #227 from farski/master | Santiago Pastorino | 2011-05-11 | 2 | -6/+6 |
|\ | | | | | Unnecessary redundancy in Time/Date calculations | ||||
| * | Removed some redundant Time#change time options from beginning_of_ methods ↵ | Chris Kalafarski | 2011-03-13 | 2 | -6/+6 |
| | | | | | | | | in Date and Time | ||||
* | | Merge pull request #388 from smartinez87/remove_method | José Valim | 2011-05-08 | 1 | -2/+3 |
|\ \ | | | | | | | Better use #remove_possible_method here | ||||
| * | | Better use #remove_possible_method here | Sebastian Martinez | 2011-05-08 | 1 | -2/+3 |
| | | | |||||
* | | | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456e broke nested indifferent access conversion for all subclasses of Hash. | ||||
* | | | Revert "Merge pull request #275 from pk-amooma/master" | José Valim | 2011-05-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Several AP tests fail after this change. This reverts commit aaf01cd53718c8aa5b69ac056b997e6dd9893777, reversing changes made to 9cc18c52faeebaad6a76bd62cdca1c6b9f96afed. | ||||
* | | | Merge pull request #286 from jasoncodes/marshal_subsec | José Valim | 2011-05-07 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | Fix marshal round-tripping of fractional seconds (Time#subsec). | ||||
| * | | | Fix marshal round-tripping of fractional seconds (Time#subsec). | Jason Weathered | 2011-04-17 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge pull request #275 from pk-amooma/master | José Valim | 2011-05-07 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | properly escape "'" to "'" for XML | ||||
| * | | | | for escaping HTML can be treated as normal XML | Philipp Kempgen (Amooma) | 2011-04-14 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | properly escape "'" to "'" for XML/HTML (BTW Erubis does that as well) | Philipp Kempgen (Amooma) | 2011-04-14 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Merge pull request #349 from bradley178/master | José Valim | 2011-05-07 | 1 | -1/+2 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Hash.from_xml chokes on empty CDATA | ||||
| * | | | | Fix bug with empty CDATA not being handled in Hash.from_xml | Bradley Harris | 2011-04-29 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Use #remove_possible_method instead | Sebastian Martinez | 2011-05-04 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | fixed a small bug with Array#from core_ext | Josh Kalderimis | 2011-04-27 | 1 | -1/+1 |
| | | | | |||||
* | | | | using @tenderlove's suggested implementation to speed things up | Jared McFarland | 2011-04-27 | 1 | -1/+1 |
| | | | | |||||
* | | | | fixing Array#from to return consistent results | Jared McFarland | 2011-04-26 | 1 | -2/+2 |
| | | | | |||||
* | | | | Grammar fixes for Object#in? documentation. | Cheah Chu Yeow | 2011-04-22 | 1 | -2/+2 |
| | | | | |||||
* | | | | NilClass is a singleton | Akira Matsuda | 2011-04-20 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-19 | 4 | -25/+112 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: railties/guides/source/ajax_on_rails.textile railties/guides/source/generators.textile | ||||
| * | | | | remove unwanted Example headers as per the guidelines, s/instaces of ↵ | Xavier Noria | 2011-04-19 | 1 | -21/+36 |
| | | | | | | | | | | | | | | | | | | | | NilClass/nil/ and friends, completes some rdocs | ||||
| * | | | | commit copy-edit: simplifies blank? rdoc and revises formatting | Xavier Noria | 2011-04-19 | 1 | -24/+23 |
| | | | | | |||||
| * | | | | Revert "Formated docs" | Xavier Noria | 2011-04-19 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reason: "To be blank" and "to be empty" belongs to our everyday terminology, they go in regular font. This reverts commit 280a8709923d2bf707ec4d82ac1e5cb14941da3d. | ||||
| * | | | | Formated docs | Sebastian Martinez | 2011-04-18 | 1 | -9/+9 |
| | | | | | |||||
| * | | | | oops fixed typo | Sebastian Martinez | 2011-04-18 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Fixed docs for NilClass#try | Sebastian Martinez | 2011-04-18 | 1 | -8/+8 |
| | | | | | |||||
| * | | | | Formatting docs | Sebastian Martinez | 2011-04-17 | 2 | -11/+11 |
| | | | | | |||||
| * | | | | Docs for +duplicable?+ | Sebastian Martinez | 2011-04-17 | 1 | -4/+28 |
| | | | | | |||||
| * | | | | Docs for NilClass#try | Sebastian Martinez | 2011-04-17 | 1 | -1/+13 |
| | | | | | |||||
| * | | | | Formatting examples | Sebastian Martinez | 2011-04-17 | 1 | -6/+12 |
| | | | | | |||||
| * | | | | Documented String#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+7 |
| | | | | | |||||
| * | | | | Documented Hash#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+6 |
| | | | | | |||||
| * | | | | Documented Array#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+6 |
| | | | | | |||||
| * | | | | Documented TrueClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 |
| | | | | | |||||
| * | | | | Documented FalseClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 |
| | | | | | |||||
| * | | | | Documented NilClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 |
| | | | | | |||||
| * | | | | Added an example of exception situation on Array#sample docs | Sebastian Martinez | 2011-04-15 | 1 | -4/+5 |
| | | | | | |||||
| * | | | | Improved Array#sample documentation | Sebastian Martinez | 2011-04-15 | 1 | -1/+3 |
| | | | | | |||||
* | | | | | Add String#inquiry as a convenience method for turning a string into a ↵ | David Heinemeier Hansson | 2011-04-18 | 2 | -0/+14 |
| |_|/ / |/| | | | | | | | | | | | StringInquirer object [DHH] | ||||
* | | | | Only rescue a thrown NoMethodError, don't preemptively check for #include?; ↵ | Jared McFarland | 2011-04-15 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | added tests | ||||
* | | | | added an exception to Object#in? to match the methods documentation | Jared McFarland | 2011-04-15 | 1 | -0/+1 |
| |/ / |/| | | |||||
* | | | files are a special case and need whitespace to be significant | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | | | |||||
* | | | gsub is not needed (thanks @fxn!) | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | | | |||||
* | | | attributes no longer disappear if a tag contains whitespace | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | old: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>"\n"} new: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"} | ||||
* | | | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -9/+0 |
|/ / | | | | | | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`. | ||||
* | | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 1 | -2/+2 |
| | | | | | | | | suggestion! | ||||
* | | Cant use inclusion in commands/application.rb as the frameworks havent all ↵ | David Heinemeier Hansson | 2011-04-11 | 1 | -0/+1 |
| | | | | | | | | been required yet | ||||
* | | Add support for Object#in? and Object#either? in Active Support [#6321 ↵ | Prem Sichanugrist, Brian Morearty, John Reitano | 2011-04-11 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both. |