Update to rails 3.1.0
* Bump rails version to 3.1.0 in Gemfile * Update config files * Fix bcrypt monkey patch for specs * Fix TracksController * Replace track streaming with track download * Remove assets from application layout
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
class Streamer
|
||||
def initialize(file)
|
||||
@file = file
|
||||
end
|
||||
|
||||
def each
|
||||
f = File.new(@file, 'r')
|
||||
while data = f.read(4096) do
|
||||
yield data
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user