# File app/controllers/metarep_controller.rb, line 175 def update_table_description if session[:user_id] @table = Table.find(params[:id]) @change = Change.new({:object_path => @table.Schema.Database.database_nm + '/' + @table.Schema.schema_nm + '/' + @table.table_nm, :data_changed => "table_desc", :user_id => session[:user_id], :new_value => params[:value], :date => Time.now}) @change.save @table.table_desc = params[:value] @table.save redirect_to :action => 'showTable', :id => params[:id] end end