search for: loggable

Displaying 3 results from an estimated 3 matches for "loggable".

2007 Oct 08
1
Rails reverses apostrophes
...ght have a very simple answer... My problem gives the following error message when I try to call the count function for an item. Mysql::Error: Unknown column ''TournamentTemplate'' in ''where clause'': SELECT count(*) AS count_all FROM action_logs WHERE (action_logs.loggable_id = 1 AND action_logs.loggable_type = `TournamentTemplate`) The row that generates the error looks like this: <% if item and item.action_logs.count > 0 %> Action_logs is a polymorphic class, so "item" can be one of many loggable classes. The model file looks like this: class...
2003 Jan 08
3
Logging suggestions?
Any suggestions how user login/logouts should look like in log files? I was thinking: (connected to imaps port) Login: username [IP 1.2.3.4, imaps, compressed] Logout: username [IP 1.2.3.4, imaps, compressed] [1000/100000 bytes (50%), 00:00:12] Bytes being upload/download and the 50% meaning compression ratio for downloaded bytes, probably not worth it for upload. Or if uncompressed, it'd
2006 Jan 08
0
Wikis for R
...to read or edit anything. So the choice is: take the wiki as seriously as work and have a look every other day to remove the spam (or better: form a group of volunteers). That hurts or at least is no fun. Or put restrictions on it. That hurts even more. Perhaps I do not understand Philippe`s "loggable". What does a logfile with IPs help? The spammers are strangers selling viagra; I don`t want to find them :-) > > To sum it up: > There is a very simple way to proceed: > Philippe uses his Docuwiki install as official, _general_ Rwiki and I close down mine. The beginners will fin...