instance method
scheduled_at=
Ruby on Rails 7.1.6
Since v7.1.6 Last seen in v7.1.6Signature
scheduled_at=(value)
No documentation comment.
Parameters
-
valuereq
Source
# File activejob/lib/active_job/core.rb, line 177
def scheduled_at=(value)
@_scheduled_at_time = if value&.is_a?(Numeric)
ActiveJob.deprecator.warn(<<~MSG.squish)
Assigning a numeric/epoch value to scheduled_at is deprecated. Use a Time object instead.
MSG
Time.at(value)
else
value
end
@scheduled_at = value
end
Defined in activejob/lib/active_job/core.rb line 177
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveJob::Core