Displaying 4 results from an estimated 4 matches for "scaffold_id".
2010 Mar 08
2
using sprintf to pass a variable to a RMySQL query
...g the sprintf syntax and the SQL regex.
I have checked my sqlcmd and it works when I wan to match %MG1% but how
do I iterate for i 1-72? Escape characters,?
thanks in advance
i<-1
sqlcmd_ScaffLen<-sprintf('SELECT scaffold.length
FROM scaffold,scaffold2contig,contig2read
WHERE scaffold.scaffold_id=scaffold2contig.scaffold_id AND
scaffold2contig.contig_id=contig2read.contig_id AND contig2read.read_id LIKE
'%MG%s%' ,i)
========= Here is my vague error message
Error: unexpected input in:
2006 May 02
3
Ajax scaffolding respones are received, but not rendered in browser
...ssage-tbody", "\n<tr
id=\"message-create-1146611248468-row\" style=\"display:none;\">\n
<td id=\"message-create-1146611248468-cell\" class=\"create\"
colspan=\"9\">\n \n <form
action=\"/message/create/1146611248468?scaffold_id=message\"
href=\"/message/create/1146611248468?scaffold_id=message\"
id=\"message-create-1146611248468-form\" method=\"post\"
onsubmit=\"new Ajax.Request(''/message/create/1146611248468?scaffold_id=message'',
{asynchronous:true, evalScripts:tr...
2006 May 15
1
Ajax Scaffold is htmlescaping "&" in url''s
Seems like I have a problem with html escaping of "&" in my
url''s. "Create New" have following link:
http://localhost:3000/stylesheets/new?scaffold_id=stylesheet&page=1&sort_direction=asc
Any ideas how I can fix this?
Using:
ajax_scaffold_generator (3.1.2) &
rails (1.1.2)
Regards Henrik
2006 Jul 26
0
page.replace_html render(:action => ''other_action'')
I want to be DRY. I have a controller action, component, that renders
html.
I have another controller action, component_update, that returns RJS:
This what I''d like for ''component_update.rjs'':
page[params[:scaffold_id]].replace_html render(:action => "component",
:layout => false)
page[params[:scaffold_id]].visual_effect :highlight
But, the render is returning ""
How do I reuse the component view?
--
Posted via http://www.ruby-forum.com/.