[Rails] Data migration from php mysql database to rails pg database

2015-11-17 Thread prashant sirohi
Hi ,i am a newbie in rails and i have recently got a task on my job to migrate the old data from a php website to new rails website.php website data is in mysql and rails data is in postgres,i cannot find a way in which i can transport the whole data from php to rails provided that there are

Re: [Rails] Query MySQL DB

2015-10-14 Thread Prashant Girennavar
ThanksI will workthrough it. On Wednesday, 14 October 2015 16:58:06 UTC+5:30, Colin Law wrote: > > On 14 October 2015 at 11:50, Prashant Girennavar > wrote: > > Hello Colin, > > > > I agree this is my second question , Probably I am too new to google > f

Re: [Rails] Query MySQL DB

2015-10-14 Thread Prashant Girennavar
questions are different. I am not here to ask invalid questions , I am here to learn. Thanks, -Prashant Girennavar. On Wednesday, 14 October 2015 11:59:01 UTC+5:30, Colin Law wrote: > > On 14 October 2015 at 04:21, Prashant Girennavar > wrote: > > I am pretty new to RoR .

[Rails] Query MySQL DB

2015-10-13 Thread Prashant Girennavar
I am pretty new to RoR . I am trying to seach for methods which can query MySQL DB get the table data and display that table on a webpage. What are the methods we have for this in RoR? Pls suggest Thanks, -Prashant Girennavar. -- You received this message because you are

[Rails] Ruby on Rails

2015-10-07 Thread Prashant Girennavar
someone tell me, how to approach the learning of RoR? Thanks, -Prashant Girennavar. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-tal

Re: [Rails] How to communicate a web app with destkop app?

2013-09-29 Thread Prashant
Yes current IE support ActiveX. P On Wednesday, September 25, 2013 9:38:53 PM UTC+5:30, Colin Law wrote: > > On 25 September 2013 16:11, Fernando Almeida > > wrote: > > @Colin, this is possible with ActiveX (Windows + IE only) > > Yes that is true, I had rejected that as a possible solution as

[Rails] Re: Can't connect to default rails page.

2013-09-29 Thread Prashant
Can you try http://localhost:3000 On Wednesday, September 25, 2013 8:47:56 PM UTC+5:30, Ruby-Forum.com User wrote: > > Host: DigitalOcean > OS: Ubuntu 12.04 > Ruby: 2.0.0p247 > Rails: 3.2.0 > * LAMP installed. > * Switched WEBrick out for Thin. > > I'm trying to follow a tutorial online

[Rails] sign up using gmail account into my application

2011-07-21 Thread prashant B
lp of facebooker plugin with restful-authentication.Please help me out with this one. Thanks & Regards, Prashant -- 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@googlegroups.com.

[Rails] Re: Parameters passing of select_tag

2010-04-21 Thread Prashant
Thanks, I had to place everything in form_tag and everything else worked fine. Now I have all values in Parameters list On Apr 22, 10:32 am, soldier <8863...@gmail.com> wrote: > how about the rails api doc ? > > 2010/4/22 Prashant : > > > > > > > I wish to ha

[Rails] Parameters passing of select_tag

2010-04-21 Thread Prashant
I wish to have an option in my application where user can select a value from Combo Box shown in a page and on clicking of button this is passed as parameters to another controller. There will be 4 combo boxes on the selection page. I am using select_tag to populate data from database Something li

[Rails] Array in post data via http

2010-02-17 Thread Prashant
How can I pass my array in post request using ruby ? My array contains 1000 integer values which needs to be passed to a controller function. Need help to do this using http post request. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Re: Calling remote url application from controller

2010-02-04 Thread Prashant Thakur
Sharagoz -- wrote: > I see. Can't you just put :popup => true on the link in the view, and > then use a redirect_to in the controller? Thanks. The solution works as it opens the required page. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

[Rails] Re: Calling remote url application from controller

2010-02-04 Thread Prashant Thakur
Prashant Thakur wrote: > Sharagoz -- wrote: >> Then you can use 'net/http' to send a regular http request, like so: >> >> require 'net/http' >> >> connection = Net::HTTP.new("www.google.com") >> response = "" >&

[Rails] Re: Calling remote url application from controller

2010-02-04 Thread Prashant Thakur
Sharagoz -- wrote: > Then you can use 'net/http' to send a regular http request, like so: > > require 'net/http' > > connection = Net::HTTP.new("www.google.com") > response = "" > connection.start do |http| > req = > Net::HTTP::Get.new("/#hl=en&source=hp&q=ruby+on+rails&fp=c26c79a56c95bda8") >

[Rails] Re: Calling remote url application from controller

2010-02-04 Thread Prashant Thakur
Sharagoz -- wrote: > What exactly does "make a call to a different rails application" mean? For example I wish to call www.google.com with some parameters from my rails application then what should I do. I am firing some soap requests to get those input parameters for google. Hence I need to wri

[Rails] Calling remote url application from controller

2010-02-03 Thread Prashant Thakur
I have two rails application. On clicking a link on Application 1's index.html.rb page I wish to do some processing like retreiving info about the selected record from DB. and then make a call to a different rails application. Do I need to write code in my view using helper functions or I can do th

[Rails] Re: Ruby Array to Java Script Array

2010-01-18 Thread Prashant
"T. N.t." wrote: > Colin Law wrote: > > 2010/1/18 Prashant : > >> Hi, > > >> How can we use an array created in Ruby in Java script ? > > > Convert it to appropriate strings and include it in the script. > > You can retrieve the approp

[Rails] Ruby Array to Java Script Array

2010-01-17 Thread Prashant
Hi, How can we use an array created in Ruby in Java script ? Regards, Prashant -- 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-t...@googlegroups.com. To unsubscribe from this g

[Rails] Re: svg in Rails

2009-12-18 Thread Prashant
No I saved it as html On Dec 18, 2:19 pm, INDRANIL MUKHERJEE wrote: > did u saved the html file as rhtml when using rails > > On Fri, Dec 18, 2009 at 2:46 PM, Prashant wrote: > > > > > I have a HTML file which calls svg file in embed tag. Opening this > > HTML file

[Rails] svg in Rails

2009-12-18 Thread Prashant
I have a HTML file which calls svg file in embed tag. Opening this HTML file w/o rails show proper content, but when we make this as part of Rails App we get an error. Is there any workaround to use svg in rails -- You received this message because you are subscribed to the Google Groups "Ruby o

[Rails] Re: Loading time in rails

2009-11-24 Thread Prashant
something that is taking a long time > to initialize.  How long does an empty rails application take to > start? > > Darian Shimy > --http://www.darianshimy.comhttp://twitter.com/dshimy > > On Tue, Nov 24, 2009 at 3:18 AM, Prashant Thakur > > > > wrote: > > Its ta

[Rails] Loading time in rails

2009-11-24 Thread Prashant Thakur
Its taking about 5 minutes for my rails application to load in development environment. Please suggest what changes can be done to speed up loading time. Versions used Rails 2.3.4 ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] gems 1.3.5 Logs at startup D:\InstantRails-

[Rails] Re: clear form field

2009-06-24 Thread Prashant Katare
Prashant Katare wrote: > Hi all, >I want to clear password field and confirm password field after > both are not match.currently both field cotain data after both are not > match. > Is there any way of doing this?. > > Thanks > Prashant Hi all, I got t

[Rails] clear form field

2009-06-23 Thread Prashant Katare
Hi all, I want to clear password field and confirm password field after both are not match.currently both field cotain data after both are not match. Is there any way of doing this?. Thanks Prashant -- Posted via http://www.ruby-forum.com

[Rails] Word Wrapping

2009-06-09 Thread Prashant Katare
Hi all, Is there any gem or plugin for "word wrapping". The reason is I'm trying to generate a pdf from my application. There are issues when I am trying to display long strings with no spaces. A word wrapper should solve the issue I guess. Any help would be appreciated. Thanks -- P

[Rails] restful_authentication - how does encryption work?

2009-03-26 Thread Prashant Raju
Hi all, I'm trying to understand how the restful_authentication encryption of the password works. I understand that there is three key fields in teh database (schema migration file): - login - encrypted_password - salt I was just wondering how these work together, for example if my password is