search for: second_date_double_valu

Displaying 1 result from an estimated 1 matches for "second_date_double_valu".

2006 Jul 05
0
@products = Product.find_by_sql "SELECT *...... "
..., but i dont know how to get the values of a date, because i need that values to build my sql sentences for example: @products = Product.find_by_sql "SELECT * FROM products WHERE cdbl(date_availabe) > " + first_date_double_value + " AND cdbl(date_available) <= " + second_date_double_value first_date_double_value & second_date_double_value are the values that i dont know how to get neither taking of Date.today value please i need your help tanks -- Posted via http://www.ruby-forum.com/.