Displaying 3 results from an estimated 3 matches for "blogcomment".
2006 Apr 25
2
JRS problem
Hi all,
I''m playing with the new RJS stuff. Very cool!
But I have a problem. The following code works ok:
page.select(''div.blogcomment'').each do |element|
page.visual_effect :highlight, element
end
All div''s with class blogcomment are highlighted correctly. But I just
want the last elemen to be hightlighted. The following code is not
working:
page.visual_effect :highlight, page.select(''div.blogcomm...
2007 Feb 01
4
Automatically Indexing Associated Models
PROBLEM
I have two models, Blog and BlogComment. When a blog is initially
created, it has no comments. Upon creation, the title and body are
automatically added to the ferret index and directly searchable.
However, when a comment is added to a blog, that comment does not get
added to the index and is therefore not ferretable. The desired behavio...
2006 Apr 21
6
when using scaffold flash[''notice'']
Hi,
When using the scaffold standard new / create methods, on successful
completion of creating a new database entry, is there any return
methods I cna pick up in a custom tempalte such as flash[''notice'']?
Thanks
Scott
--
Posted via http://www.ruby-forum.com/.