search for: base_price

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

2010 Nov 05
0
Need a optimized version of this
The rails version is 2.3 I have a relation offers hm prices In the prices table a have a column named well base_price, + promotion and last_minute The prices for one offer can have promotion checked or last_minute checked indicating that the current price is a promotion or last minute, to find out if a offer is a promotion or last_minute, and view that in the search results I need to get the lowest price from pri...