search for: post_count

Displaying 4 results from an estimated 4 matches for "post_count".

Did you mean: port_count
2006 Mar 19
7
Tag Cloud Code
Does anyone have any sample code for a tag cloud. I''ve looked at typo but they''ve just got complicated sql (which I don''t have a clue about). All I want is to select tags and make them bigger/smaller depending on the number of pages that are ''tagged'' by them. Thanks in advance -- Posted via http://www.ruby-forum.com/.
2006 Jun 08
2
Activerecord Update syntax.
This what I have - sadly, it does not work :( . posts = {params[:topic][:forum_id] => { "posts_count" => "posts_count + @topic.posts_count"}, @topic.forum_id => { "posts_count" => "posts_count - @topic.posts_count" } } Forum.update(posts.keys, posts.values) It''s suppose to subtract the posts_count from topic, and add it and subtract
2013 Mar 16
3
crash with dovecot 2.2: Panic: Buffer full
...<optimized out> buf = {data = 0x682e38, used = 4179, priv = {0x682e38, 0x0, 0x1098, 0x0, 0x0}} ret = <optimized out> #10 0x00007f9d1bccdaf2 in i_stream_qp_decoder_read (stream=0x66dd50) at istream-qp-decoder.c:103 bstream = 0x66dd50 pre_count = 0 post_count = <optimized out> ret = <optimized out> prev_size = 5570 __FUNCTION__ = "i_stream_qp_decoder_read" #11 0x00007f9d1bce6de9 in i_stream_read (stream=0x66ddb0) at istream.c:135 _stream = 0x66dd50 old_size = 0 ret = <optimized out...
2006 Jul 24
7
[PATCH] Support for DB Clusters/Replication in ActiveRecord (RFC)
...sql = sanitize_conditions(sql) - connection.select_value(sql, "#{name} Count").to_i + connection(:read).select_value(sql, "#{name} Count").to_i end # Increments the specified counter by one. So <tt>DiscussionBoard.increment_counter("post_count", @@ -725,7 +725,7 @@ # Returns an array of column objects for the table associated with this class. def columns unless @columns - @columns = connection.columns(table_name, "#{name} Columns") + @columns = connection(:read).columns(table_name,...