aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵Jon Leighton2011-06-301-1/+1
| | | | nil. In this case, the object should be wrapped.
* Fix configurable cristalization and tests.José Valim2011-06-291-2/+2
|
* OrderedOptions must implement respond_to? if it implements method_missing.Chris Eppstein2011-06-271-0/+4
|
* Merge pull request #1648 from dlee/acronymsXavier Noria2011-06-243-98/+153
|\ | | | | Inflector support for acronyms (Issue #1366)
| * Add acronym support to Inflector; Issue #1366David Lee2011-06-112-10/+14
| |
| * RefactorDavid Lee2011-06-113-92/+143
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-232-15/+20
|\ \
| * | grammar changes to log subscriber docsMatt Jankowski2011-06-221-4/+4
| | |
| * | move example code to be above reconfiguring discussion; add clarity about ↵Matt Jankowski2011-06-221-11/+16
| | | | | | | | | | | | silencers and filters; misc grammar changes - for backtrace cleaners
* | | Merge pull request #1750 from dmathieu/non_string_methodsXavier Noria2011-06-221-2/+2
|\ \ \ | | | | | | | | Calling unsafe methods which don't return a string shouldn't fail
| * | | calling unsafe methods which don't return a string shouldn't failDamien Mathieu2011-06-221-2/+2
| | | |
* | | | Ugh, the class_attribute pull request broke the build. fix it.José Valim2011-06-191-7/+4
| | | |
* | | | Add option to omit creating an instance reader method on class_attributeJames Miller2011-06-181-7/+20
| |/ / |/| |
* | | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-181-1/+1
|\ \ \ | |/ / |/| |
| * | with -> willUģis Ozols2011-06-121-1/+1
| |/
* | safe_concat should not work on dirty buffers.José Valim2011-06-161-4/+13
| |
* | Fix safe buffer by adding a dirty status.José Valim2011-06-161-12/+24
| |
* | Update CHANGELOG, improve message.José Valim2011-06-161-1/+1
| |
* | Deprecate memoizable.José Valim2011-06-151-0/+7
| |
* | allow boolean last argument in memoized methods - Closes #1704Damien Mathieu2011-06-151-1/+5
| | | | | | | | If in the memoized method, the last argument is a boolean, it's considered as the reload method. Don't consider it like that if that's a normal method argument.
* | Remove obsolete compatibility moduleAndrew White2011-06-131-11/+0
| |
* | Rename Time#whole_* to Time#all_* [thanks Pratik!]David Heinemeier Hansson2011-06-131-5/+5
| |
* | Added Time#whole_day/week/quarter/year as a way of generating ranges ↵David Heinemeier Hansson2011-06-131-1/+26
| | | | | | | | (example: Event.where(created_at: Time.now.whole_week)) [DHH]
* | Added instance_accessor: false as an option to Class#cattr_accessor and ↵David Heinemeier Hansson2011-06-131-2/+3
| | | | | | | | friends [DHH]
* | Define ActiveSupport#to_param as to_str - closes #1663Andrew White2011-06-121-0/+4
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-111-1/+1
|\
| * Fixed minor typo: 'Arraw' to 'Array'thoefer2011-06-111-1/+1
| |
* | ensuring that json_escape returns html safe strings when passed an html safe ↵Aaron Patterson2011-06-091-1/+2
| | | | | | | | string
* | Merge pull request #1579 from bradleybuda/masterJosé Valim2011-06-081-4/+6
|\ \ | | | | | | Date#freeze fails when called more than once in 1.8
| * | Allow a Date to be frozen more than once without an error in Ruby 1.8.xBradley Buda2011-06-081-4/+6
| | |
* | | Simplify boolean logic into ternary.Ben Orenstein2011-06-081-1/+1
|/ /
* | Prefer 'each' over 'for in' syntax.Sebastian Martinez2011-06-071-1/+1
| |
* | Ensure that the strings returned by SafeBuffer#gsub and friends aren't ↵Michael Koziarski2011-06-071-0/+13
|/ | | | | | | | | | considered html_safe? Also make sure that the versions of those methods which modify a string in place such as gsub! can't be called on safe buffers at all. Conflicts: activesupport/test/safe_buffer_test.rb
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-067-53/+51
|\ | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS
| * Remove trailing white-spacesGuillermo Iguaran2011-06-057-53/+51
| |
* | Raise NameError instead of ArgumentError in ActiveSupport::DependenciesAndrew White2011-06-011-1/+1
| | | | | | | | | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
* | Make MemCacheStore work with Ruby 1.9 and -KuAndrew White2011-05-311-1/+1
| |
* | avoid creating range objectsAaron Patterson2011-05-291-1/+1
| |
* | Merge pull request #1346 from arunagw/jdom_file_from_xml_fixAaron Patterson2011-05-271-1/+8
|\ \ | | | | | | Jdom file from xml fix
| * | Adding __content__ into XmlMini_JDOMArun Agrawal2011-05-271-1/+8
| | |
* | | Fixes minor ruby 1.8 inconsistencyAndrew Radev2011-05-271-1/+5
|/ / | | | | | | | | ActiveSupport::OrderedHash did not behave identically to Hash when given a block with a splat.
* / Removed deprecated methods and related tests from ActiveSupportJosh Kalderimis2011-05-2510-281/+3
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-257-8/+8
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * Remove extra white spaces on ActiveSupport docs.Sebastian Martinez2011-05-238-9/+9
| |
* | Merge pull request #1239 from alindeman/masterJosé Valim2011-05-241-4/+4
|\ \ | | | | | | Use set data structure to speed up circular reference checks on large/deeply nested objects
| * | Use set data structure to speed up circular reference checks on large/deeply ↵Andy Lindeman2011-05-231-4/+4
| | | | | | | | | | | | nested objects
* | | Merge pull request #1253 from arunagw/preformance_java_importAaron Patterson2011-05-241-1/+1
|\ \ \ | | | | | | | | import to java_import.
| * | | import to java_import. Arun Agrawal2011-05-241-1/+1
| |/ /
* | | Merge pull request #1251 from arunagw/java_importAaron Patterson2011-05-241-6/+6
|\ \ \ | | | | | | | | Using java_import instead of import. Need to do this with rake 0.9.0 #jruby
| * | | Using java_import instead of import. Need to do this with rake 0.9.0 #jrubyArun Agrawal2011-05-241-6/+6
| |/ /