Listing.date_range, polls the PhraseListing table, for listings with 'listed_at' date within dates passed in.
Defaults are currently hard coded to include the years 2015 to 2018, if no dates are passed in.
Returns an array of listings: @listings_in_range
or
Returns "No listings found....msg"
Listing.date_range, polls the PhraseListing table, for listings with 'listed_at' date within dates passed in. Defaults are currently hard coded to include the years 2015 to 2018, if no dates are passed in. Returns an array of listings: @listings_in_range or Returns "No listings found....msg"