Displaying 2 results from an estimated 2 matches for "book_url".
Did you mean:
_book_url_
2008 Jul 19
5
helper functions permanently altering variables
...#39;') # spaces to dashes, preferred separator char
everywhere
end
-- view showing the books
book.product_name
#returns "a name with a lot of spaces and characters in it"
link_to(image_tag(book.image_url_small), :controller => "book", :action
=> "detail", :book_url => format_url(book.product_name), :key =>
book.isbn)
book.product_name
#returns "a-name-with-a-lot-of-spaces-and-characters-in-it"
so the problem is I want a function that formats just the path, but what
I have here alters book.product name permanently, so that when I want to
writ...
2006 Nov 29
0
[761] trunk/wxruby2: Initial commit of HtmlHelpController & HelpController support + doc,
...*add_book*(%(arg-type)FileName% book_file, %(arg-type)Boolean% show_wait_msg)
</del><ins>+ Boolean *add_book*(%(arg-type)String% book_file, %(arg-type)Boolean% show_wait_msg)
</ins><span class="cx">
</span><del>- Boolean *add_book*(%(arg-type)String% book_url, %(arg-type)Boolean% show_wait_msg)
</del><ins>+Adds book into the list of loaded books. This must be called at least
+once before displaying any help.
</ins><span class="cx">
</span><del>-Adds book (".hhp file":helpformat.html - HTML Help...