You can clone with
HTTPS or Subversion.
I have a User model which has_many :transactions. Transaction belongs_to :user.
I would like to be able to do this:
User.find(params[:id]).transactions.paginate(:page => params[:page], :per_page => 20)
This doesn't seem currently doable. Is it?
I am using 3.0.pre2 and this works like a charm.
@event = Event.find(params[:id])
@posts = @event.posts.paginate(:page => params[:page], :per_page => 20)
It worked after I restarted my server. Loving how easy and unobtrusive it is.