Show More
Commit Description:
added message hiding for admin in msg console...
Commit Description:
added message hiding for admin in msg console git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@371 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
db/migrate/011_add_language_ext.rb | 16 lines | 319 B | text/x-ruby | RubyLexer |
pramook
initial commit...
r0 class AddLanguageExt < ActiveRecord::Migration
def self.up
add_column :languages, :ext, :string, :limit => 10
jittat
add some lock in task...
r30
Language.reset_column_information
pramook
initial commit...
r0 langs = Language.find(:all)
langs.each do |l|
l.ext = l.name
l.save
end
end
def self.down
remove_column :languages, :ext
end
end