similar to: How to use Ajax with rails ?

Displaying 20 results from an estimated 200 matches similar to: "How to use Ajax with rails ?"

2012 Aug 23
5
wat is diff between webrat and capybara?????
now i am using cucumber.........and i get two topic webrat and capybara........wat is the diff between them???????which one is good?????which one i use????? Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Oct 30
1
pass javascript date variable to rails controller as params
I have an application where jquery fullcalendar is implemented. On day click I need to pass the selected date as params to rails controller. When I alert the date inside dayclick function, I am getting the date in the format of "Tue Oct 30 2012 12:40:20 GMT+0530 (IST)".. But when I pass as params in jquery ajax to rails controller, it is passing blank. How do I get it in rails
2012 Nov 02
4
How to test recaptcha in localhost?
Hi all, I follow All the steps for recaptcha , but i am confused how to test on my local host. Because when we register in google recaptcha it ask for domain URL, i stuck here. Q What should i enter in domain url ? Hope that you all understand the problem. Thanks Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Sep 15
1
Could not find gem 'nileshtrivedi-gupshup (>= 0) ruby' in the gems available on this machine.
I wish to use nileshtrivedi-gupshup gem but i am getting this error. Can any one know about this? ERROR Could not find gem ''nileshtrivedi-gupshup (>= 0) ruby'' in the gems available on this machine. Thanks Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2012 Mar 12
4
how to design a api?
hi,everyone. now i start to design a api. the url like this http://localhost:3000/api?seckey=123&&post_id=1 the visitor need a seckey to access auth.and get info via json. so i dont think thats a good api. i need your answers.thx -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Sep 12
2
how to generate third table in test database
hi all, has_and_belongs_to_many :cows has_and_belongs_to_many :milkmans i am using has_and_belongs_to_many in my app.I know this will create third table internally cows_milkmans in mysql database. when i migrate develpoment database i have table cows_milkmans. Good no Problem till now. Now a problem start When i migrate test database there is no such cows_milkmans table is present..
2012 Nov 01
2
how to use localtunnel gem ?
Hi all, I read about localtunnel gem . As per my knowledge , local tunnel generate a URL , which can be used globally . I wish to use localtunnel for my knowledge. But now my question is raised . Q is we have to start rails server port 3000 on another terminal ? or localtunnel server is enough for our development server which we have already started on 3000 port ?. Q Can any one
2012 Oct 31
2
What is Formtastic and SimpleForm gem ? Is any one of this is by default included in Rails ?
Hi all, I read Formtastic and SimpleForm gem. I am using 3.4 Q 1 Is any one of this is by default included in Rails ? Q2 Any advantage of this gems over simple form tags ? As per my knowledge we are using form helper , but still i raised the qustion ? Thanks Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby
2011 Jan 30
2
problem reading file containing bit vector
Hi I have a tab delimited file with fillowing content: "swissProtID" "entrezID" "bitVec" "Q62924" "---" "00000000100010000000000000000000" "P18897" "---" "00000000000001000100000000000000" "Q62736" "---"
2011 Mar 09
2
collapse a data column into a row
I have a file with a data in columnar format like below: probeID rc_AI104113_at rc_AI178259_f_at rc_AI179134_i_at rc_AI179134_f_at rc_AI104113_at rc_AA819429_f_at How can I rewrite it in the format below: 'rc_AI104113_at', 'rc_AI178259_f_at', 'rc_AI179134_i_at', 'rc_AI179134_f_at', 'rc_AI104113_at', 'rc_AA819429_f_at' Is there any function to do
2010 Oct 21
2
How to access values in s4 method
Hi How to access the values in the output that is an object of S4 type. I tried to access using subset ( [ ] ) but it is not allowed. Any clue?? Thanks -- Fahim #My code is as follows: require(IRanges); query <- IRanges(c(1, 4, 9), c(5, 7, 10)) subject <- IRanges(c(2, 2, 10), c(2, 3, 12)) findOverlaps(query, subject) Output of find overlap function is: ------------------ 1>
2010 Jun 16
1
Is there any function to read genbank flat files.
Hi I am trying to read genbank est flat files. Is there any function in R to do that. I was looking for something similar to SeqIO.parse(input_handle, "genbank") in bioPython that convert the genebank sequence into fasta sequence. (One option is to call biopython from R but I am not familiar with python functions so I want to avoid that and I am keeping it as last resort) Thanks and
2010 Jan 08
3
strange behavior of R
Hi I observed an interesting behavior of R. Can you find where is the bug, or it is not a bug but made deliberately. - Hide quoted text - > arr = c(); #defined the empty array > a= c("x1", "x2"); > b = c("y1", "y2"); > arr = rbind(arr,a); #row bind the first character array -a > arr =
2010 Dec 29
5
Beginer: Question about routing on Rails 3
I bought this book about rails for beginers (head first Rails) and its quite simple and good for someone who has no clue about Rails (or any other language) On chapter two it talks about routing but unfortunately the book is for rails 2 and i have rails 3 installed on my mac. The line i have to enter in the config/routes.rb of my application is: map.connect ''/ads/:id'',
2011 Jan 30
2
bit wise operation on long bit vector?
Hi Is there any function to do bitwise or/and/xor on long bit vectors? "aaaaa" "0000000000000000000000000000000000000000000000000000000000000000......................" "bbbbb" "0000000000000000000000000000001000000000000100000000100000001100......................" "ccccc"
2010 Jul 24
2
union data in column
Is there any function/way to merge/unite the following data GENEID col1 col2 col3 col4 G234064 1 0 0 0 G234064 1 0 0 0 G234064 1 0 0 0 G234064 0 1
2012 Aug 31
5
Question1 Cucumber Rails
can we write multiple background in one feature file....? can we write multiple feature in one feature file.....? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2010 May 04
1
installing a package in linux
I recently started using ubuntu 9.10 and I am using gedit editor and R plugin for writing R code. To install any package I need to do: $ install.packages() //window pop-up for mirror selection //then another window pop up for package selection. After this as long as I am not exiting, the function of the newly installed packages are available. After I exit (i use to put 'no' in 'save
2011 Feb 13
1
RCytoscape setPosition error
Hi Can some one please point out where i am wrong. I am trying to position set of nodes column-wise in cytoscape using RCytoscape A----D B----E C----F ------------------- g <- new ('graphNEL', edgemode='undirected') cw <- CytoscapeWindow ('smallExample', graph=RCytoscape::makeSimpleGraph()) layout (cw, 'jgraph-spring') redraw(cw) nodesFr = c('A',
2010 Jul 14
1
calling a c function from R
Hi, I am trying to call a C function, that I wrote to parse a flat file, into R. The argument that will go into this function is an input file that I need to parse and write the desired output in an output file. I used some hit and trial approach but i keep on getting the "file not found" or "segmentation fault" error. I know that the error is in passing the argument but I