I'm almost done fighting with my logging model and i've got an IP
details page where a collection if filtered as follows

  def ip
    self.this = IpLog.where(:logged_ip => params[:ip])
  end

I've created a custom collection that shows the dates actions and all
the stuff I need just the way I need it but above that collection I'd
like to have something like a subsection "Users that have logged in
with this ip" (not spot on English but you get what I mean hopefully)

Idealy I'd like there to be 4 columns in that subsection

Name | Last Login| First Login | Number of times logged in

technically the base collection already has that info as it has every
action from that ip so I just kinda need to filter this base
collection and count it. I know how to do a rails count but filtering
in a collection tag _ABOVE_the base collection while keeping the base
intact is a problem. So is counting with Hobo (Man... that sounds like
a kids book "Counting with Hobo" nvm- off-topic ). I'm concerned about
filtering so that it keeps the good data below the secondary
collection as it is.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to