lib/tori/config.rb in tori-0.7.0 vs lib/tori/config.rb in tori-0.7.1
- old
+ new
@@ -6,11 +6,9 @@
@filename_callback = nil
end
def filename_callback(&block)
if block_given?
- warn "DEPRECATED: `#{__method__}' is deprecated method."
- warn "Please use `tori` method block style in model like `tori :name, { |model| model.id }`."
@filename_callback = block
else
@filename_callback
end
end