discontinued

This commit is contained in:
Espen Antonsen 2009-08-11 12:12:00 +02:00
parent 11f54d27a2
commit 640fbe655f
3 changed files with 5 additions and 2 deletions

View file

@ -28,7 +28,7 @@ class Album < ActiveRecord::Base
end
def set_title
self.title = File.basename( self.path) unless self.title || !self.path
self.title = File.basename( self.path).titleize unless self.title || !self.path
end
def tags

View file

@ -127,7 +127,7 @@ class Photo < ActiveRecord::Base
private
def set_title
self.title = File.basename( self.path ).gsub( self.extension, "" ) unless self.title
self.title = File.basename( self.path ).gsub( self.extension, "" ).titleize unless self.title
end
def ensure_file

View file

@ -60,6 +60,9 @@ module ScanFiles
end
def self.FullScan(debug = false)
puts "not in use anymore. use Scan"
return
if debug
puts "DEBUG"
end