Displaying 2 results from an estimated 2 matches for "user_columns".
2008 Jun 26
6
ActiveRecord search Query Question
...#39;m sure that I''m doing some logical mistakes but I''m new to ruby on
rails so please forgive me.
hope some one can help
def conditions_by_like(value, *columns)
myArray = value.gsub(/[^\A-Za-z0-9\s]/, "").split(/ /)
myArray.each do |itemz|
columns = self.user_columns if columns.size==0
columns = columns[0] if columns[0].kind_of?(Array)
conditions = columns.map { |c|
c = c.name if c.kind_of? ActiveRecord::ConnectionAdapters::Column
"`#{c}` LIKE " +
ActiveRecord::Base.connection.quote("%#{itemz}%")
}.join("...
2005 May 09
1
Asterisk + SER and NAT
Hi,
We are testing a SIP solution * + ser solution for a large implementation.
All the clients are nated.
When a client is dialing outside the domain (to a FWD sip account for
example) all is perfect ! ;-)
But ,when a call is done to a sip account, the client is ringing, then the
caller can hear the nated client very well, but the nated client does'nt
hear anything. RTP issue no ?
I've