aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Preserve fractional seconds in DateTime#to_timeJohn Firebaugh2011-02-031-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix JSON decoding of newline character with Yaml backend [#3479 state:resolved]Maxime RETY2011-02-021-2/+6
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* OrderedHash#each* methods return self like Hash does [#6364 state:resolved]Gabriel Horner2011-02-021-0/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Ensure I18n setup is only executed once if triggered on eager loading [#6353 ↵Saimon Moore2011-02-011-12/+20
| | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Additionally trigger i18n configuration setup before any eager loading ↵Saimon Moore2011-02-011-4/+11
| | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-311-4/+4
| | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* make sure we play nicely when syck is activatedAaron Patterson2011-01-281-5/+8
|
* Psych correctly gets visitor for SafeBuffer from superclassbrainopia2011-01-281-2/+5
|
* Remove unneeded yaml_as declarationbrainopia2011-01-281-2/+0
|
* load psych by default if possibleAaron Patterson2011-01-281-0/+5
|
* use ! " " YAML string literal syntax rather than removing both quotesAaron Patterson2011-01-211-4/+4
|
* prefering psych as the yaml parser if possible, fixing assertions for YAML ↵Aaron Patterson2011-01-212-0/+16
| | | | 1.1 compatibility
* fixing psych support in big decimal, fixing tests to support YAML 1.1Aaron Patterson2011-01-211-0/+7
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-01-201-113/+116
|\
| * editing comments regarding rescuable optoin in AS callbacksNeeraj Singh2011-01-121-2/+3
| |
| * Expand and clarify AS::Callbacks docs.John Firebaugh2011-01-091-113/+115
| |
* | removing usesless variable assignmentsAaron Patterson2011-01-181-1/+5
| |
* | fixed a missing require that causes trouble when using AS in a non-rails env.Nick Sutterer2011-01-185-1/+6
| |
* | Class.__subclasses__ was removed from Rubinius.John Firebaugh2011-01-181-34/+20
| | | | | | | | | | https://github.com/evanphx/rubinius/issues/issue/11 https://github.com/evanphx/rubinius/commit/2fccbb5dad5cb3f5414d635547290538cfc0a2d4
* | Complex struct encoding fixAlexey Nayden2011-01-151-0/+6
| | | | | | | | | | | | [#6077 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | fixing whitespace errorsAaron Patterson2011-01-121-1/+1
| |
* | In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵Josh Kalderimis2011-01-124-4/+4
| | | | | | | | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | adding to_d to BigDecimalAaron Patterson2011-01-101-0/+4
| |
* | corrected docs for Hash#to_xml and added examples.Nick Sutterer2011-01-061-2/+14
| |
* | make our yaml output consistentAaron Patterson2011-01-041-5/+1
| |
* | add Psych::SyntaxError to the list of rescued YAML exceptionsAaron Patterson2011-01-041-1/+8
| |
* | test that the custom ordered hash can be round-trippedAaron Patterson2011-01-041-5/+0
| |
* | require Psych if possible, use Psych output when enabledAaron Patterson2011-01-041-1/+14
| |
* | Implement deprecated version of AssociationReflection#primary_key_name, ↵Jon Leighton2011-01-031-1/+1
|/ | | | which has been renamed to #foreign_key. Also bumping the deprecation_horizon in Active Support to 3.1.
* Fix Duration#to_jsonPratik Naik2010-12-291-0/+4
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-234-2/+19
|\
| * expand on set_callback method to explain that inNeeraj Singh2010-12-211-0/+4
| | | | | | | | some cases an implicit :before is assumed
| * Improve documentation on ActiveSupport::Deprecation.Ryan Bigg2010-12-213-2/+15
| |
* | Added a word boundary to uncountable inflection regex for #singularize so ↵John Paul Ashenfelter2010-12-221-1/+1
|/ | | | short inflections like ors do not affect larger words like sponsors [#6093 state:resolved]
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-201-1/+1
|\
| * Fix the example in ActiveSupport::Concernzhengjia2010-12-171-1/+1
| |
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-202-2/+2
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace nested ifs with case/whenPavel Gorbokon2010-12-071-46/+44
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Ommit nil in method callPavel Gorbokon2010-12-071-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-053-4/+16
|\
| * Remove extra fRyan Bigg2010-12-031-1/+1
| |
| * Add comment for config_accessor methodNeeraj Singh2010-11-301-0/+12
| |
| * Merge branch 'master' of https://github.com/cylence/docrails into cylence-masterAditya Sanghi2010-11-291-1/+1
| |\
| | * Corrected typo and wording.Ryan L. Cross2010-10-241-1/+1
| | |
| * | Resolves LH #6063, should be :expires_in not :expire_inAditya Sanghi2010-11-271-2/+2
| | |
* | | :method: is not needed when RDoc can detect itSantiago Pastorino2010-12-021-5/+0
|/ /
* | Only convert direct hash instances in hash with indifferent access.José Valim2010-11-261-4/+3
| |
* | Don't depend on rubygems loading thread (for Mutex)raggi2010-11-251-0/+1
| |
* | class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-201-0/+9
| | | | | | | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* | I18n is always loaded on boot by Active Model or Action Pack, so no need for ↵José Valim2010-11-201-1/+0
| | | | | | | | supporting lazy hooks.