aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Added Extension extension to provide support for clean backtraces.Nicholas Seckar2005-10-151-0/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated whiny nil to be more concise and useful.Nicholas Seckar2005-10-151-15/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Enumerable#first_matchNicholas Seckar2005-10-141-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Time#change should also reset usec when also resetting minutes ↵David Heinemeier Hansson2005-10-131-1/+1
| | | | | | #2459 [ikeda@dream.big.or.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3574@sedna: jeremy | 2005-10-13 11:16:51 -0700Jeremy Kemper2005-10-131-5/+8
| | | | | | | More precise Logger version test to account for distributions that don't keep Ruby and its stdlib in sync. Logger#silence yields self for convenience. Logger unit tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move lib/version.rb to lib/active_support/version.rbJamis Buck2005-10-101-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace '%e' from long and short time formats as Windows does not support ↵Marcel Molina2005-10-101-2/+2
| | | | | | it. Closes #2344. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add versioning convention from SwitchTower to all Rails components. Add ↵Marcel Molina2005-10-091-0/+9
| | | | | | --version, -v option to the 'rails' command. Closes #1840. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added to_s(:db) to RangeDavid Heinemeier Hansson2005-10-093-2/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move require_library_or_gem out of AR's abstract_adapter and into ↵Marcel Molina2005-10-081-0/+22
| | | | | | ActiveSupport. closes #1992 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :rfc822 as an option for Time#to_s (to get rfc822-formatted times)Jamis Buck2005-10-031-4/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Chain the const_missing hook to any previously existing hook so rails can ↵Jamis Buck2005-10-031-1/+8
| | | | | | play nicely with rake git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added method access to OrdredOptionsDavid Heinemeier Hansson2005-09-301-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include OrderedOptions by defaultDavid Heinemeier Hansson2005-09-301-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added OrderedOptions array/hash for use with initializerDavid Heinemeier Hansson2005-09-301-0/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ticket 2263 - Make clean logger compatible with both 1.8.2 and 1.8.3Jeremy Kemper2005-09-271-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added native, faster implementations of .blank? for the core types #2286 [skae]David Heinemeier Hansson2005-09-241-0/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed clean logger to work with Ruby 1.8.3 Logger class #2245David Heinemeier Hansson2005-09-211-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-201-9/+0
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Inflector.underscore for use with acronyms, so HTML becomes html ↵David Heinemeier Hansson2005-09-131-1/+1
| | | | | | instead of htm_l #2173 [k@v2studio.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed dependencies related infinite recursion bug when a controller file ↵Nicholas Seckar2005-09-121-1/+7
| | | | | | does not contain a controller class. Closes #1760. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed inflections for status, quiz, move #2056 [deirdre@deirdre.net]David Heinemeier Hansson2005-09-121-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added irregular inflection sex => sexes #1826 [rails@electricvisions.com]David Heinemeier Hansson2005-09-111-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Hash#reverse_merge, Hash#reverse_merge!, and Hash#reverse_update to ↵David Heinemeier Hansson2005-09-113-6/+41
| | | | | | ease the use of default options. Added :connector and :skip_last_comma options to Array#to_sentence git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Array#to_sentence that'll turn ['one', 'two', 'three'] into 'one, two, ↵David Heinemeier Hansson2005-09-113-14/+24
| | | | | | and three' #2157 [m.stienstra@fngtps.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test to ensure that silence_warnings also returned its valueDavid Heinemeier Hansson2005-09-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Kernel#silence_warnings and puts it into use throughout the frameworkDavid Heinemeier Hansson2005-09-113-9/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forgot to add core_ext/string/starts_ends_with.rbDavid Heinemeier Hansson2005-09-091-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added String#starts_with? and String#ends_with? #2118 [thijs@vandervossen.net]David Heinemeier Hansson2005-09-091-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_valid_keys slightly more lenientDavid Heinemeier Hansson2005-09-091-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for overwrite_params #2146 [Michael Shuerig]David Heinemeier Hansson2005-09-091-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* You will never sleep again!David Heinemeier Hansson2005-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added String#at, String#from, String#to, String#first, String#last in ↵David Heinemeier Hansson2005-09-034-68/+202
| | | | | | ActiveSupport::CoreExtensions::String::Access to ease access to individual characters and substrings in a string serving basically as human names for range access. Added easy extendability to the inflector through Inflector.inflections (using the Inflector::Inflections singleton class) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Time#last_month work when invoked on the 31st of a month.Jamis Buck2005-08-311-6/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Time.days_in_month, and make Time#next_month work when invoked on the ↵Jamis Buck2005-08-311-5/+28
| | | | | | 31st of a month git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Time#midnight would have a non-zero usec on some platforms #1836Jamis Buck2005-07-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed inflections of "index/indices" #1766 [damn_pepe@gmail.com]David Heinemeier Hansson2005-07-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Factor Fixnum and Bignum extensions into Integer classNicholas Seckar2005-07-194-14/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ordinalize to Fixnum and Bignum instancesNicholas Seckar2005-07-181-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added stripping of _id to String#humanize, so "employee_id" becomes ↵David Heinemeier Hansson2005-07-172-1/+3
| | | | | | "Employee" #1574 [Justin French] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Fixnum#ordinalize to turn 1.ordinalize to "1st", 3.ordinalize to ↵David Heinemeier Hansson2005-07-172-1/+29
| | | | | | "3rd", and 10.ordinalize to "10th" and so on #1724 [paul@cnt.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more efficient implementation of the development mode reset of classes ↵David Heinemeier Hansson2005-07-072-10/+10
| | | | | | #1638 [Chris McGrath] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove fix against memory leaks in development mode as it killed development ↵David Heinemeier Hansson2005-07-071-5/+9
| | | | | | performance on large applications (2-3s stall on Basecamp). Octopod is working on a better fix. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation for release (AS)David Heinemeier Hansson2005-07-064-12/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More inflector fixes #1608David Heinemeier Hansson2005-07-051-30/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed conflict with Glue gem #1606 [Rick Olson]David Heinemeier Hansson2005-07-041-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More inflector fixes #1599 [foamdino@gmail.com]David Heinemeier Hansson2005-07-041-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the whiny nil #1600 [Nicholas Seckar]David Heinemeier Hansson2005-07-041-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More inflectoring #1490David Heinemeier Hansson2005-07-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed photo/photos #1583David Heinemeier Hansson2005-07-021-9/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de