Displaying 10 results from an estimated 10 matches for "ajayas".
Did you mean:
ajayar
2012 Mar 22
1
Replace sub string
Given:
> filename<-paste(tempdir(),"\\","myfile.txt",sep="");
> sub("\\\\","/",filename);
[1] "C:/DOCUME~1\\AJAYAS~1\\LOCALS~1\\Temp\\Rtmp2f270T\\myfile.txt"
Note: Only the first occurence of \\ is replaced. What is the syntax for replacing every occurence?
Thanks.
[[alternative HTML version deleted]]
2006 Jul 20
9
Including children''s children?
a has many b''s
b has many c''s
results = A.find params[:id], :include => :b
How do you also make sure the b''s include the c''s?
Thanks for your help.
Thank You,
Ben Johnson
E: bjohnson@contuitive.com
O: 800-341-6826
M: 817-229-4258
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 07
4
Problem with Pagination
Hi Guys,
I am trying to paginate the results from a search. When I use actual
constants in the search conditions, it works fine:
def query
@k2_result_pages, @k2_results = paginate (:k2_results,
:conditions => [''e_date >= ? AND
e_date <= ?'', ''2006-07-12'', ''2006-08-12''],
2006 Jul 01
1
exception_notification only happening one sub domain
folks.
I have dev.domain.org and qa.domain.org. I have two copies of same
rails application on the two diff subdomains.
When an error happens only dev.* exception_notification sends email.
For qa.* I get the RuntimeError. Not the 500.html file.
Donnow what''s happening. I am on Site5, FastCGI, Apache 1.33
Thx
ajay
--
Posted via http://www.ruby-forum.com/.
2006 Jul 06
3
Calling Method
Is there a way to call a method if I only have a string that contains
the method name.
For example:
@methods = [''method1'', ''method2'', ''method3'']
@step = 1
# I want to call method2 which has a definition in this class
--
Posted via http://www.ruby-forum.com/.
2006 Jun 01
3
Webtrends For Rails ???
Is there any tools that is similar to Webtrends that can be used with Rails based Web sites? TIA
http://www.ProblemSolvingSkill.net
Hone your problem-solving skills
2011 May 25
0
issues with rJava; cannot run JRI example
Hello,
I am trying to run JRI example from rJava, but I have some issues. I have read many posts and didn't find any solution to my problem.
I have the following code:
Rengine re = new Rengine(null, false, null);
System.out.println("Rengine created, waiting for R");
if (!re.waitForR()) {
System.out.println("Cannot load R");
return;
2006 Aug 14
3
Ferret 0.9.5
Hi,
I was wondering if the latest version of acts_as_ferret (0.2.2) that is
listed on http://projects.jkraemer.net/acts_as_ferret/ is compatible
with the latest version of Ferret 0.9.5. I noticed that the website
above stated that it was supposed to work with 0.9.4, but I didn''t see
anything about 0.9.5.
Thanks,
Aaron
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
7
Can this be done?
What I want: I get a normal http request containing a URL from a remote
server.
Instead of redirecting to that URL, I want to load it into an iframe on
an existing page.
I''ve tried a number of approaches with no success.
Can anybody suggest a good way to do this? Alternatively, if you can say
"this is bloody impossible, because....", that would be helpful, too.
--Al Evans
2006 May 25
12
RMagick install problems, advice needed
Hi guys, im trying to install rmagick on windows but i have some
problems with the post install, im using win2000, ruby 1.8.4 and rails
1.1, all working well.
Then i downloaded RMagick-1.9.2-IM-6.2.4-6-win32.zip from
http://rubyforge.org/projects/rmagick/ extracted and do the gem install
RMagick-win32-1.9.2-mswin32.gem , the gem was installed sucesfully but
when i do the postinstall.rb i get