Joshua Peek
|
3cffe92ff0
|
Added Ruby 1.8 implementation of Process.daemon
|
2008-05-05 10:22:29 -05:00 |
|
Sean Ouimet
|
d75525b045
|
Added OrderedHash#delete [#113 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-05-05 10:03:11 -05:00 |
|
Joshua Peek
|
a40223d36d
|
Preload TimeZone zones for thread safety.
|
2008-05-04 21:53:07 -05:00 |
|
Joshua Peek
|
36662ed08e
|
Replaced unnecessary class variable with a constant in whiny nil.
|
2008-05-04 21:11:03 -05:00 |
|
Xavier Noria
|
64092de257
|
Improve documentation coverage and markup
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-05-02 14:45:23 +01:00 |
|
Jeremy Kemper
|
f122ca5874
|
Ruby 1.9 compat: don't shadow local with block var
|
2008-05-01 14:05:55 -07:00 |
|
Jeremy Kemper
|
c699a4daf1
|
Ruby 1.9 compat: compatibility wrapper for new Module#const_defined? behavior
|
2008-05-01 13:34:31 -07:00 |
|
David Heinemeier Hansson
|
1eb686a0e5
|
Cheaper Dependencies#log_call to resolve irritating error message w/ rake db:create (Sven) [#56 state:resolved]
|
2008-04-30 23:20:59 -05:00 |
|
Tobias Lütke
|
5be5305877
|
Add missing clear method to memory_store
|
2008-04-29 16:34:01 -04:00 |
|
Tobias Lütke
|
09517e3aea
|
Allow access to mem_cache_store's stats hash
|
2008-04-29 15:28:24 -04:00 |
|
Tobias Lütke
|
fef82759ff
|
Implement increment/decrement on cache storage engines, using read/write by default and using atomic command on memcache
|
2008-04-29 15:12:47 -04:00 |
|
Tobias Lütke
|
9f07b1edcd
|
By default rails will update keys in memcached when using Rails.cache.write. Use :unless_exist => true flag to prevent existing keys from being overwritten.
|
2008-04-29 14:57:21 -04:00 |
|
Michael Koziarski
|
f3fd44f76b
|
Add default options to file_store to make it align with the other cache stores. [monki]
[#40 state:resolved]
|
2008-04-26 12:21:36 +12:00 |
|
Pratik Naik
|
6dbe90dd9b
|
Alias Object#instance_variable_names to Object#instance_variables for Ruby 1.8.x
|
2008-04-21 12:03:01 +01:00 |
|
gbuesing
|
6ef4239f8b
|
Merge branch 'master' of git@github.com:rails/rails
|
2008-04-20 21:57:56 -05:00 |
|
gbuesing
|
32b82e4c6f
|
Duration #since and #ago with no argument (e.g., 5.days.ago) return TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now
|
2008-04-20 21:57:04 -05:00 |
|
Jeremy Kemper
|
1d18651ea3
|
Ruby 1.8.7 compat: detect and alias non-superclass DateTime#to_s
|
2008-04-20 19:56:01 -07:00 |
|
Jeremy Kemper
|
0b21ac5118
|
Ruby 1.8.7 compat: override unordered Enumerable#group_by
|
2008-04-20 19:56:01 -07:00 |
|
Jeremy Kemper
|
549c81db4a
|
Ruby 1.8.7 compat: String#start_with? and #end_with?
|
2008-04-20 19:56:01 -07:00 |
|
Jeremy Kemper
|
59f5d4fc79
|
Use append_features instead of included to get the inclusion order right
|
2008-04-20 16:49:58 -07:00 |
|
Jeremy Kemper
|
3b93ca221d
|
Merge commit 'rails/master'
|
2008-04-20 15:30:41 -07:00 |
|
Joshua Peek
|
46ab7422d9
|
Use define_callbacks helper for ActiveRecord validations.
|
2008-04-20 11:45:44 -05:00 |
|
Jeremy Kemper
|
daab53d8c0
|
Incompatible Symbol#to_proc was reverted upstream
|
2008-04-20 03:52:13 -07:00 |
|
Jeremy Kemper
|
f67b070fac
|
Override incompatible 1.8.7p1 String#chars
|
2008-04-19 17:16:19 -07:00 |
|
Jeremy Kemper
|
715db1a797
|
Feature check :force_encoding instead of RUBY_VERSION
|
2008-04-19 17:15:50 -07:00 |
|
Jeremy Kemper
|
db11ef9546
|
Override Ruby 1.8.7's incompatible Symbol#to_proc.
|
2008-04-18 14:50:20 -07:00 |
|
Joshua Peek
|
a4c15303cb
|
Slight optimization to CallbackChain#union and delete.
|
2008-04-18 14:44:55 -05:00 |
|
Joshua Peek
|
cf04e62127
|
Tidy up ActiveSupport::Callbacks::CallbackChain instance API.
|
2008-04-17 23:30:01 -05:00 |
|
jweiss
|
9e1d506a8c
|
Support options passed to ActiveSupport::Cache :mem_cache_store [#14 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-04-17 12:58:31 -05:00 |
|
gbuesing
|
9620372a6d
|
Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller]
|
2008-04-12 19:35:47 -05:00 |
|
gbuesing
|
f285b6119b
|
Add #getutc alias for DateTime#utc
|
2008-04-12 17:37:50 -05:00 |
|
gbuesing
|
0289b0e7df
|
Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through method_missing
|
2008-04-12 17:31:29 -05:00 |
|
gbuesing
|
7e5aa6569b
|
TimeWithZone respects config.active_support.use_standard_json_time_format
|
2008-04-12 16:48:56 -05:00 |
|
Rick Olson
|
605196c448
|
Add config.active_support.escape_html_entities_in_json to allow disabling of html entity escaping. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-08 03:45:26 +00:00 |
|
Pratik Naik
|
aa4af60aad
|
Improve documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-05 03:52:58 +00:00 |
|
Josh Peek
|
08318b8bcd
|
Replaced callback method evaluation in AssociationCollection class to use ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-04 20:26:42 +00:00 |
|
Geoff Buesing
|
49f2e6f8d4
|
Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes #7399 [sblackstone]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-04 03:29:30 +00:00 |
|
Pratik Naik
|
3b603bbc93
|
Revert [9209] Use Hash#except
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-02 12:47:52 +00:00 |
|
Pratik Naik
|
adaed1ebcb
|
Adding Hash#without Closes #7369 [eventualbuddha]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-02 11:45:03 +00:00 |
|
Geoff Buesing
|
f4dc834976
|
TimeWithZone#method_missing: send to utc to advance with dst correctness, otherwise send to time. Adding tests for time calculations methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-02 06:56:44 +00:00 |
|
Rick Olson
|
1eb57a6870
|
Add config.active_support.use_standard_json_time_format setting so that Times and Dates export to ISO 8601 dates. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 20:25:26 +00:00 |
|
Jeremy Kemper
|
047db11299
|
Fine, warn. Just don't recurse to death in cc.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 02:18:17 +00:00 |
|
Jeremy Kemper
|
2cf72ad250
|
Add query methods for superclass_delegating_reader
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:09:39 +00:00 |
|
Jeremy Kemper
|
181378d1e9
|
Always alias DateTime#to_s to #to_default_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:09:29 +00:00 |
|
Geoff Buesing
|
2ccfcc42b0
|
TZInfo: Removing unneeded TimezoneProxy class
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:49:52 +00:00 |
|
Geoff Buesing
|
9c124a98b3
|
TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including Indexes::Timezones
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 23:27:17 +00:00 |
|
Geoff Buesing
|
d4493bc562
|
Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 22:24:35 +00:00 |
|
Jeremy Kemper
|
f66bbf5ed0
|
Don't need to explicitly pass the same params to super. Remove trailing whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 05:02:25 +00:00 |
|
Josh Peek
|
bf3c217238
|
Ruby 1.9 compat: Suppress Benchmark.realtime method redefined warning.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-30 03:04:41 +00:00 |
|
Josh Peek
|
eece9b4e8a
|
Force json string encoding to ASCII-8BIT before unpacking for Ruby 1.9.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-29 21:48:08 +00:00 |
|