mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Added time related req files to AS core_ext #6896
This way you can `require 'active_record/core_ext/time'` for example I see these libs are available through `active_record/time` but not individually
This commit is contained in:
parent
d08fee3f28
commit
4940dc2c50
3 changed files with 14 additions and 0 deletions
5
activesupport/lib/active_support/core_ext/date.rb
Normal file
5
activesupport/lib/active_support/core_ext/date.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'active_support/core_ext/date/acts_like'
|
||||
require 'active_support/core_ext/date/calculations'
|
||||
require 'active_support/core_ext/date/conversions'
|
||||
require 'active_support/core_ext/date/zones'
|
||||
|
4
activesupport/lib/active_support/core_ext/date_time.rb
Normal file
4
activesupport/lib/active_support/core_ext/date_time.rb
Normal file
|
@ -0,0 +1,4 @@
|
|||
require 'active_support/core_ext/date_time/acts_like'
|
||||
require 'active_support/core_ext/date_time/calculations'
|
||||
require 'active_support/core_ext/date_time/conversions'
|
||||
require 'active_support/core_ext/date_time/zones'
|
5
activesupport/lib/active_support/core_ext/time.rb
Normal file
5
activesupport/lib/active_support/core_ext/time.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
require 'active_support/core_ext/time/acts_like'
|
||||
require 'active_support/core_ext/time/calculations'
|
||||
require 'active_support/core_ext/time/conversions'
|
||||
require 'active_support/core_ext/time/marshal'
|
||||
require 'active_support/core_ext/time/zones'
|
Loading…
Reference in a new issue