search for: lastentrie

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

2006 Jan 13
2
JOIN
Hi! For the following example I want to retrieve the last 10 LastEntries for experis_date >= now. class User < ActiveRecord::Base has_one :last_entries def self.last_entry_items find(:all, # :include => "last_entries", # :conditions => "last_entries.expires_date >= now()", :order => "id desc", :limi...