Displaying 20 results from an estimated 200 matches similar to: "conditional link_to_remote not re-rendering"
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in
my controller (AssociatesController), using XMLHttpRequest. I know
the XMLHttpRequest works fine because I use it in other places with
success. My problem is my URL I am using for this request doesn;t
access the method in my controller which I (think) I am specifying. I
am having it post to /channels/assocboxchange/" with
2009 May 27
9
Contingent Select Boxes - 2 Q's
I have a form with contingent select boxes (the state is contingent on
the country selected, so when the country selected changes, the state
changes -- I am using the Carmen plugin for getting my state names and
country names together, but not the functionality I am interested in
achieving).
Everything works fine except I cannot figure out how to amend my code
such that:
A. When the form is first
2009 Jun 05
15
Rails Code Indentation
Hi All,
Rails code must be readable, formatted and well indented.
I wanted to do indent code in my previous projects.
Is there any built in rails plugin/gem that can help me to
indent my existing code.
Any ideas will be really appreciated !
NOTE: Please don''t suggest editor plugins.
Thanks & Regards,
Sandip R~
--
Ruby on Rails Developer
http://sandip.sosblog.com
2009 May 26
2
Discovery on packages
If I download a package -- how can I explore what it does? For
instance, I downloaded the TTR package of off CRAN -- but how can I
find out what it does? Is there a type of API doc for each package? JB
2010 Oct 14
1
Ice Cube Rails problem
I''m using Ice_Cube to try and get the rule from a Model to be used to
create a schedule, like so:
@temp_sched.add_recurrence_rule
IceCube::Rule.from_yaml(Transaction.last.rule)
However this doesn''t seem to be the right thing, I just want to create
a new Rule using the rule specified for each Model.
IceCube::Rule.new(the rule) would be a good way, but this doesn''t seem
2009 Feb 21
2
Dovecot 1.2.beta1 Backtrace POP3
I am testing out the new Dovecot 1.2.beta1 software. I am getting
reports from people using POP3 that it randomly drops connections.
Looking at the log file I see that the POP3 process they were connecting
to panics and dumps a Raw bactrace. Below is a copy of the logs (IP
addresses striped for security):
dovecot: Feb 21 13:10:45 Info: auth(default):
passwd-file(janna at jantics.com,x.x.x.x):
2009 Jun 09
1
Black-Litterman model
Anyone know where I can obtain an R implementation of the Black-
Litterman portfolio model?
2010 Dec 22
2
Scheduling Plugin
Hi,
We are looking for a calendar scheduling solution that supports
recurring events.
Some specific requirements are that we need to be able to setup
recurring events, then modify one of those events on a certain day by
deleting it for example.
Basically, we want the back end for a Google Calender type
functionality.
Ive dug around in GitHub and there are tons of recurring plugins but not
many
2016 Mar 01
2
[PATCH 1/5] fat: fix minfatsize for large FAT32
On 02/26/16 09:54, Gene Cumm via Syslinux wrote:
>>
>> I'm not exactly sure how that would work (how would you mark those clusters
>> as wasted when my understanding is that the FAT's can't provide any
>> knowledge about them in the first place?) and unless it is automatically
>> integrated and ran during the Syslinux installation, it sounds quite
>>
2002 Apr 05
1
Chroot of SCP and SFTP-server
Hi,
I was thinking about the difficulties and complexities of using chroot in
scp or sftp-server, in order to limit the user in which files they can
access.
I've seen a lot of arguments about how it is pointless to try and secure scp
or sftp (also from a logging perspective) because if we allow SSH access,
the user can simply provide their own scp or sftp binary, that does not do
the
2007 Dec 24
5
output link_remote_to in helper
Hi all,
I have a complex link_remote_to link I need to generate often. I want
to DRY up my view and create a helper that generates this
link_remote_to for me.
Is there a way my helper can output the link_remote_to javascript?
Thanks
STijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 Oct 28
1
Actionless self-referential views , logic in my views, yes, but less LOC. One draw back, it dont work.
<%= render (:partial => "collapsed_blog" , :locals => {:be => be ,
:hide => "yes"}) %>
This above code is in a .rhtml page.
Here is the partial it renders:
<p class=<%="blog_content" + be.id.to_s%>>
<% if hide == "yes" %>
<%= be.blogshorttext %>
<%= link_to_remote ('' [See Full Text ('' +
2012 Apr 17
10
kernel panic during zfs import [UPDATE]
Hello everybody,
just to let you know what happened in the meantime:
I was able to open a Service Request at Oracle.
The issue is a known bug (Bug 6742788 : assertion panic at: zfs:zap_deref_leaf)
The bug has bin fixed (according to Oracle support) since build 164, but there is no fix for Solaris 11 available so far (will be fixed in S11U7?).
There is a workaround available that works
2006 Jan 15
0
How to Validate Inherintly?
Very often, I''d like to know if an object is .valid? inherently - that
is, if it meets all the validations that are run on it by itself, but I
don''t care if one of the fields is not unique.
What''s the best way to determine this - that is, to run all the
validations except the validates_uniquness ones?
(A common use case is when importing data - it''s
2006 May 22
1
rerender tcltk toplevel
Hi everybody,
I am trying to write a simple progress display based on a tcltk
toplevel. My first approach was to use the progressBar widget from the
BWidget library but since this is not available on every system (missing
on at least almost all windows systems, I guess...) I wanted to have a
backup there. So my second strategy was to use a simple toplevel with a
label and update the tclvariable
2005 Aug 10
2
Firewall will definately increase jittersinyourvoice conversation
Absolutely. Lokesh, I suggest you go to the Wiki and check out the
security issues inherint in the implementation of SIP in Asterisk.
http://voip-info.org/tiki-index.php?page=Asterisk%20security
http://voip-info.org/tiki-index.php?page=Asterisk+security+dialplan
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On
2010 Dec 22
1
'No route matches' error with select_tag
Rails 3: I have a view books/:id/show.html.erb - in the view, I have a form
with a select tag to pick a template, that on dropdown should submit the
form which rerenders the page based on the selection:
<%= form_tag book_path(@book) do %>
>
> <%= select_tag "template[]",
>> options_for_select([["Template1","template1"], ["Template2",
2006 May 18
7
Server out to excel
How would one server out to excel a html table with the mime/content
type
application/vnd.ms-excel ?
In PHP it would be something like
?php
header("Content-Type: application/vnd.ms-excel");
------
But how do I do this in rails?
Cheers Glenn
--
Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
headers[''Content-Type''] & link_to_remote on Rails Edge
I''m on rails edge and am calling an after filter on my actions. Works
except for my ajax calls via link_to_remote. When I inspect headers,
I see the ''Content-Type'' is key for an object rather than a string.
Shouldn''t it be a string? Anyone know if this is a bug or if I''m
dealing with this incorrectly.
Thanks,
Jamie
The code:
after_filter
2006 Aug 03
0
link_to_remote() question from a newbie.
Hello,
I am trying to utilize link_to_remote() in the following manner:
<%= link_to_remote(exchange.name,
:update => ''mydiv'',
:url => { :controller => ''attributes'',
:action => :list_user_attributes,
:class_id => class.id,
:user_id => user.id
} ) %>
And