Displaying 20 results from an estimated 1000 matches similar to: "page.update_html not executed"
2006 Jun 14
7
CR issue
Hi,
I am using RedCloth (3.0.4).
First using online text2html (http://www.textism.com/tools/textile/) ,
"123
456"
returns <p>123<br />456</p>
But by code:
<code>
require ''RedCloth''
puts RedCloth.new("123\n456").to_html
</code>
I got:
<p>123
456</p>
CR is not taken in consideration. Is there any parameter I am
2006 Jun 16
6
rendering mathematical equations
Any recommendations on how I can get mathematical equations into my
resulting html? (Besides using x^2^ type markup.)
I figure I could parse out equation text from my main text before
RedCloth ever sees it... and then maybe create png''s somehow from it,
putting the links to them back into the main text before handing it
over to RC. But I don''t know of a util that will generate
2006 Jul 18
2
RubyOnRails certification
Hi,
I am just wondering if there are already some ROR certifications, and if
yes, what is the rails core opinion?
Thank you
Jean-Etienne - http://www.novAgora.hu
--
Posted via http://www.ruby-forum.com/.
2006 Jun 29
3
Questions on ActiveRecord implementation
Hi,
I got several questions on AR adapters implementation:
1. For SqlServer/Oracle, SQL queries are built by concatenation, and
there is no use of parameters. Especially for Oracle, this is very bad,
no optimization can be done. Is there a reason for that? Does anybody
plan to fix that?
2. When updating a model, _all_ columns are updated. Why not only the
diff is updated? Using blob/cblob, it
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi
I had ajax commenting on my app, which worked perfectly on Rails
v1.2.6, but does not work the same in Rails 2.02. Basically the
comment gets added, but the visual effects do not work (ie lines 2 + 3
of create.rjs)
create.js
page.insert_html :bottom, ''comments'', :partial => ''comment''
page.visual_effect :appear, "comment_#{@comment.id}"
2006 May 25
1
schema_info not updated
Hi,
When doing a ''rake migrate'', schema_info is not updated (it does not
contain any row). Migration is done properly the first time, but fails
the second time I run it, since there is no info in schema_info.
I am running rails 1.1.2, using script/generate migration to generate
the migration file.
Any help? Thank you.
Jean-Etienne
http://www.novAgora.hu
--
Posted via
2006 Jul 03
6
Rjs $("aaa").insertHtml is not a function error
Hi,
I''ve searched the list and found that someone had the same problem as me
http://lists.rubyonrails.org/pipermail/rails/2006-May/043760.html
I''m have in my page a link like this
<%= link_to_remote ("Add
#{image_tag(''add.png'')}",:url=>{:action=>''addProduct''})%>
and in my controller
def addProduct
..................
2005 Oct 16
13
More than one parameter with link_to_remote
Hi all,
I''m trying to pass more than one parameters using link_to_remote, but I''m
getting a behaviour that seems quite strange to me. Here''s the code:
link_to_remote ''some text'',
:update => ''form'',
:method => ''get'',
:url => { :action =>
2006 Apr 19
9
Initial load time when periodically_call_remote
When I do periodically_call_remote with e.g. :frequency => 30
after initial page load I have to wait 30 seconds until this partial
renders first time. Does anybody know how to make ROR to render partial
on web page load, and then start periodic calls every 30 seconds? I
tried to put
<div id=''mydiv''><%= render(:partial, :action=>''myaction'')
2008 Feb 01
1
render partial in div
I have this link which when clicked will loop and render more links and
a form from a partial inside of "myDiv":
<%= link_to_remote ''MyLink'' . . . ., :update =>"myDiv" %>
<div id = myDiv>
<div>
<div>
<div>
What I am trying to do is have a form_remote_tag that re-renders the
list of stuff in "myDiv" when
2006 Mar 23
2
ajax replace div
Hi,
Using form_remote_tag methode, is there a clean way to
directly replace the content of a given div instead of just update it ?
If I destroy the content of the div using this code:
:success => ''$(\''mydiv'').innerHTML = \''\'''',
It works. But it''s not really a clean way...
Any suggestions are very welcome..
Thanks.
Seb
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats,
I seem to have ran into a problem in IE trying to use parentNode with
the cleanWhitespace method.
doing something like:
var div = $(''mydiv'');
Element.cleanWhitespace(div);
works really great, but try doing:
var div = $(''mydiv'');
Element.cleanWhitespace(div.parentNode);
or
var div = $(''mydiv'');
div = div.parentNode;
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:
2006 Jun 19
10
Trying to delete from a unordered list using ajax
I have a controller method as such:
def delete
@category = Category.find_by_name(params[:name])
@element_id = @category.name
Category.delete_all(["name = ?", @category.name])
end
(For the purpose of this exercise, category names are unique)
I have the corresponding delete.rjs file:
if @element_id
page.remove :id => @element_id
page.visual_effect :highlight,
2006 Mar 20
1
AJAX in conjunction with partials
All,
Trying to clear up some confusion on my part.
If I make an Ajax call using Ajax.Request and in the controller method
that I call, I do a render (:partial => ''whatever.rhtml''), should I
expect that ''whatever.rhtml'' will be rendered in the browser or not?
Put another way, is it in any way reasonable for me to think that
Ajax.Request + partial render
2006 Jun 14
2
rjs issue with Internet Explorer
Hi,
When executing some rjs templates:
page.insert_html :bottom, ''contractors'', :partial => ''contractor''
page.visual_effect :highlight, "contractor#{@contract.contractor.id}",
:duration => 1
Works fine on Firefox, but nothing happens on IE. Is there any
equivalent of Firebug for Internet Explorer? Are there "well-known" tips
for
2006 Dec 14
17
Should Event.stopObserving() remove itself from cache?
Just wondering why Event.stopObserving() doesn''t remove the itself from
the Event.obervers array?
Is there a reason for this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2005 Nov 17
1
afterFinish option not working as expected
Hello,
I''m trying to use the afterFinish parameter on the BlindDown effect,
but it''s not working as I expect it to. My function appears to be
called just as the effect is starting, not when the BlindDown is
complete (finished drawing).
Here''s the code that I''m using for the most part...
Effect.BlindDown( mydiv, { afterFinish:Form.enable(myform) } )
Any
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
I have the following code in the "onSuccess" function of an
Ajax.Request() call. The content type of the response message is "text/
xml".
function interactionSuccess(request) {
var root = $(request.responseXML.documentElement);
...
So more or less I extend the root element of my XML response.
This call triggers the onException callback. The exception is a
2012 Feb 01
1
randomForest: proximity for new objects using an existing rf
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120201/cc22025d/attachment.pl>