Re: [Rails] Search form AND condition - Not working

2013-05-08 Thread Yuichi Matsuda
in the source given, i see something like * :conditions = ['( LOWER (* *(address_books.birthday) LIKE ?)', ** * * * is theres a extra quote? 2013/5/7 Colin Law clan...@googlemail.com On 7 May 2013 13:17, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, May 7, 2013 at 1:08 AM,

Re: [Rails] MyApp/lib/ directory: How to deal with it?

2013-04-17 Thread Yuichi Matsuda
what i usually do is adding autoload_path. in config/application.rb, i append config.autoload_paths += %W(#{Rails.root}/lib/validators) then i put generic validators such as EmailValidator into lib/validators directory after that, all i need is class SomeModel ActiveRecord::Base

Re: [Rails] activeldap and migrations

2013-01-23 Thread Yuichi Matsuda
hi i am on Rails-3.2.11 and in my application.rb i added following and everything seems fine. config.app_generators.orm :active_record ichy 2013/1/24 Craig White craig.wh...@ttiltd.com forgot what the exact solution was but I seem to recall that I indicated that this was a postgres