Lines Matching refs:state
42 return self.ontology_version if self.state == 'done'
44 where(ontology_id: self, state: 'done').
59 state = "done"
63 "(SELECT ontology_id FROM ontology_versions WHERE state = ?)",
64 state
70 state = "done"
71 stmt = ['state != ?', state] if user == true
73 stmt = ['state != ? AND ' +
75 'WHERE user_id = ?)', state, user.id]