Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
a5cdb7a8
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a5cdb7a8
编写于
10月 21, 2008
作者:
P
Pratik Naik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove stuff that was deprecated in 2-1-stable
上级
6fae0a0e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
0 addition
and
47 deletion
+0
-47
actionpack/lib/action_controller/caching/fragments.rb
actionpack/lib/action_controller/caching/fragments.rb
+0
-26
actionpack/lib/action_view/base.rb
actionpack/lib/action_view/base.rb
+0
-16
activesupport/lib/active_support.rb
activesupport/lib/active_support.rb
+0
-4
activesupport/test/dependencies_test.rb
activesupport/test/dependencies_test.rb
+0
-1
未找到文件。
actionpack/lib/action_controller/caching/fragments.rb
浏览文件 @
a5cdb7a8
...
...
@@ -26,32 +26,6 @@ module Caching
#
# expire_fragment(:controller => "topics", :action => "list", :action_suffix => "all_topics")
module
Fragments
def
self
.
included
(
base
)
#:nodoc:
base
.
class_eval
do
class
<<
self
def
fragment_cache_store
=
(
store_option
)
#:nodoc:
ActiveSupport
::
Deprecation
.
warn
(
'The fragment_cache_store= method is now use cache_store='
)
self
.
cache_store
=
store_option
end
def
fragment_cache_store
#:nodoc:
ActiveSupport
::
Deprecation
.
warn
(
'The fragment_cache_store method is now use cache_store'
)
cache_store
end
end
def
fragment_cache_store
=
(
store_option
)
#:nodoc:
ActiveSupport
::
Deprecation
.
warn
(
'The fragment_cache_store= method is now use cache_store='
)
self
.
cache_store
=
store_option
end
def
fragment_cache_store
#:nodoc:
ActiveSupport
::
Deprecation
.
warn
(
'The fragment_cache_store method is now use cache_store'
)
cache_store
end
end
end
# Given a key (as described in <tt>expire_fragment</tt>), returns a key suitable for use in reading,
# writing, or expiring a cached fragment. If the key is a hash, the generated key is the return
# value of url_for on that hash (without the protocol). All keys are prefixed with "views/" and uses
...
...
actionpack/lib/action_view/base.rb
浏览文件 @
a5cdb7a8
...
...
@@ -172,18 +172,6 @@ class << self
delegate
:logger
,
:to
=>
'ActionController::Base'
end
def
self
.
cache_template_loading
=
(
*
args
)
ActiveSupport
::
Deprecation
.
warn
(
"config.action_view.cache_template_loading option has been deprecated"
+
"and has no effect. Please remove it from your config files."
,
caller
)
end
def
self
.
cache_template_extensions
=
(
*
args
)
ActiveSupport
::
Deprecation
.
warn
(
"config.action_view.cache_template_extensions option has been"
+
"deprecated and has no effect. Please remove it from your config files."
,
caller
)
end
# Templates that are exempt from layouts
@@exempt_from_layout
=
Set
.
new
([
/\.rjs$/
])
...
...
@@ -259,10 +247,6 @@ def render(options = {}, local_assigns = {}, &block) #:nodoc:
if
options
[
:layout
]
_render_with_layout
(
options
,
local_assigns
,
&
block
)
elsif
options
[
:file
]
if
options
[
:use_full_path
]
ActiveSupport
::
Deprecation
.
warn
(
"use_full_path option has been deprecated and has no affect."
,
caller
)
end
_pick_template
(
options
[
:file
]).
render_template
(
self
,
options
[
:locals
])
elsif
options
[
:partial
]
render_partial
(
options
)
...
...
activesupport/lib/active_support.rb
浏览文件 @
a5cdb7a8
...
...
@@ -59,7 +59,3 @@
require
'active_support/rescuable'
I18n
.
load_path
<<
File
.
dirname
(
__FILE__
)
+
'/active_support/locale/en-US.yml'
Inflector
=
ActiveSupport
::
Deprecation
::
DeprecatedConstantProxy
.
new
(
'Inflector'
,
'ActiveSupport::Inflector'
)
Dependencies
=
ActiveSupport
::
Deprecation
::
DeprecatedConstantProxy
.
new
(
'Dependencies'
,
'ActiveSupport::Dependencies'
)
TimeZone
=
ActiveSupport
::
Deprecation
::
DeprecatedConstantProxy
.
new
(
'TimeZone'
,
'ActiveSupport::TimeZone'
)
activesupport/test/dependencies_test.rb
浏览文件 @
a5cdb7a8
...
...
@@ -279,7 +279,6 @@ def test_qualified_const_defined
assert
ActiveSupport
::
Dependencies
.
qualified_const_defined?
(
"Object"
)
assert
ActiveSupport
::
Dependencies
.
qualified_const_defined?
(
"::Object"
)
assert
ActiveSupport
::
Dependencies
.
qualified_const_defined?
(
"::Object::Kernel"
)
assert
ActiveSupport
::
Dependencies
.
qualified_const_defined?
(
"::Object::Dependencies"
)
assert
ActiveSupport
::
Dependencies
.
qualified_const_defined?
(
"::Test::Unit::TestCase"
)
end
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录