aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-01-03 19:20:54 +0100
committerRobin Dupret <robin.dupret@gmail.com>2015-01-03 19:42:07 +0100
commit1fd44213aa4485acdce54a1da1d7cd4aa0ac33b6 (patch)
tree6592f1b50ee77b5e1084406fa96e16b0952f6759 /railties/lib/rails/commands
parent9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a (diff)
downloadrails-1fd44213aa4485acdce54a1da1d7cd4aa0ac33b6.tar.gz
rails-1fd44213aa4485acdce54a1da1d7cd4aa0ac33b6.tar.bz2
rails-1fd44213aa4485acdce54a1da1d7cd4aa0ac33b6.zip
Remove the tmp/sessions folder and its clear task
Commit 1aea470 introduced this directory but this was at a time when the default way to store sessions was on the file system under the tmp directory. Let's remove references to it from the documentation as well. [Robin Dupret & yui-knk]
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r--railties/lib/rails/commands/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb
index e39f0920af..3f14910edf 100644
--- a/railties/lib/rails/commands/server.rb
+++ b/railties/lib/rails/commands/server.rb
@@ -130,7 +130,7 @@ module Rails
end
def create_tmp_directories
- %w(cache pids sessions sockets).each do |dir_to_make|
+ %w(cache pids sockets).each do |dir_to_make|
FileUtils.mkdir_p(File.join(Rails.root, 'tmp', dir_to_make))
end
end