<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>db/migrate/20091018223040_drop_sessions_table.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,15 @@ RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
 # Bootstrap the Rails environment, frameworks, and default configuration
 require File.join(File.dirname(__FILE__), 'boot')
 
+ALONETONE = YAML.load_file(&quot;#{RAILS_ROOT}/config/alonetone.yml&quot;)[RAILS_ENV]
+
+class &lt;&lt; ALONETONE
+  ALONETONE.keys.each do |key|
+    class_eval &quot;def #{key}; ALONETONE['#{key}']; end&quot;
+  end  
+end
+  
+
 Rails::Initializer.run do |config|
   # Specify gems that this application depends on. 
   # They can then be installed with &quot;rake gems:install&quot; on new installations.
@@ -28,10 +37,12 @@ Rails::Initializer.run do |config|
   end
 
   config.action_controller.session = {
-    :session_key =&gt; 'alonetone_com',
+    :session_key =&gt; 'alonetone_cookie',
+    :secret =&gt; ALONETONE.secret
   }
+
+
   config.cache_store = :mem_cache_store, &quot;localhost:11211&quot;
-  config.action_controller.session_store = :active_record_store
 
   config.active_record.observers = :user_observer, :comment_observer, :asset_observer
 end
\ No newline at end of file</diff>
      <filename>config/environment.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>config/initializers/load_config.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>b7f8cf81e2a96c5f6c90379045e13e3b486ebdc5</id>
    </parent>
  </parents>
  <author>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </author>
  <url>http://github.com/sudara/alonetone/commit/151d821739813ba0871f5889a69afe0011f2ee85</url>
  <id>151d821739813ba0871f5889a69afe0011f2ee85</id>
  <committed-date>2009-10-20T13:45:42-07:00</committed-date>
  <authored-date>2009-10-20T13:45:42-07:00</authored-date>
  <message>move back to cookie sessions. invalidate all sessions. drop sessions table.</message>
  <tree>06c69720146ab7b33923e59682064227280d3942</tree>
  <committer>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </committer>
</commit>
