aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Fix safe buffer by adding a dirty status.José Valim2011-06-162-18/+55
|
* Update CHANGELOG, improve message.José Valim2011-06-162-2/+4
|
* Deprecate memoizable.José Valim2011-06-153-7/+28
|
* 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.
* Failing test to show problem when last argument of a memoized method is trueBrian Underwood2011-06-151-0/+14
| | | | Signed-off-by: Damien Mathieu <42@dmathieu.com>
* Remove obsolete compatibility moduleAndrew White2011-06-131-11/+0
|
* Rename Time#whole_* to Time#all_* [thanks Pratik!]David Heinemeier Hansson2011-06-133-16/+16
|
* Added Time#whole_day/week/quarter/year as a way of generating ranges ↵David Heinemeier Hansson2011-06-133-1/+48
| | | | (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-133-4/+14
| | | | friends [DHH]
* Define ActiveSupport#to_param as to_str - closes #1663Andrew White2011-06-122-1/+11
|
* 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-082-4/+12
|\ \ | | | | | | 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-082-4/+12
| | |
* | | Simplify boolean logic into ternary.Ben Orenstein2011-06-081-1/+1
|/ /
* | Merge pull request #1535 from smartinez87/eachJosé Valim2011-06-071-1/+1
|\ \ | | | | | | Prefer 'each' over 'for in' syntax.
| * | Prefer 'each' over 'for in' syntax.Sebastian Martinez2011-06-071-1/+1
| | |
* | | remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+1
|/ /
* / Ensure that the strings returned by SafeBuffer#gsub and friends aren't ↵Michael Koziarski2011-06-072-0/+25
|/ | | | | | | | | | 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-013-2/+4
| | | | | | | | | | | | | | | | 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 #1378 from AndrewRadev/masterJosé Valim2011-05-281-0/+3
|\ \ | | | | | | Add changelog entry for pull request #1359
| * | ActiveSupport CHANGELOG entry moved to correct placeAndrew Radev2011-05-281-2/+2
| | |
| * | Update CHANGELOG for ActiveSupport::OrderedHash changeAndrew Radev2011-05-281-0/+3
| | |
* | | Merge pull request #1346 from arunagw/jdom_file_from_xml_fixAaron Patterson2011-05-272-15/+22
|\ \ \ | |/ / |/| | Jdom file from xml fix
| * | Adding tests for file_from_xml for XmlMini_JDOM #jrubyArun Agrawal2011-05-271-14/+14
| | |
| * | Adding __content__ into XmlMini_JDOMArun Agrawal2011-05-271-1/+8
| | |
* | | Fixes minor ruby 1.8 inconsistencyAndrew Radev2011-05-272-1/+28
|/ / | | | | | | | | 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-2515-648/+3
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-258-9/+9
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * changed http://api.rubyonrails.com to http://api.rubyonrails.org in readme ↵Karunakar (Ruby)2011-05-241-1/+1
| | | | | | | | files
| * Remove extra white spaces on ActiveSupport docs.Sebastian Martinez2011-05-238-9/+9
| |
* | Add the MIT-LICENSE to the Active Support gemspecFranck Verrot2011-05-251-1/+1
| |
* | 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
* | | fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0Vijay Dev2011-05-241-2/+2
| | |
* | | Merge pull request #1247 from arunagw/loading-fileAaron Patterson2011-05-241-83/+82
|\ \ \ | | | | | | | | Not loading file if PLATFORM not available.
| * | | Not loading file if PLATFORM not available. Arun Agrawal2011-05-241-83/+82
| |/ /
* | | 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
| |/ /
* / / Prefer each instead of for on activesupportGuillermo Iguaran2011-05-241-1/+1
|/ /
* | Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-235-27/+6
| | | | | | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* | Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵Jon Leighton2011-05-234-8/+10
| | | | | | | | and require 'securerandom' from the stdlib when active support is required.
* | Removed the AS core_ext/kernel/debugger breakpoint method as this method is ↵Josh Kalderimis2011-05-232-10/+44
| | | | | | | | added by ruby-debug and should be left as is. Missing tests added.