Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | replaced eg using old router api with the one in the guides. Add info on ↵ | Vijay Dev | 2011-05-07 | 1 | -5/+8 |
| | | | | nesting with_options | ||||
* | revises comment for blank? method | Vijay Dev | 2011-05-07 | 1 | -3/+3 |
| | |||||
* | Revert "Small edit to the if statement simplification for blank? on the ↵ | Xavier Noria | 2011-05-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Object class. An Object doesn't need to be nil and empty to be blank? just one or the other." Reason: the original code is correct, see !nil && !empty -> !(nil || empty) -> !blank That said, this example has too many negations for my linking. Think should be revised to be more positive and straightforward to read. This reverts commit a4b6e3d9be338e93320606f7cb14759b26ced8df. | ||||
* | Small edit to the if statement simplification for blank? on the Object ↵ | Caley Woods | 2011-05-06 | 1 | -1/+1 |
| | | | | class. An Object doesn't need to be nil and empty to be blank? just one or the other. | ||||
* | 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 | 3 | -20/+104 |
|\ | | | | | | | | | | | 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 |
| | | |||||
* | | 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 |
| | | |||||
* | | 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! | ||||
* | 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. | ||||
* | reorganizes the RDoc of Hash#to_param | Xavier Noria | 2011-03-07 | 1 | -6/+14 |
| | |||||
* | Improved docs for Hash#to_param method | Dalibor Nasevic | 2011-03-06 | 1 | -3/+2 |
| | |||||
* | removes merge conflicts | Xavier Noria | 2011-03-06 | 1 | -4/+0 |
| | |||||
* | merges rails | Xavier Noria | 2011-03-05 | 1 | -0/+4 |
|\ | |||||
| * | copy-edits 108561f | Xavier Noria | 2011-03-05 | 1 | -1/+1 |
| | | |||||
| * | Active Support typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | | |||||
| * | Adds link to Object.blank? from Object.present? | Jonathon D. Jones | 2011-03-05 | 1 | -1/+1 |
| | | |||||
* | | Active Support typos. | R.T. Lechow | 2011-03-04 | 1 | -1/+1 |
| | | |||||
* | | Adds link to Object.blank? from Object.present? | Jonathon D. Jones | 2011-03-03 | 1 | -1/+1 |
|/ | |||||
* | Add a forgotten word. | Ben Orenstein | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | Add a clearer example for with_options (lifted from the Active Support guide). | Ben Orenstein | 2011-02-19 | 1 | -5/+19 |
| | |||||
* | :method: is not needed when RDoc can detect it | Santiago Pastorino | 2010-12-02 | 1 | -5/+0 |
| | |||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 2 | -5/+3 |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | ||||
* | Add support for try to just yield the object to a block if no method is to ↵ | raggi | 2010-11-14 | 1 | -1/+13 |
| | | | | be called. Kind of like a tap_if_present. | ||||
* | Remove unused method | Santiago Pastorino | 2010-11-10 | 1 | -31/+0 |
| | |||||
* | revises RDoc of Hash#to_param to be more precise about ordering | Xavier Noria | 2010-09-28 | 1 | -2/+2 |
| | |||||
* | let Hash#to_param and Hash#to_query sort again | Xavier Noria | 2010-09-28 | 1 | -2/+3 |
| | | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys. | ||||
* | Use map, no need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -4/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove dummy method definition in favor of RDoc hints: | Aaron Patterson | 2010-09-11 | 1 | -7/+5 |
| | | | | http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html | ||||
* | Object#returning has gone, it's already deprecated on 3-0-stable | Santiago Pastorino | 2010-08-15 | 1 | -43/+0 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 3 | -8/+8 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Bring returning back to ease migration. | José Valim | 2010-08-02 | 1 | -0/+43 |
| |