Displaying 2 results from an estimated 2 matches for "pages_tags".
2005 Dec 06
5
How to set a default value?
Hello,
I have a price field that I validate of numbers.
How can I default a 0.0 value?
Regards,
Frank Rocco
farocco-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
2006 Mar 07
1
has_and_belongs_to_many tags
...ions => ["#{:tag.name} LIKE ?",''%'' +
@params[''searchtags''] + ''%'' ])
My enviroment:
I''ve got a table called tags, and a table called pages, both with a
relationship of has_and_belongs_to_many. I also have a table called
pages_tags. Basically my tables are set up like here:
http://www.railsdiary.com/diary/tagging_has_and_belongs_to_many
Would appreciate some help on how I can reference a tag through a Page.
--
Posted via http://www.ruby-forum.com/.