lib/innate/session.rb in innate-2009.07 vs lib/innate/session.rb in innate-2009.10

- old
+ new

@@ -37,11 +37,11 @@ o "Time to live for session cookies and cache, nil/false will prevent setting", :ttl, (60 * 60 * 24 * 30) # 30 days o "Length of generated Session ID (only applies when using SecureRandom)", :sid_length, 64 - trigger(:expires){|v| - self.ttl = v - Time.now.to_i + trigger(:expires){|value| + self.ttl = value - Time.now.to_i Log.warn("Innate::Session.options.expires is deprecated, use #ttl instead") } end attr_reader :cookie_set, :request, :response, :flash