desc'Generate a crytographically secure secret key. This is typically used to generate a secret for cookie sessions.'
task:secretdo
putsActiveSupport::SecureRandom.hex(64)
end
require'active_support'
namespace:timedo
namespace:zonesdo
desc'Displays names of all time zones recognized by the Rails TimeZone class, grouped by offset. Results can be filtered with optional OFFSET parameter, e.g., OFFSET=-6'
task:alldo
build_time_zone_list(:all)
end
desc'Displays names of US time zones recognized by the Rails TimeZone class, grouped by offset. Results can be filtered with optional OFFSET parameter, e.g., OFFSET=-6'
task:usdo
build_time_zone_list(:us_zones)
end
desc'Displays names of time zones recognized by the Rails TimeZone class with the same offset as the system local time'