Displaying 20 results from an estimated 1100 matches similar to: "link_to_remote show then hide"
2006 Jun 11
2
Javascript include in html - load times
Hi,
If I include a javascript library, will it load when the html load, or
just at the first use?
I have table.js and I have few pages that needs it.
Should I include it just on the pages that needs it, or put it on the
application_layout?
Thanks,
Kfir
2006 Jun 13
2
Bug tracking plugin for ROR?
Hi,
Is there a plugin for ROR for bug tracking.
I need it for lite use.
I thoght using typo or something, but still want to know if there is something.
Thanks,
Kfir
2006 Apr 10
1
rake throws a lot of warnings
Hi,
Running ''rake'' or ''rake ...'' will throw warnings and then will do the tasks.
I have attached the output of
rake stats 2> /tmp/rake.error.txt
I''m running Gentoo with:
* dev-lang/ruby
Latest version available: 1.8.4-r1
Latest version installed: 1.8.4-r1
Size of downloaded files: 4,417 kB
Homepage:
2006 Apr 15
2
Model isn''t in the scope when running script/console
Hi,
When running the script/console I can''t run the model.
Example:
I have model Probe.
So, running:
Probe.class will not work, because Probe is not loaded.
I tried to build some projects from scratch automatically generated,
but the problem stays.
Any thoughts?
Thanks,
Kfir
2006 Mar 14
2
Where i can download docs for offline reference?
I have seen the testing doc or the FAQ on ROR site, but is there a zip
file for it?
2006 Apr 27
12
Execute controller function from RJS
Hi all,
I wonder if it is somehow possible to execture or redirect to a
controller function from RJS?
Right now I do:
def foo()
render :partial => ''executeagain''
end
_executeagain.rhtml
<script>
new Ajax.Updater(''elmntID'', ''/test/foo/'', {evalScripts:true});
</script>
This will loop I know :)
How can I achieve the same
2006 May 27
29
deploying R_o_R to local servers
Hi!
I''m pretty amazed by the features of RoR so far. But, as I come from the
desktop application development, my clients expect to run the magic on
their domain rather on a foreign one. Also I feel uncomfortable giving
away my RoR code to some hosting company, because I''m planning to do a
large application.
As I understand, RoR is designed to run on central web-servers and not
2006 Apr 26
8
Newbie: Hide div I''ve just show using link_to_remote?
I''m using link_to_remote to show details for an item that''s clicked. I''d
like to hide the div with the next click, or alternatively have a "Hide"
link within my div.
What is the best way to accomplish this?
Here''s my existing code:
<% for task in @mytasks %>
<div class="rowFormat">
<%= link_to_remote(
2006 Jun 02
4
RoR on Apache not working
Hi
I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but
I''m not an internet/pc/apache/developement newbie so I expected this to
go much easier :)
Ok, here it goes. I''ve been trying to get RoR working with apache both
on a RH server and after i didn;t managed there I tried on my machine,
an windows XP/Apache2 machine.
I don''t like
2009 Jun 28
1
TI Davinci DM Serias
Hi, I am attempting to port the speex library to TI Davinci DM35x Family.
My questions are:
1. What is the best ./configure option for it? Is it ARM5e / ARM4 ?
when I tried these two the during the compiled a warning
"I suppose you can have a [ARM4/ARM5E/Blackfin] that has float
instructions?"
2. is there any available demos for the echo cancellation because I can get
it
2006 Apr 04
2
How to add CSS tips to link_to_remote?
The following code of tag clouds implementation:
<%= link_to(h("<#{tag}>"), "tags/listmytag/#{tag}", { :style =>
"font-size: #{font_size}" } ) -%>
I want to change it to ajax style:
<%= link_to_remote "<#{tag}>",
{ :url => { :controller => ''tags'', :action => ''listmytag'', :id =>
2010 Mar 09
9
Ajax-submit form on "check box onclick ": why this error?
Hi there,
I need to have a checkbox which ajax-submits a form.
The following code throws an error "index 112009 out of string". What''s
wrong here?
==============================================
<% form_remote_tag :url => { whatever_url } do -%>
<%= check_box_tag ''whatever'', nil, whatever, { :onclick =>
2008 Jan 22
2
Help - linear regression
Hi,
I am trying a linear regression model where the dependent variable is the size of the heart corrected for the patient's height and weight. This is labelled as LAVI. The independent variables are race (european or non-eurpoean), age, sex (male or female) of the patient and whether they have diabetes and high blood pressure. sample size 2000 patients selected from a community.
when I
2006 Jun 02
3
Where are the best AJAX examples?
Googling for this has not solved my problems. Is there a particular
site that is recommened for its examples and tutorials on Rails'' AJAX
capabilities? I know exactly what I want to do, just not how to do it,
and am looking for some code to pore over.
1) I have a dropdown that represents the name of an image in a library.
When the dropdown value is changed, I would like to refresh
2010 Jan 30
2
passing multiple objects with remote_function
Hey,
I can successfully pass a single object from any form field to my
controller via:
Select Year: <%= collection_select("vehicle", "year", @availableYears,
"year", "year",
{:prompt => "Select a year"},
{:onchange => "#{remote_function(:url => {:action
=>
2006 Aug 16
6
error with edge rails
I''ve started an app with rails 1.1.6 then ran freeze_edge. My app
will not run with rails in the vendor folder. Have I forgot to do
something? I"ve been without the internet for the last two months.
Has something changed?
2020 Jul 14
2
Re: SELinux labels change in libvirt
On Tue, Jul 14, 2020 at 3:33 PM Daniel P. Berrangé <berrange@redhat.com>
wrote:
> On Tue, Jul 14, 2020 at 03:21:17PM +0300, Ram Lavi wrote:
> > Hello all,
> >
> > tl;dr, can you point me to the point in the libvirt repo where it's
> trying
> > to change a tap-device's SELinux label?
> >
> > I am trying to create a tap device with libvirt on
2007 Mar 29
2
Re: FLAC: same features as WavPack
On Thu, 2007-03-29 at 12:53 -0700, Brian Willoughby wrote:
> > Hello FLAC list.
> >
> > As far as I know 24 bit FLAC support is broken. It often doesn't
> > compress the audio at all, but instead stores the chunks as verbatim
> > type (although the FLAC format supports 24 bit). Perhaps this is
> fixed?
> > If so, do let me know.
>
> Hi
2006 May 13
5
Ajax Checkbox using Rails
Hi,
I''m trying to have a checkbox, that when clickes sends an update to the
server and in turn modify the UI with feedback on the success of the
operation.
The main difficulty I''m encountering is that I can''t pass the checkbox
value if I use the standard PrototypeHelpers.
I''m using remote_function to build the function call, but it doesn''t
allow
2006 Jan 25
8
conditional replacements in rhtml
I am working on the Agile programming tutorial and trying out some
ruby code. Can someone tell me why the following works:
<h1>Display Cart</h1>
<p>
Your cart currently holds <%= @items.size %>
<%= @items.size == 1 ? "item" : "items" %>.
</p>
while this does not?
<h1>Display Cart</h1>
<p>
Your cart currently