# File app/controllers/application.rb, line 50 def context_condition(object,id) if object == 'Schema' return ' and schema_id = ' + id.to_s end if object == 'Table' return ' and table_id = ' + id.to_s end if object == 'SchemaType' return ' and schema_type_id = ' + id.to_s end end