[前][次][番号順一覧][スレッド一覧]

rails:302

From: Kazuhiro Yoshida <moriq@m...>
Date: Thu, 28 Jul 2005 12:36:40 +0900
Subject: [rails:302] Re: text_field_with_auto_complete

もりきゅうです。もういっちょ。

Kazuhiro Yoshida <moriq@m...> wrote:
>       :conditions => [ "LOWER(zipcode) LIKE ?", 
>         params["myaddresstable"]["zipcode"].downcase + '%' ], 
        :conditions => [ "zipcode LIKE ?", 
          params["myaddresstable"]["zipcode"] + '%' ], 
数字なら case sensitive じゃなくていいですね。

----
Kazuhiro Yoshida  moriq@m...

--
ML: rails@r...
使い方: http://QuickML.com/
Web Site: http://wiki.fdiary.net/rails/
ML Archives: http://www.fdiary.net/ml/rails/

[前][次][番号順一覧][スレッド一覧]

       296 2005-07-27 00:23 [y.igarashi@g...     ] text_field_with_auto_complete           
       297 2005-07-27 04:00 ┗[yu1@t...            ]                                       
       299 2005-07-28 02:33  ┗[y.igarashi@g...     ]                                     
       300 2005-07-28 05:29   ┗[moriq@m...          ]                                   
       301 2005-07-28 05:33    ┣[moriq@m...          ]                                 
->     302 2005-07-28 05:36    ┣[moriq@m...          ]                                 
       303 2005-07-28 05:41    ┃┗[moriq@m...          ]                               
       306 2005-07-29 02:34    ┗[y.igarashi@g...     ]                                 
       308 2005-07-29 09:44     ┗[moriq@m...          ]