Hi,
I have a issue in OR confition in where clause. Use rails 3 + mongoDB
(Mongoid). Please send me any solutions asap.
I have a condition: where({:target_device_os_max_ver => appver.to_s} ||
{:target_device_os_min_ver => appver.to_s})
Thanks
Hi,
I have a issue in OR confition in where clause. Use rails 3 + mongoDB
(Mongoid). Please send me any solutions asap.
I have a condition: where({:target_device_os_max_ver => appver.to_s} ||
{:target_device_os_min_ver => appver.to_s})
Thanks
where(:target_device_os_max_ver =>
appver.to_s*).or(:target_device_os_min_ver
=> appver.to_s)*
Hi,
I solve my isseu
where(:$or => [{:target_device_os_max_ver =>
appver.to_s},{:target_device_os_min_ver => appver.to_s}])
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs