search for: raw_com

Displaying 2 results from an estimated 2 matches for "raw_com".

Did you mean: raw_rom
2006 May 31
0
acts_as_blog
...tile'') end ==================================================================== #Here is an example of the comments model. class Comment < ActiveRecord::Base acts_as_blog belongs_to :post before_save :transform_comment ## validation checks validates_presence_of :name, :raw_comment ## we filter out all html tags except those created by the markup def transform_comment self.comment = Comment.convert_to_html(self.raw_comment,''textile'',[:filter_html]) end ===================================================================== The available markup...
2006 Apr 08
2
trouble expiring cached pages
...t; ''pragmatic'', :action => ''view'', :id => post_id) end end and now here''s my log that shows that the expiration "should" be happening. SQL (0.000369) INSERT INTO comments (`name`, `raw_comment`, `date`, `post_id`, `web_site`, `comment`, `email`) VALUES(''bbbbbbbbbbbbbbbbb'', ''bbbbbbbbbbbbbbbbbbb'', ''2006-04-08 19:46:25'', 56, '''', ''bbbbbbbbbbbbbbbbbbb'', '''') I made it to the cachi...