aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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
| |/ /
* / / Prefer each instead of for on activesupportGuillermo Iguaran2011-05-241-1/+1
|/ /
* | Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵Jon Leighton2011-05-232-7/+0
| | | | | | | | standard library. (It has been deprecated in the 3-1-stable branch.)
* | Removed the AS core_ext/kernel/debugger breakpoint method as this method is ↵Josh Kalderimis2011-05-231-7/+1
| | | | | | | | added by ruby-debug and should be left as is. Missing tests added.
* | Removed AS core_ext/kernel/requires as it's not used and is bad practice.Josh Kalderimis2011-05-232-27/+0
| |
* | remove require active_support/tzinfo as file dosent exists #TODO fixVishnu Atrai2011-05-221-3/+1
| |
* | Merge pull request #1202 from vatrai/todo_fixJosé Valim2011-05-221-3/+3
|\ \ | | | | | | Fix todo Time.xmlschema used instead of Time.parse
| * | require 'time' Vishnu Atrai2011-05-221-1/+2
| | |
| * | Fix todo Time.xmlschema used instead of Time.parseVishnu Atrai2011-05-221-3/+2
| | |
* | | Move I18n dependency back to ActiveSupport.José Valim2011-05-221-1/+1
|/ /
* | Bump versions for rc1David Heinemeier Hansson2011-05-211-1/+1
| |
* | don't raise NoMethodError the tried method doesn't existsdmathieu2011-05-211-0/+2
| |
* | Fix AS::Duration#duplicable? on 1.8thedarkone2011-05-211-0/+1
| |
* | corrected a minor ruby19 variable name reuse warningJosh Kalderimis2011-05-211-3/+3
| |
* | Merge pull request #1109 from dlee/optimize_indifferent_accessJosé Valim2011-05-181-1/+1
|\ \ | |/ |/| Use dup to preserve previous behavior
| * Use dup to preserve previous behaviorDavid Lee2011-05-171-1/+1
| |
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-181-0/+2
|\ \
| * | Prevent duplicable comments from being the opening paragraph for Object docsEvan Farrar2011-05-181-0/+2
| | |
* | | Merge pull request #1117 from joshk/as_numeric_timeJosé Valim2011-05-182-0/+3
|\ \ \ | | | | | | | | Add some missing requires for AS core_ext/numeric/time. Closes #1038