blob: 05d518fe17dacddcd8c5a719f484cdee809baf67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
case Rails.env
when "development"
# Create a few downloads for testing.
Download.create(name: "FTP Explorer",
filename: "ftpexplorer.zip",
type: "Win32 Executable",
description: "FTP Explorer is my favorite FTP client for windows. This is a fairly old version from before the client became shareware.",
hits: 642)
Download.create(name: "Windows 98 Screensavers",
filename: "98screensavers.zip",
type: "Win32 Screensavers",
description: "This is a collection of screensavers from Windows 98. A lot of these don't come with Windows XP.",
hits: 5852)
when "production"
# Do nothing for now.
end
|