ActiveScaffoldãã©ã°ã¤ã³ã§å ¨è§è±åã§æ¤ç´¢ã§ããªãã®ã§ãªãã§ããªã¨æã£ã¦ããä»æ¥ããããããã£ãã åé¡ã¯æ¤ç´¢æ¡ä»¶ã®æååãå°æåã«ãã¦æ¤ç´¢ãããã¨ãã¦ããå ´æã«ãã£ãã vendor/plugins/active_scaffold/lib/finder.rbãã®ã½ã¼ã¹ã®create_conditions_for_columnsã columns.each do |column| where_clauses << "LOWER(#{column.search_sql}) LIKE ?" end phrase = "(#{where_clauses.join(' OR ')})" sql = ([phrase] * tokens.length).join(' AND ') tokens = tokens.collect{ |value| [like_pattern.sub('?'
{{#tags}}- {{label}}
{{/tags}}