[Rails] Could not update the google map lat and lng via javascript in rails

2014-04-22 Thread keerthi priya
Hi all, I am facing issue with the lat and lng of google map. the issue in my list.erb I have _list_map.erb(partial) in my list.erb I am using below code function initialize() { var mapOptions = { zoom: 14, center: new google.maps.LatLng(24.7282, 46.7485) }; var map = new go

[Rails] Facing troubles installing rubymine latest one in vps ubuntu 12.04 64 bit

2014-04-20 Thread keerthi priya
Hi all, I have installed Redmine latest one in my vps. I am facing the below error apt-get install redmine redmine-mysql Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libsvn-ruby ruby-rmagick libopenid-ruby The following NE

Re: [Rails] Delayed JOB ISSUE

2013-11-26 Thread keerthi priya
Hi Honey I have the same issue. Kindly help me when you get any solution for this issue. I am also looking for solution but not succeeded. But you can run that command using cronjobs but it is not proper. Can any one help me out plzzz. On Sat, Nov 23, 2013 at 2:11 AM, Walter Lee Davis wrote: >

Re: [Rails] Re: Use of FCKEDITOR as normal text area

2013-10-30 Thread keerthi priya
I have solved my issue of params I have give model name which it was expecting it. I can get the params but when I mail was sent from fckeditor I am getting the text with html tags in my mail what to do? Kindly help me On Wed, Oct 30, 2013 at 10:51 PM, keerthi priya < emailtokeerth

Re: [Rails] Re: Use of FCKEDITOR as normal text area

2013-10-30 Thread keerthi priya
d_sms but after giving the any model name I can not access my params. On Wed, Oct 30, 2013 at 6:31 PM, Robert Walker wrote: > keerthi priya wrote in post #1126074: > > Hi all > > > > I am trying to use Fckeditor as text area to send mails.here is my code > &

[Rails] Use of FCKEDITOR as normal text area

2013-10-30 Thread keerthi priya
Hi all I am trying to use Fckeditor as text area to send mails.here is my code <% remote_form_for :send_sms, :before => "Element.show('loader')", :success => "Element.hide('loader')" do |sms| %> <%= fckeditor_textarea :send_sms, :message,:lang => I18n.locale,:langdir => (rtl? ?

[Rails] What is this error

2013-08-19 Thread keerthi priya
Hi all, I am getting this bellow error This is my code(method): def self.generate_normal_report(batch_ids) batches = Batch.find(:all,:conditions => {:id => batch_ids},:select => "id") batches.each do |batch| exam_groups_main = batch.exam_groups exam_scores_main = exam_groups_

[Rails] How to save xml values to mysql database

2013-06-25 Thread keerthi priya
Hi All, I have a xml and I have to save those values into my mysql database using ruby1.87. How can I do it. Kindly guide me how can I get values and save them. Thanks in advance Cheers, Kp -- You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] Mysql::Error: MySQL server has gone away

2013-04-03 Thread keerthi priya
Hello everyone, I am trying to create reports and the batch has 750 students. with i trying to create report for that batch i am getting this error in my production . How to solve this thing. kindly help me thanks in advance. ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone

[Rails] How to use same css in pdf for wkhtmltopdf

2013-02-25 Thread keerthi priya
hi I am not getting the css in my pdf i wanna use same css for my pdf also rather going for new css for pdf. how can I use same css which I use in my views. I am using wkhtmltopdf for pdf generation and one more thing is how get page page brake using wkhtmltopdf. Cheers, Kp -- You received

Re: [Rails] Usage of ram for Sunspot Search engine

2013-01-27 Thread keerthi priya
Thanks guys. but NewRelic is not free for production for development it is free. I have increased my ram to 1GB it is working good now. On Fri, Jan 25, 2013 at 9:25 PM, Colin Law wrote: > On 25 January 2013 15:42, Hassan Schroeder > wrote: > > On Fri, Jan 25, 2013 at 2:44 AM, Colin Law > wrote

[Rails] Usage of ram for Sunspot Search engine

2013-01-24 Thread keerthi priya
Hi all, I am using Sunspot Search Engine in my app. When I deployed my app in production It it bit slower side. My Server Details: ram 256 Ubuntu 11.10 How can I check why my app is slow in production can any one help me out to solve this issue. Cheers, Kp -- You received this message bec

Re: [Rails] Tracking User Event

2013-01-23 Thread keerthi priya
Hi guys can any one help me out. Possible chances to work on it. On Tue, Jan 22, 2013 at 12:14 PM, keerthi priya < emailtokeerthipr...@gmail.com> wrote: > Hi all, > > I am trying to track all the events user does after login . like what did > user search or where did he cli

Re: [Rails] Using RVM gemset

2013-01-22 Thread keerthi priya
Yes! you can use different gem set for each project that is what best of RVM. After going to your app folder just type this command " rvm gemset create gemset_name " to use that gemset you need to run this command " rvm use rvm_version@gemset_name " Now you can use your selected rvm version and a

[Rails] Tracking User Event

2013-01-21 Thread keerthi priya
Hi all, I am trying to track all the events user does after login . like what did user search or where did he clicked most all such track. so that I can show user next time what he has searched last time and I can give him best result. So is there any gem or process I can get these things. Ch

[Rails] Order by with first_name and also last_name

2013-01-18 Thread keerthi priya
Hi all, hey I have need some info i have this def fullname "#{first_name} #{last_name}" end and i want alphabetical order with first name i can do it but along with first_name i want last_name in alphabetical order like James emi will come first before James fame can we do in rails Cheer

Re: [Rails] Unable to list the names using Search logic

2012-12-09 Thread keerthi priya
Thanks Colin. I have Fixed it. On Thu, Dec 6, 2012 at 3:26 PM, Colin Law wrote: > On 6 December 2012 06:27, keerthi priya > wrote: > > Hey all, > > I am trying to list students in alphabetical order starting > from a > > to z but using search logic I una

[Rails] Unable to list the names using Search logic

2012-12-05 Thread keerthi priya
Hey all, I am trying to list students in alphabetical order starting from a to z but using search logic I unable to do that. can any one help me out. These lines are in controller @search = Student.search(params[:search]) @students+=@search.all View <

[Rails] Different header for PDF

2012-11-20 Thread keerthi priya
Hi all, i am trying to put a different header to one of my action which will create pdf. i am using wickedPDF this is my code for wicked_pdf.rb WickedPdf.config = { :wkhtmltopdf => '/opt/wkhtmltopdf', :layout => "pdf.html", :margin => {:top=> 40, :bottom =>

Re: [Rails] -bash: ruby: command not found

2012-11-01 Thread keerthi priya
5.5 but perhaps you can figure the rest out by yourself: > > http://www.betaquest.com/2010/09/installing-ruby-and-gems-on-centos-5-5/ > Am 01.11.2012 13:14 schrieb "keerthi priya" >: > > If any has got good link to install Ruby on Rails on CentOS kindly share >> w

Re: [Rails] -bash: ruby: command not found

2012-11-01 Thread keerthi priya
If any has got good link to install Ruby on Rails on CentOS kindly share with me On Thu, Nov 1, 2012 at 5:42 PM, keerthi priya wrote: > Hi all > > i am install Ruby Enterprise Edition on CentOS 5.8 linux server. i > followed this link > http://forums.vexxhost.com/discussion/226

[Rails] -bash: ruby: command not found

2012-11-01 Thread keerthi priya
Hi all i am install Ruby Enterprise Edition on CentOS 5.8 linux server. i followed this link http://forums.vexxhost.com/discussion/226/deploying-ruby-enterprise-edition-on-the-cloud/p1i did not get any problem while installing it. after instillation when i type ruby -v it shows this error " -

Re: [Rails] Photo Paperclip::CommandNotFoundError

2012-10-30 Thread keerthi priya
well i have gave permission to public/system/students all those folder to 777 permissions and i have restart my server and it worked . On Tue, Oct 30, 2012 at 2:04 PM, Colin Law wrote: > On 30 October 2012 06:42, keerthi priya > wrote: > > i have changed the file permissions and i

Re: [Rails] Photo Paperclip::CommandNotFoundError

2012-10-29 Thread keerthi priya
> > user running the prod environment hasn't set his paths correctly. > > You are likely correct. I mis-read the question. > > Colin > > > > > Am 27.10.2012 12:18 schrieb "Colin Law" : > > > >> On 27 October 2012 11:00, keerthi priya &g

[Rails] Photo Paperclip::CommandNotFoundError

2012-10-27 Thread keerthi priya
Hi all, I am using paperclip plugin. when i am trying to upload photo i am getting this error " Photo Paperclip::CommandNotFoundError " and i am getting this error on my server production mode. if i run on development mode on my server i can able to upload the pic. why this is happening

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
`do_start' /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/net/smtp.rb:525:in `start' On Tue, Oct 9, 2012 at 6:57 PM, keerthi priya wrote: > i can able to send mails from by development mode the only issue is from > production mode > > > On Tue, Oct 9, 2012 at 6:52 PM,

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
i can able to send mails from by development mode the only issue is from production mode On Tue, Oct 9, 2012 at 6:52 PM, keerthi priya wrote: > @ > Jordon Bedwel > i am using gmail smtp. > > > On Tue, Oct 9, 2012 at 2:02 PM, Jordon Bedwell wrote: > >> On Tue, Oct

Re: [Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
@ Jordon Bedwel i am using gmail smtp. On Tue, Oct 9, 2012 at 2:02 PM, Jordon Bedwell wrote: > On Tue, Oct 9, 2012 at 3:17 AM, keerthi priya > wrote: > > hi all i am trying to setup mail option in my app. and when i am trying > to > > send mails i got this error

[Rails] Unablt to send mails in my server

2012-10-09 Thread keerthi priya
hi all i am trying to setup mail option in my app. and when i am trying to send mails i got this error in my production log OpenSSL::SSL::SSLError (hostname was not match with the server certificate): /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/1.8/openssl/ssl-internal.rb:123:in `post_connec

Re: [Rails] Page Break issue with Wkhtmltopdf

2012-10-04 Thread keerthi priya
How to specify a fixed no of row in a page. On Thu, Oct 4, 2012 at 5:05 PM, keerthi priya wrote: > > <https://lh5.googleusercontent.com/-Ic75bafROg0/UG10hP-nizI/AAc/NkV_Bom9rYI/s1600/552.png> > Hi all im facing a problem with wkhtmltopdf i am unable to break a page > f

[Rails] Page Break issue with Wkhtmltopdf

2012-10-04 Thread keerthi priya
Hi all im facing a problem with wkhtmltopdf i am unable to break a page for pdf output. can any one help me to do that. Cheers, Kp -- You received this message because you are subscribed to th

[Rails] Devise Gem

2012-09-25 Thread keerthi priya
Hi all i am learning how to implement devise gem but i just want to know do i need to write the login code first and then runt this command " rails generate devise:install " or run the command first and then go for login code. can any one tell me what to do. Cheers Kp -- You receive

Re: [Rails] Rails 3 routes

2012-09-25 Thread keerthi priya
f your controller. > > resources :users, :except => [:index, :update, :destroy] > > By using the above line you will be able to use any action in your > controller execpt index, update and destroy. > > > On Tue, Sep 25, 2012 at 12:27 PM, keerthi priya < > emailtokeer

Re: [Rails] Rails 3 routes

2012-09-25 Thread keerthi priya
any sample code plz On Tue, Sep 25, 2012 at 11:15 AM, KUL KING wrote: > You can use the resources keyword. > > > On Tue, Sep 25, 2012 at 10:35 AM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> Hi all am learning rails 3.2.8 and i found that in ro

[Rails] Rails 3 routes

2012-09-24 Thread keerthi priya
Hi all am learning rails 3.2.8 and i found that in routes if i have a controller called User and i have 5 def a, def b,def c and def d. do i need to mention routes to each def because in 2.3.8 you no need to mention routes for each def but when i come to 3.2.8 i have to mention routes for each

Re: [Rails] Re: Unable to send mail

2012-09-18 Thread keerthi priya
2012 at 8:44 PM, Avi wrote: >>> >>>> If there is an extra space, some symbols(which are spam) or any spam >>>> words, the mail goes to the spam folder. >>>> Try with a sentence(all words). >>>> >>>> On Tuesday, September 18, 2012 8:3

Re: [Rails] Re: Unable to send mail

2012-09-18 Thread keerthi priya
tember 18, 2012 8:37:26 PM UTC+5:30, keerthi priya wrote: >> >> >> >> On Tue, Sep 18, 2012 at 8:30 PM, Avi wrote: >> >>> What is your html content ? >>> >> Welcome >> >>> Try not to use "&, # " in your html. >>

Re: [Rails] Re: Unable to send mail

2012-09-18 Thread keerthi priya
On Tue, Sep 18, 2012 at 8:30 PM, Avi wrote: > What is your html content ? > Welcome > Try not to use "&, # " in your html. > i did not get this line > Hope it works. > > > On Tuesday, September 18, 2012 8:26:19 PM UTC+5:30, keerthi priya wrote: > >

Re: [Rails] Re: Unable to send mail

2012-09-18 Thread keerthi priya
yeah i am getting my mails not to my inbox . what should i do to get my mail to inbox On Tue, Sep 18, 2012 at 8:14 PM, Avi wrote: > Can you check your spam folder in your mailbox ? > > > On Tuesday, September 18, 2012 8:05:32 PM UTC+5:30, keerthi priya wrote: >> >> Hi

[Rails] Unable to send mail

2012-09-18 Thread keerthi priya
Hi all i am trying to send mail but i could not send it and at the end it is redirecting to right page but mail is not receiving. i got this in my log Sent mail to mailid Date: Tue, 18 Sep 2012 19:38:51 +0530 From: To: Subject: fdfdsafsdafdsfsfsdafdsf Mime-Version: 1.0 Content-Type:

Re: [Rails] Re: Different DataBases Used in ROR

2012-09-14 Thread keerthi priya
reddy wrote: >>> >>> Hi Keerthi, >>> >>> We have been developing very large web applications with MongoDB >>> from the past 1 year. It's really cool and very easy to learn. >>> Give it a try you can find it very interesting and easy to us

Re: [Rails] Re: How to connect to a mysql database through a rails application.

2012-09-13 Thread keerthi priya
when you are trying to create a app just add these line -d mysql you will get the yml according to mysql and change the username and password according to your mysql password. On Thu, Sep 13, 2012 at 6:23 PM, abhijit m. wrote: > Hello Ir, please provide chaqnges in .yml file...for Mysql...' > I

Re: [Rails] Re: Different DataBases Used in ROR

2012-09-13 Thread keerthi priya
ns with MongoDB from >> the past 1 year. It's really cool and very easy to learn. >> Give it a try you can find it very interesting and easy to use >> >> Thanks, >> Rajesh. >> >> On Thursday, September 13, 2012 11:38:11 AM UTC+5:30, keerthi priya wrote:

[Rails] Different DataBases Used in ROR

2012-09-12 Thread keerthi priya
Hi all i am trying analyze which DataBase is good for ROR if the application is huge. After goggling i found the following DB used in ROR 1) MONGO DB 2) MYSQL 3) POSTGRESQL 4) SQLITE 5) ORACLE apart from above list any other DB are used for ROR and my Questions is from the above which DB is mor

Re: [Rails] Round off method in 1.8.7

2012-09-12 Thread keerthi priya
I got it what i need thanks all. On Wed, Sep 12, 2012 at 3:16 PM, Jim Ruther Nill wrote: > > > On Wed, Sep 12, 2012 at 7:40 PM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> This is my console code >> >> irb(main):001:0> (2.08*100).round

Re: [Rails] Round off method in 1.8.7

2012-09-12 Thread keerthi priya
p 12, 2012 at 4:25 PM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> Hi all >> i am trying to use round method if have a value 2.08 i want it as 2.1 and >> it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it. >> >> >&

Re: [Rails] Round off method in 1.8.7

2012-09-12 Thread keerthi priya
gards, > Vijay > > On Wed, Sep 12, 2012 at 11:55 AM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> Hi all >> i am trying to use round method if have a value 2.08 i want it as 2.1 and >> it worked in 1.9.2 but not in 1.8.7 is there any other way

[Rails] Round off method in 1.8.7

2012-09-11 Thread keerthi priya
Hi all i am trying to use round method if have a value 2.08 i want it as 2.1 and it worked in 1.9.2 but not in 1.8.7 is there any other way of doing it. USING 1.9.2 1.9.2p320 :001 > 2.08.round(1) => 2.1 1.9.2p320 :002 > 2.04.round(1) => 2.0 USING 1.8.7 irb(main):001:0> 2.08.round => 2

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
i fixed it . thanks for your responses i followed this link https://github.com/mileszs/wicked_pdf/wiki/Getting-Started-Installing-wkhtmltopdfand at 5th step in that link i changed the path and it got fixed. On Tue, Sep 11, 2012 at 7:39 PM, Thota praneeth wrote: > Why don't you use prawn gem for

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
allidi < m.vijaysek...@gmail.com> wrote: > Hi keerthi, > >I think this issue relates to proper installation & configuration of > wicked_pdf. > > Cheers, > Vijay > > On Tue, Sep 11, 2012 at 5:22 PM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote

Re: [Rails] wickedpdf

2012-09-11 Thread keerthi priya
yeah i have installed as a plugin . the code is in vendor folder On Tue, Sep 11, 2012 at 5:24 PM, Jim Ruther Nill wrote: > do you have wkhtmltopdf installed? > > > On Tue, Sep 11, 2012 at 9:52 PM, keerthi priya < > emailtokeerthipr...@gmail.com> wrote: > >> Hi all

[Rails] wickedpdf

2012-09-11 Thread keerthi priya
Hi all i'm trying to generate pdf and i got this error Location of wkhtmltopdf unknown and i also get Bad wkhtmltopdf's path gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize' /EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new' /EDWARD/gpa/vendor/plugins/wicked

Re: [Rails] Migration in Vendor folder

2012-09-11 Thread keerthi priya
how to do it. > > > > > > On Mon, Sep 10, 2012 at 7:31 PM, keerthi priya > > wrote: > >> > >> Hi all > >> > >> > >> There are few migrations in Vendor folder and i want to run those > >> migrations, do i need to copy those to db

[Rails] Migration in Vendor folder

2012-09-10 Thread keerthi priya
Hi all There are few migrations in Vendor folder and i want to run those migrations, do i need to copy those to db folder and run them or there is another way to run the migration present in Vendor folder. Cheers, KP -- You received this message because you are subscribed to the Google

[Rails] Migration in vendor folder

2012-09-10 Thread keerthi priya
Hi all -- 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. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. To view this dis

[Rails] PayPal Integration

2012-09-01 Thread keerthi priya
Hi i was following this link http://www.funonrails.com/search?q=paypal&imageField.x=0&imageField.y=0&max-results=10 for PayPal integration in the process i got this error undefined local variable or method `pay_bill_url' for #<#:0x92794b8> View Name:create <%= form_for @payment ||= Payment.n