Displaying 20 results from an estimated 2000 matches similar to: "Problem with url_for"
2004 Dec 13
4
extended characters
I mentioned this 1 or 2 years back but it's still not fixed. I presume it's
a Icecast2 server problem. I'm using the latest Oddcast client, and
my server host Mediacast1 has just updated to the latest Icecast2.
I'm currently streaming a track in Vorbis format called:
M?ire Brennan - I L?thair D?
It shows this correctly in Winamp on the broadcast PC.
On the Icecast Status page,
2005 Sep 16
4
Integrate functions with loops
Hi
i am having a problem with the 'integrate' function
the function i want to integrate has the form
sum(vector^x)
i have defined the function with a for loop first -
integrandtotest <- function(x)
{a<-rep(0,len=2)
for (i in 1:2)
{a[i]<-t[i]^x}
sum(a)
}
the results gives errors
###########
Error in integrate(integrandtotest, lower = 0.1, upper =
2008 Mar 26
7
Lustre Solution Delivery
What is the process for integrating a Lustre+SAMFS solution into an
existing customer environment. The plan is to have CRS build the
Lustre component, but Lustre and SAMFS will need to configured and
integrated into the customer computing environment. I am very
familiar with the SAMFS integration, but not Lustre integration.
Do we have resources in PS to provide the integration? Is this
2004 Aug 06
1
OddCast or IceCast screws up extended characters
I'll purposely attach an HTML encoded message in case some of you are using 7-bit ascii readers.
I have a number of songs which use extended ASCII characters in the arist or title such as Màire Brennan - I Láthair Dé. The Current Song in the IceCast status.xsl replaces every extended character plus 1 or 2 characters after it with some strange character. So effectivly shortens the title
2004 Dec 13
0
extended characters
well, if I manually update the metadata via oddcast and enter "M? ire
Brennan - I L??thair D??", then check the icecast2 status page, I see :
Current Song: M?ire Brennan - I L?thair D?
which I presume is correct. If I then open this stream with winamp, it
displays as : M - I L?thair D?. If I look at the file properties, the
vorbis winamp plugin tells me there are two comment
2007 Oct 26
3
--prefix, url_for and image_tag
First time here, so I hope this isn''t a FAQ (although I did check
*the* faq).
I''m using mongrel_cluster with --prefix, and it is very slick. Thanks
for that. But I had one problem. At one point in my little app, I
have something like this:
image_tag(url_for(:action => ''picture'', :id => 1), :size =>
"160x200")
In this scenario,
2005 Jun 24
9
R demos
Hi All,
I am currently preparing some form of slideshow introducing R and its
capabilities for some colleagues. The thing will be about 30 mins, and
I'd like to have some "pretty pictures" and some "amazing facts" (I'm
trying to sell, obviously :)).
Can I ask if it's possible to easily retrieve a gross figure of the
number of functions in R considering the
2017 Apr 08
5
Spurious cast warning for C++?
How difficult would it be to add a warning to Clang when the programmer
performs a cast that provably has no effect?
A particular case I have in mind is someone getting confused and calling
std::move on an argument to a copy-constructor for a class that doesn't
implement move semantics.
I would be grateful if someone either (1) told me why this is
difficult/impossible, or (2) gave me some
2004 Nov 21
2
Fw: TDMoE over bonded NIC's
I am planning to configure * box A with PSTN interface to route faxes to *
box B (running spandsp) over TDMoE. I am using 2xGb bonded NIC's for
connection between servers.
Was wondering
- does anybody have experience with TDMoE over bonded interface - ie. does
it work ok?.
- does anybody have feedback using this scenario for fax?
another question, perhaps someone knows what's the
2005 Jul 01
5
Generating correlated data from uniform distribution
Dear R users,
I want to generate two random variables (X1, X2) from uniform
distribution (-0.5, 0.5) with a specified correlation coefficient r.
Does anyone know how to do it in R?
Many thanks!
Menghui
2004 Aug 04
2
Order of messgaes/ missing messages
I am curious as to why I quite often receive responses to questions on the help before receiving the actual question.
For example Mr Graves has responded to Mr Lumley's response to Mr Wegelin yet I ave not received Mr. Lumley's post while I have received the other two.
Cheers,
Jim
[[alternative HTML version deleted]]
2006 Sep 22
1
url_for params
Hi,
url_for has a nice way of using the current ''params'' object to fill in default
parameters in a route. For example,
map.connect '':controller/:action/:id/''
with <%= url_for :action => ''my_action'' %> will redirect to the current
controller. All very good.
However, I sometimes want a url_for() which includes current parameters
2006 Oct 22
2
url_for In a Component?
When I try to use url_for within a component I get the following:
NoMethodError in LinkController#get_links
undefined method `url_for'' for Navbar::LinkController:Class
The API docs show url_for as a public method of ActionController::Base.
Since my component is derived from ActionController::Base shouldn''t
url_for be available within the class?
Any ideas?
Thanks!
-
2008 Sep 17
1
url_for not working in model
Hi,
I am using ''url_for'' for constructing url in my model but it gives me
error
<NoMethodError: undefined method `url_for'' for Xyz:Class>
how to access url_for in model and it possible to call controller
method in
model and how to call it?
Please urgently give reply?
--
Posted via http://www.ruby-forum.com/.
2007 Mar 19
2
Controller url_for modifies request object?
Hi,
In my controller, I do something like this:
MyMailer.deliver_signup_notification(url_for(:subdomain =>
account.subdomain, :controller => ''hello''))
And a few lines later:
redirect_to :action => ''index''
Much to my confusion, the redirect routes me to the subdomain used in
the url_for. I''ve tried
redirect_to :action =>
2007 May 11
1
url_for and capitalization..
i am having a very weird problem with url_for..
i have been using this for several version of rails, but recently, i had
a problem..
it seems as though url_for is causing the results to be returned in
lower case..
if there are uppercase letters in the arguments, they result is all
lower case. obviously, this is a problem as the urls don''t work anymore.
the other oddity is that when i
2006 Jan 12
3
url_for in tests
Hi there,
I''ve added an extra bunch of testing features for doing in-browser
testing with Selenium, and am having quite a time figuring out how to
use url_for with having a controller object present. I''ve tried using
ActionController::Base.url_for and
ActionView::Helpers::UrlHelper.url_for but haven''t been able to get
something that works.
What I want to be able
2006 Jun 19
0
url_for missing out parameters?
Having a bit of an issue with url_for
The current page I''m on has a named route as follows:
map.some_page ''page/:id/:range'', :action => ''the_action''
All looks fairly normal. I have an url_for on this page to make a link
to another page as so:
url_for(:controller=>''other'', :action=>''display'', :id=>5,
2008 Apr 05
0
url_for + :canvas => false weirdness for non resource controllers
I noticed something strange in my app today. It appears that the
extra canvas path appended in url_for is back but only for
controllers that are not resources. Here is an example I have in my
site:
campaigns is a resource
checkout is not
# With the canvas false flag
(rdb:1) @controller.url_for(:controller => ''campaigns'', :action =>
''show'', :id
2007 Sep 07
3
how to pass an array through url_for.
hi , every one.
i just want to generate url from url_for method
like this:
url_for(:controller=>"users",:action=>"index",:names=>["aotianlong","ayowaya"])
i except it''s generate
users?names[]=aotianlong&names[]=ayowaya
but it''s generated :
users?names=aotianlong%2Fayowaya
any idiea ?
thank you .